Experience embedding javascript
- by deft_code
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.