MoonBit emphasizes the size of the executable that is ultimately delivered as WebAssembly. It offers a lightweight and statically typed mixture of object and functional approaches, then relies on a smart compiler to optimize the entire program at once, squeezing out every opportunity for speed. Some describe it as “data-oriented,” which in this case means that it’s aimed at processing endless streams of bytes.
Wing focuses on helping the cloud programmer by offering many abstractions that handle the chores and scut work that cloud computing entails. Ideally, developers don’t need to worry about things like defining the network, identity management, and regulating access. The code ends up being compiled down to JavaScript, which is then run with JIT compilers.
Memory ownership: Rust, Zig, Jakt, Odin, and Mojo
Juggling variables and data structures is one of the perennial challenges for programmers who’ve relied on techniques like reference counting or garbage collection. Lately, languages like Rust are gaining attention with a memory model that gives each value one and only one official owner. Others can access a value by “borrowing” it, but the control remains with the official owner. When the owner dies, the memory is recovered.