logoalt Hacker News

lesuorac • last Wednesday at 8:55 PM • 1 reply • view on HN

Didn’t FaceBook fork php into another language?

I’m not entirely sure Google should have both Go and Carbon but when you have billions in server costs it makes sense to do extreme stuff for even basis points of performance. I’m still surprised at how much java there is.


Replies

fg137 • yesterday at 11:55 AM

I don't know what the exact deal is, but I assume Hack meets specific use cases at Facebook and can be put in production. It doesn't matter if anyone else is using it.

Maintaining a language meant for web servers is also objectively a much easier job than something like C++/Carbon which is supposed to be at system level, general purpose and has huge standard library.

By comparison, virtually nobody is using Carbon at Google for production code.

The counterexample, ironically, is Flow. It's practically irrelevant these days -- many (if not most) of Facebook's open source projects use typescript.