Magic, as far as I'm concerned.
@[email protected]
link
fedilink
English
112d

So from what I can read, the Morrowind Script Extender uses LuaJIT instead of regular lua, which does tracing just-in-time compilation. Meaning, and I’m just paraphrasing wikipeda here, it compiles frequently executed sequeneces of operations into machine code.

@[email protected]
link
fedilink
English
4
edit-2
2d

Now, that is a very relevant detail!

I did not know LuaJIT was even a thing.

Still probably not as performant as … C++ or Rust or something, that is totally precompiled… but that would explain how this is even possible, a 3D Lua based physics engine.

Yeah, looks like LuaJIT passes a bunch of the Lua code into C, just good ole C, and then dynamically compiles it, then runs the ‘translated’ C code.

That makes a lot more sense lol.

@[email protected]
link
fedilink
English
52d

This appears to use OpenMW, not MWSE

Create a post

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.)
  • 1 user online
  • 32 users / day
  • 272 users / week
  • 946 users / month
  • 3.29K users / 6 months
  • 1 subscriber
  • 5.59K Posts
  • 38.5K Comments
  • Modlog