3 ms·
any good reason to use this over v8/Node?
by harrygeez 6y ago
any good reason to use this over v8/Node?
- cogman10 6y agoYou are using java but want access to Javascript for various reasons. (Maybe you want to add scripting? Maybe you want to use a JS lib? Really sort of depends on the circumstance). Using node/v8 requires another distributable and starting up a new process.
- theandrewbailey 6y ago> (Maybe you want to add scripting? Maybe you want to use a JS lib? Really sort of depends on the circumstance) I used it to add Markdown to a Java app, because JS-based Markdown libraries were better than Java-based ones.
- KajMagnus 6y agoI use it to add React.js server side rendering to a Scala app (more details in this comment: https://news.ycombinator.com/item?id=25248748 https://news.ycombinator.com/item?id=25248748 ) @cogman10 > > Using node/v8 requires another distributable and starting up a new process Precisely
- blackmagicjs 6y agoNodeJS has gone woke and supports Black Lives Matters. They also seem to have a history of social justice battles (as does the company behind V8 that NodeJS is based on, Google). I'm glad for alternatives.