this post was submitted on 14 May 2025
435 points (99.3% liked)

PC Gaming

11538 readers
576 users here now

For PC gaming news and discussion. PCGamingWiki

Rules:

  1. Be Respectful.
  2. No Spam or Porn.
  3. No Advertising.
  4. No Memes.
  5. No Tech Support.
  6. No questions about buying/building computers.
  7. No game suggestions, friend requests, surveys, or begging.
  8. No Let's Plays, streams, highlight reels/montages, random videos or shorts.
  9. No off-topic posts/comments, within reason.
  10. Use the original source, no clickbait titles, no duplicates. (Submissions should be from the original source if possible, unless from paywalled or non-english sources. If the title is clickbait or lacks context you may lightly edit the title.)

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] sp3ctr4l@lemmy.dbzer0.com 73 points 1 month ago* (last edited 1 month ago) (21 children)

... Ok, that is legitimately impressive, from a technical standpoint.

Lua is a high level, not exactly very 'fast', very performant language. It is designed to be very, very human readable, and coding noob friendly.

Getting a 3D physics engine to work ... in lua... is not something I would have thought possible.

Usually you need to use a much lower level language to ... actually do that.

EDIT:

A few other commenters have now pointed out that this is actually using LuaJIT... which passes Lua code to a C compiler, quickly translates and then compiles in C, and then runs in C.

So, that makes much more sense, its functionally running in C, a lower level, compiled code language.

Still impressive nonetheless!

[–] datavoid@lemmy.ml 29 points 1 month ago (4 children)

It is designed to be very, very human readable, and coding noob friendly

As someone who can't wrap my head around lua syntax, I will have to assume I simply have too much coding experience

[–] gradual 2 points 1 month ago (1 children)

Yeah, I remember using LUA back in the day for gmod.

Hands down one of the shittiest languages I ever touched, right down there with PHP.

Really puts into perspective how stupid developers can be when deciding the tools that they use.

[–] vala@lemmy.world 1 points 1 month ago

Hot take.

Lua is an industry standard for a reason. The syntax isn't great. But the reference implementation of Lua is under 500kb, very easy to embed and very fast.

load more comments (2 replies)
load more comments (18 replies)