Earlier quoted context omitted.
Facebook forked PHP to make Hack to try and make PHP usable. Yahoo is yahoo. Wikipedia wouldn't have the resources to change anything. Google has a wiki page for their developers telling them to never ever use PHP for any google project.
Those facebook improvements made there way back into the core. Google might be able to move quicker if they allowed php. Facebook killed them in social. The type of products google can offer is limited by this decision.
Goro – An implementation of PHP written in Go
61–70 of 135 posts
Re: Goro – An implementation of PHP written in Go
#62Earlier quoted context omitted.
You joke but that's very likely to happen eventually if it hasn't already. At the very least I wouldn't be surprised if Mozilla made a prototype JS engine in Rust.
Yeah buddy. https://servo.org/ Also there is already amazing work for Rust and WASM https://rustwasm.github.io/book/
Re: Goro – An implementation of PHP written in Go
#63Re: Goro – An implementation of PHP written in Go
#64Re: Goro – An implementation of PHP written in Go
#65> PHP is a nice language but is having trouble keeping up with modern languages It's only "having trouble" because it can't change its API from month to month to match whatever's in vogue. A majority of the web still runs on some variant of PHP, and that guarantees that it's not dying anytime soon. More broadly, it seems the author wants to create a version of PHP that's not focussed on web requests, which is sort of…
( -smell can also be a thought-smell, but that's another discussion.)
I'd guess the author means "modern languages have a reasonably simple concurrency paradigm supported by language or standard library primitives," which would be about the only reason other than the interest in the task itself I can imagine reimplementing PHP in Go. I wouldn't buy that definition myself (and as the parent says, it's less clear whether it's the right fit for PHP) but it's a place to start in addressing the relative merits the project might actually be claiming.
Re: Goro – An implementation of PHP written in Go
#66Re: Goro – An implementation of PHP written in Go
#67Earlier quoted context omitted.
wait for js.rs
Isn't that what Mozilla created Rust for in the first place?
Rust was mainly developed alongside Servo which is more the rendering Engine, the JS side of it remained in C (spidermonkey)
Re: Goro – An implementation of PHP written in Go
#68Earlier quoted context omitted.
Probably the repetition of if err != nil {} You get used to that pretty quickly in Go, but it still looks messy to a lot of people.
And so it's clear to others, this probably the worst possible way for a language to go about implementing error handling (maybe aside from just not having any mechanism outright and terminating). But alas, those are the choices that the Go language made.