3 ms·
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 th
by partycoder 8y 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.
- chatmasta 8y agoYou 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.
- murukesh_s 8y agoLike openresty/Nginx with Lua integration. JavaScript is way more popular than Lua, so this have wide possibilities..