3 ms·
Maybe Lobster could be an option. https://strlen.com/lobster/ https://strlen.com/lobster/ https://aardappel.github.io/lobster/memory_management.html https://a
by jug 3y ago
Maybe Lobster could be an option.
https://strlen.com/lobster/ https://strlen.com/lobster/
https://aardappel.github.io/lobster/memory_management.html https://aardappel.github.io/lobster/memory_management.html
It uses compile-time reference counting / lifetime analysis / borrow checking. Which is mostly inlined to the point that there is none of the sort in the compiled output and objects can even live on the stack. It basically looks like Python but is nothing like it underneath, and of course with no GIL. You can run it on JIT or compile it to C++.
There's also Koka with the Perceus algorithm on compile time and looks like a much cleaner language than Rust. It also tracks side effects of every function in a type where pure and effectful computations are distinguished.
https://github.com/koka-lang/koka https://github.com/koka-lang/koka