Hacker GitHub

← All repos

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

Mentions per year 19 mentions · busiest year 2024 (3)
20082026
  1. 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…
  2. …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
  3. …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
  4. …:)) // 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
  5. …mature choice for embedded scripting. Alternatively if you prefer JS then Otto is a good choice: https://github.com/robertkrimen/otto
  6. …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
  7. …in the browser) and ran them on the backend on a JavaScript VM library written in Go [1]. [1]: https://github.com/robertkrimen/otto
  8. …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
  9. Plus Otto, a JavaScript interpreter written Go: https://github.com/robertkrimen/otto
    comment by stevekemp · 2020-07-28 · in Otto: Friendly Machine Learning Assistant
  10. …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…
  11. …yet another language to transpile to Go? You might want to look at Otto, a JS interpreter in Go, https://github.com/robertkrimen/otto
  12. 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
  13. there is already go project named otto: https://github.com/robertkrimen/otto
    comment by solusipse · 2015-09-28 · in Otto, the successor to Vagrant
  14. 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
  15. 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
  16. 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