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

You need about 100 lines of assembly to get to a Rust kmain in long mode.

Rust has effectively no runtime these days. Same amount as C or C++, basically.



That's great to hear. Thanks for chiming in with the good info as always.


Any time. If you're interested in what exactly that code is, check out Phil's blog, linked upthread.


I'm guessing you mean this:

http://os.phil-opp.com/entering-longmode.html

Interesting stuff and seems like a good description of the code. Bookmarking it in case I do more in this area.




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

Search: