|
Writing compilers is fun I wrote a compiler and it taught me stuff
|
# ¿ Jun 28, 2017 13:02 |
|
|
# ¿ May 3, 2024 13:44 |
|
rjmccall posted:it's fun to imagine starting from scratch: writing a primitive assembler in machine code, then a primitive compiler in assembly, then slowly bootstrapping that into a complete system What if the firmware is OpenFirmware and you already have a nice Forth to play with?
|
# ¿ Jun 29, 2017 13:36 |
|
Silver Alicorn posted:again, totally not the use case for C (operating systems, low level programs and embedded code too big for assembly) It's nothing to do with that, it's because single pass compilers were important in like 1970 because their computers were slow and had the memory of a modern microwave. Theres no real excuse for it in 2017 and it would have no effect on what actual code is generated.
|
# ¿ Aug 4, 2017 17:01 |
|
suffix posted:static Auto getting up there
|
# ¿ Aug 15, 2017 23:22 |