chromebin wrote:I bet RAM usage would be significantly reduced when using the Rust programming language, combined with a run-to-completion scheduler. Such schedulers lead to significantly better code (no races guaranteed), less overhead and a single stack model (which much reduces RAM usage). Rust also brings better language abstractions and better tooling, and easily integrates with legacy C code.
My thoughts as well. With better building blocks, the amount of RAM would suffice for many things - too much is currently wasted on multiple stacks and duplicated buffers. The assembly code that an RTFM app compiles down to is extremely efficient, fast and safe.