Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Alternatives to sed + awk
- Date: Wed, 9 Mar 2011 13:09:07 +0100
- From: Josh Glover <jmglov@example.com>
- Subject: Re: [tlug] Alternatives to sed + awk
- References: <AANLkTim_-D9CFYC8TNp33ni85zB+QBA7jV=BpLN=4SbZ@example.com> <AANLkTimhSGxdPk45AMZHqX8eo2PS75K-qkuV+xMS7bdH@example.com> <AANLkTimSRkAiworM=O5VRfTVw-jBA4z=iD89OXY9sWxB@example.com> <4D765593.4090409@example.com> <4D76ECFF.30903@example.com> <AANLkTim=he_XLrHsFU2RMEUtq1f30AROO1mYQ7nLJvL3@example.com> <DED1953A-4193-4A6B-9ED4-BF0F676BA509@example.com> <AANLkTikTORsQbrnd0wAu_QwntBmjijBT83s24=5t_h2Z@example.com> <2E17A6AD-8F2B-4AEA-9555-4FB82ADA3B29@example.com> <AANLkTinr1G_7eoacC6CFQqg=eRBuBcBSWXRPy5zcydhz@example.com> <4D774AA8.5070200@example.com> <AANLkTikvJp8vzjV8QNVSU9nXTmLSJpQTELv7TgcOnV+C@example.com> <4D77657F.2060909@example.com>
On 9 March 2011 12:33, Lewske Wada <ryu@example.com> wrote: > Because high-level languages do not necessarily generate the > optimized code as well as humans do. I think this is a fallacy. I challenge you to profile your code and show that you can regularly beat gcc with the optimiser turned up. In my experience (which does not include any embedded development, so I may be completely wrong here--Jim P?), rolling your own ASM is only a good idea after you've written it in C, profiled it, found a chunk that needs to be more efficient, researched alternate algorithms for that place, and still need more efficiency. Premature optimisation is the root of all $BAD_STUFF. > Another reason is you have to write your own initial boot-up code > anyway no matter what BIOS or higher level compiler you use afterwords. Sure, but that is a dollop of ASM: http://lxr.linux.no/linux+v2.6.37.3/+search=.S -- Cheers, Josh
- Follow-Ups:
- Re: [tlug] Alternatives to sed + awk
- From: Lewske Wada
- Re: [tlug] Alternatives to sed + awk
- From: Nicolas Limare
- Re: [tlug] Alternatives to sed + awk
- From: Attila Kinali
- References:
- [tlug] Alternatives to sed + awk
- From: Nguyen Vu Hung
- Re: [tlug] Alternatives to sed + awk
- From: Josh Glover
- Re: [tlug] Alternatives to sed + awk
- From: Nguyen Vu Hung
- Re: [tlug] Alternatives to sed + awk
- From: Raymond Wan
- Re: [tlug] Alternatives to sed + awk
- From: Lewske Wada
- Re: [tlug] Alternatives to sed + awk
- From: Josh Glover
- Re: [tlug] Alternatives to sed + awk
- From: Lewske Wada
- Re: [tlug] Alternatives to sed + awk
- From: Josh Glover
- Re: [tlug] Alternatives to sed + awk
- From: Lewske Wada
- Re: [tlug] Alternatives to sed + awk
- From: Josh Glover
- Re: [tlug] Alternatives to sed + awk
- From: Lewske Wada
- Re: [tlug] Alternatives to sed + awk
- From: Josh Glover
- Re: [tlug] Alternatives to sed + awk
- From: Lewske Wada
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] How to check when a MySQL table was last SELECTED
- Next by Date: Re: [tlug] How to check when a MySQL table was last SELECTED
- Previous by thread: Re: [tlug] Alternatives to sed + awk
- Next by thread: Re: [tlug] Alternatives to sed + awk
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links