You're looking at Less Wrong's discussion board. This includes all posts, including those that haven't been promoted to the front page yet. For more information, see About Less Wrong.

dbaupp comments on What is the best programming language? - Less Wrong Discussion

4 Post author: lsparrish 26 May 2012 12:58AM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (98)

You are viewing a single comment's thread. Show more comments above.

Comment author: dbaupp 26 May 2012 08:12:15AM *  0 points [-]

Learn an assembly language. Your platform of choice.

One way to do this is by writing small C programs and looking at the assembler a compiler generates e.g. by calling gcc with -S. (You can also use this to get some understanding of the optimisations a compiler performs by comparing the difference between the assembler with optimisations and the assembler with full optimisations.)

As you do this, you should also start replacing bits of the C code with inline assembler that you have written yourself, since writing code is better than just reading code.

(Also, the DPCU16 from the yet-to-be-released game 0x10^c might be a reasonable way to learn the basics of assembly languages: there are even numerous online emulators, e.g. 0x10co.de)