Open seeme-o opened 5 years ago
I'm also playing with creating a Node.JS module for Swoole Channel and Table to allow Node.JS and PHP to share Channel objects and Table Objects.
It wouldn't be too hard to do the same thing in Java via JNI. Pocketmine is a perfect example of a mobile app that had over 10m PHP installs on mobile devices.
@need-sleep We are doing these things. We will provide C/C++ API later.
This is a feature request. Around a year ago I started using Swoole for custom projects. I have created a native Enet (https://github.com/lsalzman/enet) server extension and a WebRTC datachannel server extension for Swoole among others. I am currently looking at adding a mature and known C++ game engine to Swoole. This process would have been easier if native Swoole had a more comprehensive API that allowed it to be more extensible, and I would be more forthcoming with sharing the code if I didn't have to add it to the main Swoole repository.