5 ms·
How many lines of Lisp is C?
by jayd16 4y ago
How many lines of Lisp is C?
- xedrac 4y agoA lot more than the number of lines of Lisp in Lisp.
- bdamm 4y agoAre you proposing writing a replacement for gcc in lisp? If the goal is to have executable machine code then the turtles must end somewhere.
- aeonik 4y agoHow about a Lisp that can parse the hardware specification of a chip and produce its own compiler?
- agumonkey 4y agoThis was a long dream of mine.
- bitwize 4y agoAlready been done, meet GNU Mes: https://www.gnu.org/software/mes/ https://www.gnu.org/software/mes/ It's a C compiler in Scheme, and a Scheme interpreter in C, each of which can bootstrap the other. The GNU project is using it to reduce the size of already-existing binary code you need to have (and trust) to bootstrap a GNU system from source.
- Shared404 4y agoOoh, an excuse to link one of my favorite short stories! https://aphyr.com/posts/353-rewriting-the-technical-interview https://aphyr.com/posts/353-rewriting-the-technical-intervie...
- jkingsman 4y agoI reread these often, and they delight me. The full series: Reversing the technical interview: https://aphyr.com/posts/340-reversing-the-technical-interview https://aphyr.com/posts/340-reversing-the-technical-intervie... Hexing the technical interview: https://aphyr.com/posts/341-hexing-the-technical-interview https://aphyr.com/posts/341-hexing-the-technical-interview Typing the technical interview: https://aphyr.com/posts/342-typing-the-technical-interview https://aphyr.com/posts/342-typing-the-technical-interview Rewriting the Technical Interview: https://aphyr.com/posts/353-rewriting-the-technical-interview https://aphyr.com/posts/353-rewriting-the-technical-intervie... Unifying the Technical Interview: https://aphyr.com/posts/354-unifying-the-technical-interview https://aphyr.com/posts/354-unifying-the-technical-interview
- chris_wot 4y agoI wish I understood any of what they did in lisp. How does one learn?
- Shared404 4y agoI wish I knew :) I picked up "Common Lisp: a Gentle Introduction to Symbolic Computation" after seeing it highly recommended here, but I haven't actually worked through it yet.