News for hackers. Stuff that matters.
Re:Sayonara, C++, and Hello to Rust by xondono on Tuesday December 07, 2021 @05:56AM (#29471142)
I think a lot of people don’t realize that for people at the bottom of the stack Rust is almost a revolution.

We’ve had basically no alternative other than C, with a lot of failed attempts at half supported C++. A lot of us suffered the horrible experience of working with severely lacking C++ compilers in the embedded space. Unless you were working with ARM or on top of linux, C++ was a bad idea.

Re:Sayonara, C++, and Hello to Rust by gmueckl on Tuesday December 07, 2021 @08:59AM (#29472493)
C++ on bare metal microcontrollers works quite well. I've done that. You have pretty much the same restrictions as C or rust in that space, even though they look a bit different due how C++ works. But then again, you also need learn which parts of C or rust you can use in that environment.
Re:Sayonara, C++, and Hello to Rust by xondono on Tuesday December 07, 2021 @11:18AM (#29474263)
Let me guess, you’ve done it with ARM microcontrollers.

Pretty much until ARM, support was terrible.

Re:Sayonara, C++, and Hello to Rust by gmueckl on Thursday December 16, 2021 @06:39AM (#29577227)
The codebase was originally written for V850 and quite mature by the time I joined. It was ported to ARM.