This looks interesting, I've been wanting a TypeScript-like language which compiles to native without all the baggage of JavaScript. Does it also support generating native binaries, or only WASM?
edit: I looked at the features on the website, I don't see anything about multi-threading, is it supported? And how about interoperability with native libraries like SQLite/QT/etc?
It only supports Wasm for now. There are Wasm-to-native compilers, like Wastrel [1], which is my preferred approach to supporting native, but I haven't tried it yet. I don't think it would be too difficult these days to plug into LLVM either, but that greatly complicates the toolchain. Right now the compiler and every related tool runs as Wasm.
WebAssembly is pretty core to my main goals with Zena though: being able to run plugins, generated code, on-demand loaded apps, and other untrusted code is the whole reason why I use Wasm, and wanting a great language for Wasm is the whole reason I'm making Zena. Compiling to native would leave a lot of that out.
There's no multi-threading or any parallelism yet. Wasm GC doesn't support threads yet, and that's a while out if it ever lands, so we'll need some kind of worker/actor system. I don't just want to copy JS workers though, since those are so difficult to use. I'm much more interested in the type system encoding whether data is parallel-safe so I've been working on ownership/borrowing, value types, and immutable types to hopefully come together to form a one-writer / multi-reader, or shared immutable data, worker API, enforced by the type and borrow checker.
[1]: https://www.wingolog.org/archives/2025/10/30/wastrel-a-profl...