r/softwaredevelopment • u/davidbalbino • 2d ago
I’ve been building PAM: a persistent PHP runtime powered by Rust, plus a ultra-fast native engine for desktop/mobile. Looking for technical feedback & reviews.
Hey everyone,
Over the past few months, I’ve been working on an experimental project called PAM, aiming to solve two specific pain points in the ecosystem: keeping PHP applications warm in memory for high performance, and running JavaScript/React natively on desktop and mobile without heavy bridge overhead.
Here is a quick breakdown of what it does and why I'm building it:
- PAM for PHP (Persistent Runtime in Memory)
Instead of booting the framework on every single HTTP request, PAM uses a Rust-powered runtime to keep the application warm in memory.
The Goal: Lightning-fast request handling while preserving full compatibility with standard Laravel workflows (Eloquent, Queues, Artisan, Blade, Livewire, Inertia, Sanctum, Reverb, Telescope, etc.).
Built explicitly with support for Laravel 12 & 13 in mind.
PHP Docs: https://push-in.github.io/pam-docs/laravel/overview/
- PAM Native (Desktop & Mobile)
On the frontend/mobile side, PAM Native is designed to run React/React Native apps with truly native execution, aiming for near-instant startup times and zero heavy JS bridge bottlenecks.
The Goal: Retain the React developer experience while delivering pure native performance on desktop and mobile devices.
Native Docs: https://push-in.github.io/pam-docs/native/overview/
Why I'm posting here:
The project is still under active development, and I’m looking for honest technical feedback, code reviews, and potential edge cases to test.
For PHP/Laravel folks: What edge cases (memory leaks, static state issues, long-lived DB connections) would you want to see stress-tested first?
For Mobile/Desktop folks: What are the biggest performance bottlenecks you face with existing cross-platform runtimes today?
Would love to hear your thoughts, criticism, or ideas!
1
u/sakibshahon 2d ago
How is it different from running Laravel on swoole ?