livebud / bud

The Full-Stack Web Framework for Go
MIT License
5.53k stars 181 forks source link

Are you migrating to goja? #319

Closed aadog closed 1 year ago

aadog commented 1 year ago

Are you migrating to goja?

matthewmueller commented 1 year ago

Not entirely! I want to provide the option via: https://github.com/livebud/js

The calculation to consider is: V8 evaluation + CGO overhead vs. Goja evaluation.

Unfortunately there's not a clear winner. It depends on the complexity of the script. This is why we'll need options.