24

@programming@programming.dev Nelua programming language, any one Nim or better?

”What is Nelua?
Nelua is a systems programming language for performance sensitive applications, like real-time applications and game engines. Its syntax and semantics are similar to Lua, but its garbage collection is optional, it provides optional type notations, and it is free from an interpreter. Nelua uses ahead-of-time compilation to generate optimized native binaries. It is metaprogrammable at compile-time using Lua and it is simple and easy to use.

Nelua takes advantage of ahead-of-time compilation using powerful, optimized C compilers such as GCC or Clang, and thus generates very efficient native code. No interpreter is needed at runtime.

Nelua compiles to C first then to native code, thus you can read and debug the generated C code, mix in other C code without costs, create or use C libraries, use C tools, and reuse the generated C code. You can think of Nelua like a "better C" heavily inspired by Lua.”

Any thoughts, experiences?

you are viewing a single comment's thread
view the rest of the comments
[-] skai@lemmy.ca 7 points 2 months ago

A link to the project would have been helpful: https://github.com/edubart/nelua-lang

Initially I was going to dismiss it as a cool pet project for someone but not really likely to get any traction given the competition in the space--but there are a lot of people who are going to learn Lua as their first language through things like Roblox and other games, so I could actually see it grow as people who already know Lua move out of games and are looking for speed with familiar syntax.

That said, not for me. There are plenty of other languages out there I'm more likely to reach for.

this post was submitted on 28 Sep 2024
24 points (90.0% liked)

Programming

17662 readers
376 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS