Hacker News new | past | comments | ask | show | jobs | submit login

any good reason to use this over v8/Node?



You 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.


> (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.


I 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 )

@cogman10

> > Using node/v8 requires another distributable and starting up a new process

Precisely


NodeJS 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.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: