jacobin
yaegi
jacobin | yaegi | |
---|---|---|
6 | 39 | |
664 | 6,609 | |
- | 1.1% | |
9.9 | 5.8 | |
6 days ago | 9 days ago | |
Go | Go | |
Mozilla Public License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
jacobin
-
Jacobin: Minimal JVM written in Go and capable of running Java 17 classes
Thanks for your note. The package notes on Jacobin say that we strongly discourage folks from running it in its present form. There are enough features still to be implemented, that for anything but trivial classes, you won't have a good experience. TBH, we're about a year out (we think) from having a version we can solicit users to test.
Nonetheless, if you'd be kind enough to post the above error and the class you used into the GitHub Issues tracker [0], we'll definitely include it in our test suite and make sure whatever the problem is, it'll be corrected.
[0] https://github.com/platypusguy/jacobin/issues
- How do I parse all the symbols from the Java standard library into my JVM language
-
Tutorials for intermediate to advanced Golang
Then might want to look at Jacobin, which is a project developing a JVM (Java virtual machine) in Go. It includes a detailed roadmap of the source code, which lays out the architecture of the code and makes it easy to jump in. The code itself is well commented and there are numerous tests, which provide additional insights.
yaegi
- Traefik/Yaegi: Yaegi Is Another Elegant Go Interpreter
-
Go: What We Got Right, What We Got Wrong
Yes. There are long standing feature requests for (e.g.) the reflect package that simply don't get done because they'd break this assumption and/or force further indirection in hot paths to support "no code generation at runtime, ever".
Packages like Yaegi (that offers an interpreted Go REPL) have "know limitations, won't be addressed" also because of these assumptions.
https://github.com/golang/go/issues/4146
https://github.com/golang/go/issues/16522
https://github.com/traefik/yaegi?tab=readme-ov-file#limitati...
- Fourteen Years of Go
-
Gojekyll – 20x faster Go port of jekyll
There is always https://github.com/traefik/yaegi - a Go interpreter written to make it easy to write plugins.
- Jacobin: Minimal JVM written in Go and capable of running Java 17 classes
-
Can Go run statements in cmd like Python?
I think https://github.com/traefik/yaegi comes as close as using the python interpreter in you CLI, but for Go
-
Can Go files be compiled by themselves?
There's a go interpreter: https://github.com/traefik/yaegi It could run programs without compiling them, but there're some limitations.
-
referencing packages on the internet and using go plugin
I'd recommend looking into a different approach for plugins such as hashicorp/go-plugin (which uses multiple process PIDs and RPC communication between them) or traefik/yaegi (which implements a Go-compatible scripting language that can be interpreted at runtime and which still supports most Go modules).
-
Mun v0.4.0: a statically-typed scripting language like Rust, written in Rust
Why do we need a language like Rust when we have Rust. Why not just create a Rust interpreter. (There's such an interpreter for Go, BTW, https://github.com/traefik/yaegi )
-
Plugo - A plugin library for Go.
A cool solution I saw was Traefik's yaegi module. They basically created an interpreted scripting language with Go compatible syntax (turning Go into an interpreted, not compiled, language). I haven't tried this but it sounds like it brings the better parts of dynamic languages like Python's plugin support to Go - plugin writers can still write "Go" code, which can load dynamically.
What are some alternatives?
docs
golive - ⚡ Live views for GoLang with reactive HTML over WebSockets 🔌
jacobin-dart - A JVM written in Dart
gomacro - Interactive Go interpreter and debugger with REPL, Eval, generics and Lisp-like macros
hof - Framework that joins data models, schemas, code generation, and a task engine. Language and technology agnostic.
grule-rule-engine - Rule engine implementation in Golang
gotests - Automatically generate Go test boilerplate from your source code.
gobook - Simple in Pure Go in Browser Interactive Interpreter
glab - The GitLab CLI tool. Archived: now officially adopted by GitLab as the official CLI tool and maintained at https://gitlab.com/gitlab-org/cli. See https://github.com/profclems/glab/issues/983
scriggo - The world’s most powerful template engine and Go embeddable interpreter
go-lua - A Lua VM in Go
gophernotes - The Go kernel for Jupyter notebooks and nteract.