News for hackers. Stuff that matters.
Re:Writing an OS in Rust: Introduction to Paging by SlowRobotAhead on Monday January 14, 2019 @10:47AM (#18903823)
Get used to the idea that embedded is 15 years behind PC. Which is initially frustrating but if you step back is kind of a good thing.

I’d also like to see Rust make it’s way into embedded. C support for things like data serialization or RPC for interfacing to web stuff is limited, people just don’t port it to C. And C++ doesn’t thrill me in terms of its non-deterministic garbage handling and difficult to debug nature. Rust though, seems modern and still safe, but I looked over the crates for embedded it’s prstty slim pickings!

When I see mfgs pushing out their own Rust libs, or a professional IDE with support I can buy that uses the Rust compiler, I’ll give it a try. Until then, it’s clearly hobbiest-only.

Re:Writing an OS in Rust: Introduction to Paging by sidcom on Monday January 14, 2019 @12:35PM (#18904668)
Non deterministic garbage handling doesn't sound right in combination with C++. You have to do it your self. And you can make it deterministic.
Re:Writing an OS in Rust: Introduction to Paging by mlindner on Monday January 14, 2019 @04:18PM (#18906590)
C++ has deterministic garbage collection.
Re:Writing an OS in Rust: Introduction to Paging by intea on Tuesday January 15, 2019 @06:17AM (#18910342)
C++ does not have garbage collection of any sorts. Objects leave the scope and are destroyed, however the order in which they are destroyed is not defined by the standard.
Re:Writing an OS in Rust: Introduction to Paging by pjmlp on Tuesday January 15, 2019 @05:07PM (#18915958)
C++ has a garbage collection interface API since ISO C++11, it is up to the respective implementation to provide an optional implementation.