7 ms·
Lean C when you need to grok how memory works in computing. Learn Scheme to grok the science of computing. Learn BSD when you want to understand operating syste
by UNIXgod 13y ago
Lean C when you need to grok how memory works in computing. Learn Scheme to grok the science of computing. Learn BSD when you want to understand operating systems and the network stack. Grok engineering when you write a scheme->c translator running on BSD.
- banachtarski 13y agoThis feels highly prescriptive.
- anaphor 13y agoIt's mostly true though, especially about BSD. The BSD TCP/IP stack code is used for teaching about network stack implementations, and Scheme is extremely useful for exploring theoretical ideas.
- hobbyist 13y agoCould you elaborate more or give some references on the second and third part? I am done with the first. I seriously need some profound knowledge on second and third, which a lot of people like you talk about. I need to put a plan to get there too. Scheme to C looks fun though :-) . Where should I start first with?
- gamegoblin 13y agoIf you want to implement Scheme in C, I'd take a look at Scheme From Scratch (http://michaux.ca/articles/scheme-from-scratch-bootstrap-v0_1-integers http://michaux.ca/articles/scheme-from-scratch-bootstrap-v0_...) It's pretty excellent for learning how to implement a simple language in C.
- pjmlp 13y agoDo yourself a service and write the Scheme compiler in Scheme itself, doing direct assembly code generation. http://scheme2006.cs.uchicago.edu/11-ghuloum.pdf http://scheme2006.cs.uchicago.edu/11-ghuloum.pdf Also a nice way to learn about bootstraping compilers. Generating code code for another OS without Scheme support is just a matter of having your compiler cross-compile to the other OS. Then use the fresh backed compiler to re-compile your compiler in the new OS.