GitHub - illegalstudio/elephc: A PHP-to-native compiler. Takes a subset of PHP - including eval() - and compiles it directly to native assembly, producing standalone binaries for macOS ARM64, Linux ARM64, and Linux x86_64. No VM, no external runtime, no dependencies: dynamic eval falls back to an o…

link

GitHub - illegalstudio/elephc: A PHP-to-native compiler. Takes a subset of PHP - including eval() - and compiles it directly to native assembly, producing standalone binaries for macOS ARM64, Linux ARM64, and Linux x86_64. No VM, no external runtime, no dependencies: dynamic eval falls back to an o…

github.com/illegalstudio/elephc

A PHP-to-native compiler. Takes a subset of PHP - including eval() - and compiles it directly to native assembly, producing standalone binaries for macOS ARM64, Linux ARM64, and Linux x86_64. No VM...

  • 4commits
  • 2people
If your application spends most of its time in dense loops over thousands of entities, with elephc you can work on exactly that hot path using buffer<T>: typed, contiguous storage instead of a PHP array. On the position updates benchmark, 4000 particles over 40 steps: 60 ms…
elephc 0.27.7 is out: 67 merged PRs, 596 commits since 0.27.6. 🐘 The highlight: write PHP, get a native PHP extension. elephc --emit phpext compiles your code to a .so: - #[Export] functions - final classes, with methods, typed props and constants…
Yes, elephc 0.27.6 is here, bringing real DOOM written in PHP. Original WADs. Textured BSP rendering. Sprites, doors, lifts and teleporters. Written in PHP. Compiled to native code. Frame rates capped by VSync. Thousands of PHP demons are escaping hell to star elephc on…
Very cool! Amazing to see PHP handle a 3d game, and one of the first games I ever played. I did similar but in VB6 ported via AI

That's every commit about this link.