deuill / go-php

PHP bindings for the Go programming language (Golang)
MIT License
930 stars 105 forks source link

would this package profit from this? #66

Open Dexus opened 5 years ago

Dexus commented 5 years ago

Hello @deuill,

would this package profit from https://github.com/basvanbeek/embed2-sapi ?

Its not php7 but i think it would make it easy to use for concurrency php... with some trweaks.

Regards, Josef

deuill commented 5 years ago

The scope of that project is largely similar to what we do in engine.c and context.c, i.e. a layer between the PHP internals and an application via a SAPI module. Both projects suffer the same limitations with regards to concurrency, and require PHP to be compiled with thread-safety on (which is rarely done in distribution packages) in order to avoid memory faults in concurrent use.