4 ms·
If you want even more speed for Lua, Lua's new experimental sister language, Pallene is really exciting. Pallene is Lua with strong types, designed for the pur
by dottrap 5y ago
If you want even more speed for Lua, Lua's new experimental sister language, Pallene is really exciting.
Pallene is Lua with strong types, designed for the purpose of being able to (AOT) generate faster and native code.
It's compiler design also has deep knowledge of the Lua implementation, so it short circuits the formal Lua/C API so crossing the Lua/C language boundary in Pallene is even faster (and Lua's is already good...much less overhead than crossing in Python).
https://news.ycombinator.com/item?id=18038619 https://news.ycombinator.com/item?id=18038619
- wruza 5y agotitan-lang.org Why is it down? I found other links for those interested: https://github.com/titan-lang/titan https://github.com/titan-lang/titan https://github.com/titan-lang/titan/blob/master/doc/manual.md https://github.com/titan-lang/titan/blob/master/doc/manual.m...
- dottrap 5y agoThis is the Pallene repo: https://github.com/pallene-lang/pallene https://github.com/pallene-lang/pallene
- hkt 5y agoI find it fascinating to know the same university department that is affiliated with lua is related to other well designed languages. See also, Terra: https://terralang.org/ https://terralang.org/ Easily interoperable languages present an interesting proposition: a vertically integrated approach to language design where tools are more specialised, but designed from the get-go to work together. Fascinating, and awesome.
- Rochus 5y agoUnfortunately Pallene is not Lua, not even a true subset; it's just another language with some similarities to Lua.
- dottrap 5y agoI think they define Pallene as a true subset to Lua in that the Pallene compiler can emit a pure Lua version (which strips all the types), and will produce the same results when run.
- Rochus 5y agoThat's what one should assume, but apparently this is not the case. Here is some more information: https://github.com/pallene-lang/pallene/issues/331 https://github.com/pallene-lang/pallene/issues/331.
- dottrap 5y agoIt's also not just another Lua-like language, in that it is designed to deeply share the Lua VM, and that Lua and Pallene code can call each other easily and fast. The description "Sister language" is trying to impart that there is more going on with Pallene than just creating another new language that kind of resembles Lua.