Remix.run Logo
password4321 3 days ago

https://www.peachpie.io compiles PHP to .NET.

VoidWhisperer 3 days ago | parent [-]

Isn't this more transpiling than compiling?

tialaramex 3 days ago | parent [-]

Not really? .NET has a "Common Language Runtime", which you can think of as analogous to the Java VM or to Beam.

A transpiler might read PHP and spit out C, or Java or some other existing programming language, spitting out the code for a virtual machine doesn't make you a transpiler unless you're going to argue that all compilers are just transpilers, it's like one of those "Actually goats are fish" arguments. OK, but now the word "fish" is useless so why go to this bother ?