Experience embedding javascript
Posted
by
deft_code
on Game Development
See other posts from Game Development
or by deft_code
Published on 2011-06-11T05:59:57Z
Indexed on
2011/06/22
0:32 UTC
Read the original article
Hit count: 197
I'm looking into scripting languages to embed in my game.
I've always assumed Lua was the best choice, but I've read some recent news about embedding V8 as was considering using it instead.
My question is two fold:
Does anyone with experience embedding v8 (or another javascript engine) recommend it?
How does it compare with embedding Lua?
I like that v8 has a c++ embedding API. However Lua API has had lots of time to be refined (newer isn't always better and all that).
Note: At this point I'm not too concerned with which is better language or which library has better performance. I'm only asking about ease of embedding.
© Game Development or respective owner