3 ms·
A series of blog posts to write an OS from scratch in Rust: https://os.phil-opp.com/ https://os.phil-opp.com/
by codearm 7y ago
A series of blog posts to write an OS from scratch in Rust: https://os.phil-opp.com/ https://os.phil-opp.com/
- haileris 7y agoThinking "This is going to be awesome" until "Rust".
- martonlanga 7y agohaha, why?
- reificator 7y agoSurely if you're interested in another language suitable for writing an OS, translating from rust shouldn't be very difficult. The other way around might be, as rust semi-intentionally makes it difficult to do things like linked lists or big mutable graphs that other languages encourage. But rust->c should be fairly easy if you know c and the book teaches enough rust. Sum types get replaced with null and unions, traits get replaced with functions that take that type, etc...