@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?

  • skai@lemmy.ca
    link
    fedilink
    arrow-up
    7
    ·
    3 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.

  • bamboo@lemm.ee
    link
    fedilink
    arrow-up
    7
    arrow-down
    2
    ·
    3 months ago

    Why this over a much more popular modern language like Rust?