Re:Writing an OS in Rust: Catching CPU Exceptions
by bogomipz on Sunday May 29, 2016 @01:01AM
(#11794880)
Not sure what you mean, doesn't Rust have a runtime now?
[ Parent
| on HN ]
Re:Writing an OS in Rust: Catching CPU Exceptions
by Manishearth on Sunday May 29, 2016 @06:34AM
(#11795852)
Everything has a runtime, except perhaps hand-rolled assembly. Rust today has a C-like runtime, which is bare minimum and makes it possible to FFI easily. For the most part you can pretend it doesn't exist; it doesn't affect programs.
In the past, Rust did have a bulkier runtime with a green thread scheduler and libuv; a runtime that "mattered".
Re:Writing an OS in Rust: Catching CPU Exceptions
by nemaar on Sunday May 29, 2016 @03:15AM
(#11795292)
It has a runtime comparable to C. Back in those days, it had a much larger one.
Re:Writing an OS in Rust: Catching CPU Exceptions
by bogomipz on Sunday May 29, 2016 @10:28AM
(#11796469)
Ok, that's what I thought : )
It interesting that they stripped down the runtime from previous(larger) iterations. Are those discussion discussed anywhere that you know about? It seems like that would be an interesting read.
Re:Writing an OS in Rust: Catching CPU Exceptions
by Manishearth on Monday May 30, 2016 @01:53AM
(#11799792)
https://github.com/rust-lang/rfcs/blob/master/text/0230-remo... and the PR/issue linked there.
There are also old mailing list discussions on rust-dev somewhere which discuss this IIRC.