Hacker News new | ask | show | jobs
by angersock 4474 days ago
Bloody wonderful!

I'm quite pleased to see a compact and reasonable C interface for a JS engine--v8 can go eat a bag of rocks.

1 comments

Agreed. I really like the engineering behind V8, but the interface is such a pain to work with. I actually switched my game from C++ to the JVM so I could use Rhino.
> I actually switched my game from C++ to the JVM so I could use Rhino.

Would you mind elaborating a bit what makes v8 tedious to work with?

https://developers.google.com/v8/embed

EDIT:

V8 is quite powerful, don't get me wrong. But, it requires a bit more knowledge of C++ to use and use well, and sometimes that can be a bit much. Also, if you're exporting functionality via a static library, you really don't always want to use anything other than vanilla C.