4 ms·
> 2 - if you ever plan to scale, use a compiled language for the get go instead (JIT/AOT) Like Facebook? I don't think that's good advice, for several reasons
by davidw 12y ago
> 2 - if you ever plan to scale, use a compiled language for the get go instead (JIT/AOT)
Like Facebook?
I don't think that's good advice, for several reasons:
* Everyone dreams about scaling. For most, it's just not a pertinent reality. It's easy to prematurely optimize.
* Scripting languages will let you iterate faster, and find some kind of product-market fit. Think about Twitter: I love Rails, but ... no, Rails is not a good fit for what Twitter is. And yet they managed to right the ship and move on to more appropriate systems. If you've got a viable business, you can find the money to improve.
- pjmlp 12y agoMany of the improvements Facebook has brought into PHP eco-system is because the code base is so big, that it is worthwhile to invest so much money into research about PHP native code generation that re-write the whole stuff. I get your point, but there are many languages that offer the rapid iteration of dynamic languages, while offering native code. And monkey patching just doesn't scale across teams.