koush / quack

Apache License 2.0
61 stars 10 forks source link

V8 Suggestions #4

Open anonyein opened 3 years ago

anonyein commented 3 years ago

I find that QuickJs is not efficient by compared with V8, and the project "https://github.com/eclipsesource/J2V8/tree/master/jni" is not fit so well to coverting between Java and Js, although with the help of the project "https://github.com/alicorn-systems/v8-adapter". Would you considering change quickjs to V8 Engine instead, and thank you for your prefect project here!

webfolderio commented 3 years ago

@farendaibiao it requires too much work, even rewrite from scratch. I am not sure if koush will do it.

anonyein commented 3 years ago

@farendaibiao it requires too much work, even rewrite from scratch. I am not sure if koush will do it.

Indeed the work is terriably complex. It's only a wish, because the highly efficient V8 is nearly 40 times faster than quickjs in running js code when real-machine tested.

caoccao commented 3 years ago

I'm the author of https://github.com/caoccao/Javet. I'd like to echo: Yes, embedding Node.js / V8 is wholly a different story.

webfolderio commented 3 years ago

@caoccao Awesome project! thanks.

caoccao commented 3 years ago

@webfolderio Thank you.