Dyon – A Rusty dynamically typed scripting language
github.com
github.com
If Rust interfaced well with a convenient scripting language that runs fast and safely, the language would morph into a platform where you could quickly prototype in the high level language and then convert well-defined structures to hardened Rust.
It'd be fantastic for games (no wonder the Piston folks are exploring this), web backends, and native apps.
If this reaches the ease of use of Python, I'll never look back.
It's also quite slow to parse, making for a not great developer experience. One of Deno's priorities was in fact to rewrite the TS parser to speed it up.
Dyon looks nice and it's definitely a more rusty alternative.
You need to keep track where your variables point to and how long they do it, but what they point at isn't that important, at least in scripting.
Dyon seems to be a scripting language with many features for games, so it probably seems a bit overloaded for people who use stuff like Lua.
Link looks like an optimized array which only allows three types so it can more efficiently pack the type (and presence) information for a block of items into a a couple of words. Plus it doesn’t hold references so managing its lifetime is simple, and you get cheap concatenation by chaining blocks.
I’d guess it’s good for lookup tables or large indexes.