go-php
tengo
go-php | tengo | |
---|---|---|
1 | 5 | |
922 | 3,522 | |
- | - | |
0.0 | 5.4 | |
almost 3 years ago | 6 months ago | |
Go | Go | |
MIT License | MIT License |
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.
go-php
-
Show HN: FrankenPHP, an app server for PHP written in Go
This is amazing, and way more advanced than what was there. Going to definitely use it on the next project.
Previously, there was https://github.com/deuill/go-php which was PHP5 and PHP7, but you needed to build PHP with ZTS. I forked it to focus on PHP5 (https://github.com/borancar/go-php). My primary goal was to port some legacy PHP over iteratively via the Strangler pattern.
tengo
-
Making Games in Go for Absolute Beginners
> It also has a bunch of libraries for embedding scripting languages https://awesome-go.com/embeddable-scripting-languages, with Tengo _probably_ being the quickest https://github.com/d5/tengo
Yes, I noticed those packages recently. The problem is that there is little data about how reliable and maintainable goloader is going to be on the long term.
As I care about performance and security, I don't want a scripting language, but WASM seems to be a very promising possibility. I have made benchmarks with 2~3 WASM engines in Go, and so far I am not completely convinced about the quality and performance of the available APIs. Also, when compiling Golang to WASM, the native compiler is still abysmally bad and does not have full support for imports, so Tinygo is a must-have.
Anyway, modding is still a long term idea at this point, so hopefully the ecosystem will get more mature within a couple of years.
-
Looking for programming languages created with Go
- https://github.com/d5/tengo
-
Change go code behaviour at runtime
There are totally different things like https://github.com/d5/tengo but I don't know much about the docs, communities, or viability of them. Some like this one look very active and healthy. It might be worth considering.
-
Asking for advice to get deeper understanding of golang internals.
I started doing this a few years ago when I wanted to add programmability to another system I was working on, and didn't want Lua or anything else like that. I set it aside when other priorities arose, and didn't return to it when I saw that others had already done the same thing (yaegi, tengo).
What are some alternatives?
go-python - naive go bindings to the CPython2 C-API
expr - Expression language and expression evaluation for Go [Moved to: https://github.com/expr-lang/expr]
go-lua - A Lua VM in Go
otto - A JavaScript interpreter in Go (golang)
go-duktape - [abandoned] Duktape JavaScript engine bindings for Go
goja - ECMAScript/JavaScript engine in pure Go
gopher-lua - GopherLua: VM and compiler for Lua in Go
gisp - Simple LISP in Go
purl - Perl, but fluffy like a cat!
The uGO Language - Script Language for Go