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

Stupid question, the unit scripting language used is javascript? So in theory, all units script execution can be outsourced to a part of the gpu? https://gpu.rocks/#/

Sorry, this is barely gameplay related, just interested if that could be kept synced.




It is although I'm not sure Spidermonkey (The js engine) has support for that.


Why choose spidermonkey over V8?


Obviously history plays a part there but V8 integration was not particularly better and mostly the high number of Nix users contributors over the years made it hard to use things made by GAFAMs.


Looking at the code, spidermonkey was added 2009, mayber earlier (stopped looking at around 2009). V8 was released in 2008, so the decision probably made sense back then, considering V8 wasn't nearly as big as it is today.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: