▲ | shikck200 6 days ago | |||||||
We actually target a HUGE legacy PHP codebase (its over 16 years old, with over 1M LOC) with Haxe. I would not EVER write vanilla PHP for anything else than a toy website, because there is no amount of testing that makes it stable enough. We still have a lots of legacy PHP, but its slowly being refactored to Haxe. With Haxe we get a really nice typesystem, and a "faster than Go" compiler. It has pushed our productivity thru the roof. We still need to use external dependencies tho, as PHP lacks any concurrency in the core language, so we also have a Go API for fetching data concurrently, and also use it as a BI directional socket for the frontend and as a queue server. Otherwise, the stack is pretty much PHP7 from top to bottom. | ||||||||
▲ | gr4vityWall 6 days ago | parent | next [-] | |||||||
Very interesting to hear about the Haxe PHP target being used like that. How did you start introducing it to the codebase? Were there any devs familiar with Haxe in the company already? | ||||||||
| ||||||||
▲ | keb_ 5 days ago | parent | prev [-] | |||||||
This is really cool to hear as someone who used to experiment with Haxe for game development. Would love to read a case study. | ||||||||
|