3 ms·
i am pretty sure the number of new uses of lua way exceeds the number of new uses of tcl, and i suspect the number of deployed lua instances exceeds tcl instanc
by andrewcooke 17y ago
i am pretty sure the number of new uses of lua way exceeds the number of new uses of tcl, and i suspect the number of deployed lua instances exceeds tcl instances (there are a lot of games out there...).
i think you being author of jim is biasing you hugely in this. lua is the obvious solution here, not tcl.
- antirez 17y agoyep this is a good point. But indeed I don't like Lua nor Tcl too much for this task. I would simply love to have an easy to embed Javascript implementation, but that does not exist. If nothing will change under the sun I think I'll use Lua even if I don't like the language too much, but sounds like the sanest thing to do.
- silentbicycle 17y agoAt a language design level, what in Javascript do you prefer to Lua? I know Javascript has more familiarity (no doubt due to this "web" thing I keep hearing so much about), but Lua seems to me like a far cleaner iteration of the same kind of language. Circumstance froze Javascript's design before it could have some major issues worked out, while Lua was able to develop more organically. They have a lot in common, though, particularly what Crockford calls JS's "good parts".
- wingo 17y agoEveryone tells me that spidermonkey is actually an independent library. They could be wrong, though :P
- krakensden 17y agoWhat's wrong with Spidermonkey and V8?
- GeneralMaximus 17y agoOn the other hand, Tcl is extremely easy to learn. Like Lisp, the language barely has syntax. You need to grok 11 rules and you're done. Here: http://www.tcl.tk/man/tcl8.4/TclCmd/Tcl.htm http://www.tcl.tk/man/tcl8.4/TclCmd/Tcl.htm That page describes the language in its entirety :)