5 ms·
So Java then?
by __alexs 14y ago
So Java then?
- calinet6 14y agoI've never seen a web host include java, and no shared host has enough resources to support the JVM in the first place. It's a similar problem as Ruby and Python, believe it or not.
- LiveTheDream 14y agoHeroku will host JVM-based webapps for you. They have Scala and Clojure support.
- bluesnowmonkey 14y agoActually, the GP was talking about running on your own server. Ruby, Python, Java, PHP, they're all close enough in terms of setup time that it need not factor into the decision. Or you can run any of them on dotCloud, EC2, Rackspace, lots of places. Deployability just isn't a differentiator nowadays.
- calinet6 14y agoNo, it isn't—but if you knew how to deploy any of that, you probably wouldn't consider PHP. 90% of people just run a web site on a hosting server. Granted it's getting less and less common with the advent of the centralized service-based web, but still, that's the source of success.
- __alexs 14y agoIs PHP really more memory efficient than the competition? I know it scores better on the computer benchmark game but the non-existent concurrency support and general leakyness of most the extensions (unless they've fixed that these days?) seems like the difference could actually be a lot narrower in practice.
- calinet6 14y agoNo, that part still might be bad. The advantage it has is that you can run a ton of hosted sites on one mod_php apache server. With Rails, for example, you have to run an environment. Same with many Python apps, or Java, etc. So it has the memory advantage of being able to run multiple sites on one environment. Not that big a deal if you're doing any serious deployment, but a big deal for its ubiquitous nature.