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: Thu, 10 Mar 2011 08:38:15 +0100
- From: Attila Kinali <attila@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> <AANLkTi=AvD9FneSDjoYk7=++oeW31LwPRjihYRg8spjE@example.com>
- Organization: GEHIRN
On Wed, 9 Mar 2011 13:09:07 +0100 Josh Glover <jmglov@example.com> wrote: > 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. Have you ever written code for a uC? if you go below 32bit, compilers become increadibly stupid. They only work well when they have enough registers and lots of memory. Another thing is if you are doing high performance stuff where you use each and every feature of your CPU. Have a look at libraries like lavcodec which contain an increadible amount of hand written assembler code. > 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. That depends. People tend to shy away from assembler. And it's understandable. It's hard to write, hard to debug and hard to read. If you can get around it you will not touch it. But especially if you go to smaller machines, there is no alternative to start directly in assembler. The mentioned PIC16F84 is one of those uCs i wouldnt bother using a compiler with. Attila Kinali -- The trouble with you, Shev, is you don't say anything until you've saved up a whole truckload of damned heavy brick arguments and then you dump them all out and never look at the bleeding body mangled beneath the heap -- Tirin, The Dispossessed, U. Le Guin
- Follow-Ups:
- Re: [tlug] Alternatives to sed + awk
- From: Josh Glover
- 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
- Re: [tlug] Alternatives to sed + awk
- From: Josh Glover
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Alternatives to sed + awk
- Next by Date: Re: [tlug] Assembly Language v C and Embedded Development: !gcc for PIC16F84
- 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