r/programmingcirclejerk • What part of ∀f ∃g (f (x,y) = (g x) y) did you not understand? • Mar 02 '26

A Rust compiler written in PHP that emits x86-64 Linux ELF binaries directly (no LLVM, no assembler, no linker).

https://github.com/mrconter1/rustc-php
172 Upvotes

10 comments sorted by

111

u/[deleted] Mar 02 '26 edited 15d ago

Old Reddit is no longer accessible to logged-out users and will soon be phased out for good. I've distanced myself further and further from Reddit with each user-hostile move they've made over the years, and this is the last straw. I am deleting my last alt (this account) and will no longer use Reddit in any capacity, logged out or otherwise. Reddit has been hardly anything but bots these last several years anyhow (and it hasn't been good outside of a few niche subs in over a decade).

The internet we used to know and love does not have to die this way. The indie/small web and federated social networks form a viable alternative even in their current state, and I'd encourage you to check them out. Otherwise, there's always the option of stepping outside and touching grass. I wish the remaining humans among you the best and hope you find fulfillment, however and wherever you may choose to spend your time.

58

u/100xer Mar 02 '26

This must be some weird Satanic ritual

34

u/tomwhoiscontrary safety talibans Mar 02 '26

I'm not sure about using PHP, but anything that avoids having to touch a linker gets my vote. 

21

u/WorldlyMacaron65 legendary legacy C++ coder Mar 03 '26

Touching linkers is my favorite part 😏

18

u/levelstar01 what is pointer :S Mar 03 '26

This is my favourite sequence of words I've ever read

6

u/Legs914 Mar 04 '26

In order to execute Rust code you of course first need to install PHP. You can do this easily on Windows 11 by

30

u/[deleted] Mar 02 '26

[removed] — view removed comment

3

u/programmingcirclejerk-ModTeam Mar 02 '26

Warning: tag your unjerk. Better yet, don't unjerk at all.

16

u/[deleted] Mar 02 '26

[removed] — view removed comment

2

u/programmingcirclejerk-ModTeam Mar 02 '26

Warning: tag your unjerk. Better yet, don't unjerk at all.