News for hackers. Stuff that matters.
Re:Writing an OS in Rust by xiaodai on Saturday September 14, 2024 @07:49PM (#41543992)
Makes sense but what if there are bugs in llvm? U r still exposed. So need a rust version of llvm and then rust can be self hosted
Re:Writing an OS in Rust by polyaniline on Saturday September 14, 2024 @09:21PM (#41544428)
I don't think that's something to be pedantic about. Even so, cranelift exists.
Re:Writing an OS in Rust by recursivecaveat on Saturday September 14, 2024 @09:37PM (#41544513)
It doesn't really matter whether the compiler is memory safe. What you run is the result of the compiler. A perfectly memory safe compiler can have a correctness bug that generates unsafe assembly from a safe rust program.