Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: