News for hackers. Stuff that matters.
Re:Kerla: Monolithic kernel in Rust, aiming for Linux ABI co... by jedimastert on Monday October 25, 2021 @01:01PM (#28990218)
I've actually been considering adding a toy compiler to my collection of getting-up-to-speed projects, do you mind sharing what you think are good features?
Re:Kerla: Monolithic kernel in Rust, aiming for Linux ABI co... by pjmlp on Monday October 25, 2021 @01:43PM (#28990796)
Try to follow along the Tiger Book, in the variant that appeals to you.

https://www.cs.princeton.edu/~appel/modern/

It covers most areas quite alright even if a bit aged.

Re:Kerla: Monolithic kernel in Rust, aiming for Linux ABI co... by spoiler on Monday October 25, 2021 @06:03PM (#28993698)
Not OP, but there's also "crafting interpreters". In the second half of the book you emit bytecode for whatever language you designed in the first half, and also implement a VM for said bytecode.