r/lua • u/ElhamAryanpur • Jun 17 '26
News Astra v0.50.0 is live!
Astra is a single binary, asynchronous and parallel, and fault-tolerant Lua runtime environment (Lua 5.1 - 5.5, LuaJIT (5.1 and 5.2 compat), Luau (+JIT)) with batteries included written in Rust. The aim is to be a high performant, stable, and easy-to-use runtime for Lua, and with the v0.50.0 we celebrate the 101st release (missed the chance to make it 100th sadly for a very important bug fix).
Since the last time I have posted, a lot has happened. We had a dozen new contributors from all around the world, some scientific and robotic labs using Astra to iterate fast without sacrificing speed, students in various universities using it to build their graduation projects, and Astra power nearly all of our company and client server software.
Some notable changes:
- Moving from GitHub to our own hosted Forgejo instance. GitHub is now exclusively a mirror, with plans soon to sync issues and releases.
- Added hashing, Jinja2 templating, async filesystem IO, rich serialization and deserialization (YAML, JSON, JSON5, TOML, INI, CSV, XML), Database extensions, test framework (and around 350 tests for Astra itself), runtime type validation and checks (with interop for LuaLS and Luau types), better observers, and pubsub stores.
- Road to v1.0 release and stablization of the API
- Plans for library releases, so that you can use Astra in your own projects and games
- Plans for feature matrix releases, so that you use only the subset of stdlib you need and significantly lowering the size of releases. Also opens the door for binary packages where you can turn your Astra code into small but capable binary, and able to target multiple platforms without the need for compilation stage.
- A small experimental Python3 transpiler running on Astra LuaJIT capable of running full python syntax and some subset of stdlib about 2-3x faster than CPython, and equivalent performance to pypy3. Theres no future goal for this beyond an experiment to see if its possible.
Links:
- Website https://astra.arkforge.net
- Repository or on GitHub
- Chat with us on Matrix
- Business inquiries, send us an email at contact@arkforge.net
If you are a VC reading this, I have to emphasize that Astra is NOT an investment opportunity. We have turned down many VCs so far, and the answer will not change. Our income is through consultancy and agency work, and if there ever comes a day where we offer a service alongside Astra, it will be 100% bootstrapped.
4
u/ZulfiqarShadow Jun 17 '26
Yall are amazing keep going! also why did you name it after an opel?
2
u/ChrisGVE Jun 17 '26
That seems a quite interesting project, a couple of questions: what licensing scheme are you using? And, assuming that one of the use cases is embedding, is it possible to ship with a given version of lua, and exclude luajit? Luajit might be important since it can’t be included for iOS apps.
Oh, and I assume that this is a parity rust rewrite of the original C Lua interpreter, plus a spiced stdlib?
For disclosure I’ve written a Swift library (LuaSwift) which integrates the official C interpreter, also spices the math library and provides interop with Swift. I don’t run crazy scripts within Swift apps, but in theory one could, and if your project provides perf gains, that could be an alternative engine for when you stabilize.
2
u/Bedu009 Jun 19 '26
This is interesting and I am looking for a replacement to luvit and plain luarocks, but this doesn't fit my needs unfortunately
Its standard library is okay but not too great and extending with native code (e.g. C requires) requires an entirely custom extension making most of the Lua ecosystem unusable
1
u/rishav_sharan Jun 18 '26
Why Astra over lute or lune? There seems to be 3 competing luau runtimes now. What's Astras usp?