Hacker News new | ask | show | jobs
by badminton1 2945 days ago
Not exactly sure why you would want to provide JavaScript scripting for Go. Go has different concurrency primitives and a different threading model, and that threading model is one of the biggest selling points of Go.

I highly doubt this would be "the next node", if that is the intention. If you want to use Go, just use Go.

1 comments

You can use it as a scripting language for your app. For example, a go binary with customizable hooks scripted in JS. That way anyone who knows JS can customize the binary for their specific use case.
Like openresty/Nginx with Lua integration. JavaScript is way more popular than Lua, so this have wide possibilities..