Re:Exploring Goja: A Golang JavaScript Runtime
by bastawhiz on Saturday September 07, 2024 @09:36AM
(#41473876)
I didn't use Goja (this was maybe a decade ago) but I used Otto, which is the same concept.
I used it for game scripting. Lots of stuff is just easier to write in a high level language. I was able to use inheritance to compose behaviors for entities, and I could restart entities with new code without having to restart the server.
I used it for game scripting. Lots of stuff is just easier to write in a high level language. I was able to use inheritance to compose behaviors for entities, and I could restart entities with new code without having to restart the server.