4 ms·
Any idea why Gaijin has developed two fully-featured scripting languages? I see Quirrel and daScript in their Github page.
by CrimsonCape 3y ago
Any idea why Gaijin has developed two fully-featured scripting languages? I see Quirrel and daScript in their Github page.
- corysama 3y agoI would guess a combination of tech evolution, legacy code and disagreements between design departments. I once worked at a gamedev company that had an in-house scripting system and a purchased system from an engine fire-sale (not a fire-engine sale). The in-house one was better for complicated situations, but was relatively a lot of work for large volumes of simple situations.
- MindSpunk 3y agoQuirrel is, as far as I've been able to tell, a fork of Squirrel. daScript is all their work though.
- versteegen 3y agoThey fill two different niches, daScript is statically typed, AoT compiled and attempting to outperform LuaJIT, Quirrel is dynamically typed and better for writing game logic. Note that Quirrel is a fork of Squirrel (in early 2019), which is a language very heavily inspired by Lua (you could say Lua-done-over) with a very similar embedding API, but much more like a typical OO language rather than quirky (which makes it very similar to Javascript). Squirrel was most famous used by many Valve games like Portal 2 and L4D2, and I recommend it. Quirrel attempts to make Squirrel more Python-like, easier, add tooling like static analysis and tests, and to continue development, as Squirrel has only received the odd bugfix for years and been neglected. I've been watching Quirrel for years, and development has been picking up. They seem to have about 1.5-2 people working on it fulltime. The language is diverging more and more from Squirrel (and further towards Python) and getting bigger.