Comment by silentbicycle

15 years ago

Yeah, if you can't implement a basic object system in C, you don't really understand how OOP works anyway.

Also, I definitely agree w/ you about Lua. Great language, but it's so focused on being shape-able into whatever its embedding project needs that the community refuses to settle on conventions for some things. OTOH, it's small & clean enough that running your own fork of it is actually a decent trade-off, whereas doing so with (say) Python would be pretty harsh.

I've been thinking about things I could build that would fix that, but that's sort of how we got into this in the first place. :-)

  • Yeah. The people who are using Lua primarily in an embedded context (and thus have a lot of dependencies, such as threading & graphic libs, already chosen for them) have VERY different priorities than the people using Lua standalone. It pulls the community in two different (and occasionally opposed) directions, and the Lua team doesn't want to alienate either camp.

    (On the balance, though, it's still one of my favorites.)

    • Yes, definitely. The problem I'm running into is that the people writing the module systems are thinking in terms of running it standalone.

      I want a way to get a bunch of Lua libraries and cram them into one thing I can easily embed and make available to my embedded Lua interpreter. I can't really visualize how that would work though, so I can't write it yet.

      2 replies →