robertkrimen/otto
View on GitHub ↗ ★ 8,457 Go
A JavaScript interpreter in Go (golang)
19 mentions on Hacker News by 18 people: 3 stories, 16 comments · first 2012-10-11 · latest 2026-01-21
20082026
-
If you want to see what a JS interpreter in Go would look like, you can look at https://pkg.go.dev/github.com/robertkrimen/otto and https://github.com/dop251/goja . Of course they aren't "ports", but I feel like having two fairly complete…
comment by jerf · 2026-01-21 · in The coming industrialisation of exploit generation with LLMs -
…needs by writing JS. The JS is executed inside a transaction. Sort of a mini-lambda kind of api [0] https://github.com/robertkrimen/otto [1] https://github.com/daptin/daptin [2] https://daptin.github.io/docs/actions/actions/
comment by artpar · 2024-09-07 · in Goja: A Golang JavaScript Runtime -
…think there's even a never. I find that pretty odd. I'm curious if there'd be any reason to switch. https://github.com/robertkrimen/otto
comment by donatj · 2024-09-06 · in Goja: A Golang JavaScript Runtime -
…:)) // And of course even more context here[2] and here[3] (this one is from Evan You) // [1] https://github.com/robertkrimen/otto [2] https://news.ycombinator.com/item?id=39641634 [3] https://news.ycombinator.com/item?id=39648399
comment by pas · 2024-03-10 · in Rolldown: Rollup compatible bundler written in Rust -
…mature choice for embedded scripting. Alternatively if you prefer JS then Otto is a good choice: https://github.com/robertkrimen/otto
comment by donio · 2023-08-24 · in Jacobin: A more than minimal JVM written in Go -
…is a non-starter. I would love to have Java as a runtime that can be executed from goroutines. [1] https://github.com/robertkrimen/otto
comment by gabereiser · 2023-08-24 · in Jacobin: A more than minimal JVM written in Go -
…in the browser) and ran them on the backend on a JavaScript VM library written in Go [1]. [1]: https://github.com/robertkrimen/otto
comment by oxplot · 2022-05-18 · in Wazero: The zero dependency WebAssembly runtime for Go developers -
…you can get detected as a bot and banned from the site. https://github.com/PuerkitoBio/goquery https://github.com/robertkrimen/otto
comment by grose · 2022-04-09 · in I need to find an apartment -
Plus Otto, a JavaScript interpreter written Go: https://github.com/robertkrimen/otto
comment by stevekemp · 2020-07-28 · in Otto: Friendly Machine Learning Assistant -
…within Golang. Some developers are doing the same in Java. Check this project for this option: https://github.com/robertkrimen/otto Now the question is which one is good. As always it depends on what you're looking for. I would say the…
comment by yrezgui · 2017-02-07 · in Ask HN: Using React with Golang? and does it make sense? -
…yet another language to transpile to Go? You might want to look at Otto, a JS interpreter in Go, https://github.com/robertkrimen/otto
comment by CyberFonic · 2017-02-06 · in Ask HN: What programming languages have been implemented in Go? -
I love this type of projects. Relevant: https://github.com/robertkrimen/otto (JavaScript interpreter in go) https://github.com/Shopify/go-lua Lua VM in go
comment by latenightcoding · 2016-11-18 · in Gosubc – An implementation of the SubC language in Go -
there is already go project named otto: https://github.com/robertkrimen/otto
comment by solusipse · 2015-09-28 · in Otto, the successor to Vagrant -
▲ 3
Otto – Embeddable Pure Go JavaScript Enginestory by donatj · 2015-01-21 · 0 comments
-
There's also otto, a JavaScript interpreter written in Go: https://github.com/robertkrimen/otto Here's an example Go app using otto for React server-side rendering: https://github.com/101loops/go-reactjs
comment by grosskur · 2014-12-04 · in Duktape: an embeddable JavaScript engine -
For those interested: Ruby in Go: https://github.com/grubby/grubby Javascript in Go: https://github.com/robertkrimen/otto
comment by jamescun · 2014-07-27 · in Parsing PHP in Go -
▲ 232
A JavaScript parser and interpreter written in Gostory by scapbi · 2013-11-28 · 67 comments
-
Other similar projects: Otto (JavaScript interpreter): https://github.com/robertkrimen/otto Twik (Scheme like): http://blog.labix.org/2013/07/16/twik-a-tiny-language-for-go
comment by mseepgood · 2013-09-17 · in Introducing agora: a dynamic, embeddable programming language built with Go -
▲ 12
Otto: A JavaScript parser and interpreter written in Gostory by sushimako · 2012-10-11 · 0 comments