[dead]
Re:Ask HN: What are some books where the reader learns by bu...
by reificator on Tuesday February 11, 2020 @04:08PM
(#22302872)
Surely 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...
Re:Ask HN: What are some books where the reader learns by bu...
by martonlanga on Tuesday February 11, 2020 @04:01PM
(#22302798)
haha, why?