Re:Garbage collected smart pointers in Rust via concurrent c...
by zozbot234 on Friday December 13, 2024 @05:56PM
(#42413084)
> "supposedly" Rust's architecture support for all but the most popular archs is horrendous.
Unpopular architectures are a bit of a pain. But what if you compiled from Rust to WASM and then transpiled the WASM object code to C? Is this a viable approach?
Re:Garbage collected smart pointers in Rust via concurrent c...
by cogman10 on Friday December 13, 2024 @05:40PM
(#42412977)
Well, to be frank, the unpopular archs aren't really well supported by other languages.
You may be thinking "What about C?" and the answer is that for those unpopular archs you are almost certainly looking at a hand patched version of GCC (3.2... probably) created by the vendor to support C.
You generally won't see good support for unpopular archs mainlined in compilers.
Re:Garbage collected smart pointers in Rust via concurrent c...
by umanwizard on Friday December 13, 2024 @10:28PM
(#42414459)
The structure of Rust makes it possible to port it to those architectures, and if Rust continues its present momentum, someday in the future you’ll be just as likely to see some random embedded system support Rust as it is to support C now. We just haven’t had the time for it to catch on enough to get there, but there’s nothing fundamental about the language to prevent it.
"supposedly" Rust's architecture support for all but the most popular archs is horrendous.