Hacker News new | past | comments | ask | show | jobs | submit login

Interesting that the author likes Lua as an embedding language, but doesn't like the language itself. If I were in his shoes, I think I couldn't be so subjective. Kudos to him.



It's a very subjective article:

> Okay, in all fairness, I didn’t give Tcl its due. It’s likely the most widely embedded language. I just don’t like Tcl and it shows.

If you're talking about embedding languages and don't even cover what Tcl offers in terms of a C API, you really are doing your readers a disservice.

I think he should have just written an article on why Lua is good for embedding, which is really what this is about, and is a very reasonable thing to say.


Lua is amazingly popular in the game industry for exactly this purpose.

- It has an excellent C/C++ interop layer

- You can predictably constraint space and time needs; even on such resource constrained devices such as game consoles.

- The threading model is lightweight enough to give a significant portion of game objects their own execution state. This enables scripters to write "latent" behaviors; very useful for actors in the time-oriented world of games.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: