News for hackers. Stuff that matters.
Re:Show HN: Rust compiler in PHP emitting x86-64 executables by sunrunner on Wednesday March 04, 2026 @04:46AM (#47245233)
> Seriously, in what world do we need a rust compiler in php?

This is described in the README:

> Useful if you need to compile Rust on a shared hosting server from 2008 where the only installed runtime is PHP.

So I guess that world? I mean there's working around a problem and then there's working around a problem...

It would be amusing if, in such a highly limited environment, the compiled binary was still unusable due to restrictions on setting the executable flag.

Re:Show HN: Rust compiler in PHP emitting x86-64 executables by actionfromafar on Wednesday March 04, 2026 @06:07AM (#47245875)
Time to extend https://github.com/TheFox/i8086emu to x86_64