tengo VS go-php

Compare tengo vs go-php and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
tengo go-php
5 1
3,444 921
- -
5.4 0.0
4 days ago over 2 years ago
Go Go
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

tengo

Posts with mentions or reviews of tengo. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-24.
  • Making Games in Go for Absolute Beginners
    17 projects | news.ycombinator.com | 24 Nov 2023
    > 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
    23 projects | /r/golang | 6 Nov 2022
    - https://github.com/d5/tengo
  • Change go code behaviour at runtime
    10 projects | /r/golang | 10 Oct 2022
    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.
    5 projects | /r/golang | 30 Mar 2022
    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).

go-php

Posts with mentions or reviews of go-php. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-14.
  • Show HN: FrankenPHP, an app server for PHP written in Go
    8 projects | news.ycombinator.com | 14 Oct 2022
    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.

What are some alternatives?

When comparing tengo and go-php you can also consider the following projects:

otto - A JavaScript interpreter in Go (golang)

go-python - naive go bindings to the CPython2 C-API

gopher-lua - GopherLua: VM and compiler for Lua in Go

go-lua - A Lua VM in Go

goja - ECMAScript/JavaScript engine in pure Go

go-duktape - [abandoned] Duktape JavaScript engine bindings for Go

expr - Expression language and expression evaluation for Go [Moved to: https://github.com/expr-lang/expr]

gisp - Simple LISP in Go

The uGO Language - Script Language for Go