[sdiy] how to learn C?

Scott Gravenhorst music.maker at gte.net
Sat Jan 8 19:01:26 CET 2011


"Paul Burns" <paul at fitvideo.co.uk> wrote:
>Give me Fortran or give me death :)
>
>That was 30 years ago ...about the time I played keys for Rick Wakeman..
>Gawd ...

My nephew is attending UCI for an engineering degree.  His first programming class was
FORTRAN.  So it's not dead quite yet.  Of course, I do know that there are bear-trap
courses in university that are designed to thin out the classes...

My own experience was to learn various microprocessor assembly languages (and machine
language too) first.  Later, I learned C - someone else mentioned getting to know the
hardware you're using intimately - I agree with that and that's what I did by learning
assembly and machine language.  And once I had done that, there was no longer "magic" in
the machines, rather, they were concepts that I understood and moving to C was a more
natural thing.  Also, having already learned assembly, I was able to use C compilers that
allow in-line assembly.  I do realize that compilers can and do have various levels of
optimization, but I will admit to not having a lot of trust that they will always do
things the absolute best/fastest/fewest instructions way.  For that, I go back to using
assembly language so that at least I can satisfy myself.  At this point, I am so
comfortable with assembly language that it is my language of choice for embedded work.

Of course, your milage may vary.

-- ScottG
________________________________________________________________________
-- Scott Gravenhorst
-- FPGA MIDI Synthesizer Information: home1.gte.net/res0658s/FPGA_synth/
-- FatMan: home1.gte.net/res0658s/fatman/
-- NonFatMan: home1.gte.net/res0658s/electronics/
-- When the going gets tough, the tough use the command line.




More information about the Synth-diy mailing list