News for hackers. Stuff that matters.
Re:Compiling a Lisp to x86-64: Let expressions by tekknolagi on Thursday October 01, 2020 @12:40PM (#24653079)
Thanks for posting! I'm the author and can answer any questions and receive any constructive criticism.
Re:Compiling a Lisp to x86-64: Let expressions by anaphor on Thursday October 01, 2020 @01:21PM (#24653626)
I don't have any questions, but I just started reading it a few days ago, and I'm re-implementing it in Nim (which is an interesting experience). One issue I ran into right away was that my code from step 1 was segfaulting, and the issue was that I accidentally called `mprotect` before copying the memory into the buffer. Easy mistake to make, so you might want to add a warning for people who aren't just copy-pasting the code.
Re:Compiling a Lisp to x86-64: Let expressions by tekknolagi on Thursday October 01, 2020 @02:02PM (#24654155)
Excellent! I'm so happy you're following along in another language. If you're developing in the open, can I link to it somewhere on the series?

It's a good point and I'll try and remember to add a notice about order being important later.

Re:Compiling a Lisp to x86-64: Let expressions by anaphor on Thursday October 01, 2020 @02:24PM (#24654405)
Once I'm ready I'm planning on throwing it up on github for sure. I'll make a note to send you an email with it :)
Re:Compiling a Lisp to x86-64: Let expressions by tekknolagi on Thursday October 01, 2020 @02:42PM (#24654626)
Awesome. Looking forward to it.