I'm looking into scripting languages to embed into an application.
I've always assumed Lua was the best choice, but I've read some recent news about embedding V8 and was considering using it instead.
My question is two fold:
Does anyone with experience embedding v8 (or any javascript engine) recommend it?
How does it compare with embedding Lua?
I like that v8 has a c++ embedding API. However the Lua API is has had lots of time to be refined (newer isn't always better and all that).
Note: I'm not concerned with which language/library is better or which has better performance. I'm only asking about ease of embedding.