Re:AVR-GCC Compiler Makes Questionable Code
by pornel on Saturday December 17, 2022 @04:10PM
(#34032271)
You're thinking Haskell. Rust has mutability all over the place, but it has safeguards against accidentally sharing across threads without synchronization or iterator invalidation.
[ Parent
| on HN ]
Re:AVR-GCC Compiler Makes Questionable Code
by nequo on Saturday December 17, 2022 @05:52PM
(#34033104)
Haskell also doesn’t need infinite memory (like parent claimed about Rust). It has immutability but it also has a garbage collector. It tends to use less memory than Java for example (to the extent that the benchmarks game is a useful benchmark):
https://benchmarksgame-team.pages.debian.net/benchmarksgame/...