TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ravi: A dialect of Lua with optional static typing and JIT

87 pointsby RossBencinaover 4 years ago

6 comments

as-jover 4 years ago
Ravi catches my interest, then frustrates me. The Lua 5.4* compatibility statement. “Well we’re 5.3, we forked 5.3 I don’t agree with a minor 5.4 detail so we’re stuck on 5.3” It’s similar to LuaJIT stuck on 5.1.<p>I don’t think it does the Lua world any favors to be stuck on so many versions. It causes extra work for library developers, makes for poor code samples, and confusion for new adopters. It’s not like Lua is moving quickly with versions either. Every ~5 years for a minor version?<p>*) yes I know 5.4 is brand new.
评论 #24458755 未加载
cassepipeover 4 years ago
&quot;My motivation is somewhat different - I want to enhance the VM to support more efficient operations when types are known. Type information can be exploited by JIT compilation technology to improve performance. At the same time, I want to keep the language safe and therefore usable by non-expert programmers.&quot;<p>Seems very promising. I will try it.
artemonsterover 4 years ago
Astrologers proclaim the week of Lua. Amount of Lua-related posts doubles!
azhenleyover 4 years ago
Anyone know how it compares to Luau, which is also on the front page right now?
评论 #24452053 未加载
anonymoushnover 4 years ago
This is a cool project, and I find the documentation quite useful. However, it is a tough sell to say that the JIT only works on the main stack, where almost none of my code is run.
ravi-deliaover 4 years ago
I am...interested.