R
R
Roman Nazarkin2014-03-26 18:09:24
PHP
Roman Nazarkin, 2014-03-26 18:09:24

What is the fastest programming language for the web?

Greetings!
I want to rewrite the old project (storage, image processing) and the idea arose to transfer all this goodness to a new programming language (currently used - PHP). Actually, I came here for advice.
The main criteria are the speed and convenience of development (not as important as the first).
Of the possible options so far, only Python (Django). But I heard that there are C ++ site engines, but there are no problems with speed there ..
In general, in thought for now.

Answer the question

In order to leave comments, you need to log in

9 answer(s)
A
Alexander Khirenko, 2014-03-26
@Satanpit

You can look towards NodeJS.
As far as I know, the speed of his work is not bad.

A
Alexey Ostin, 2014-03-26
@nitso

When it comes to image processing , the lower the level, the better.
As for web development, I vote for nodejs. On Habré there is a good article about the storage of files (images) on node.js habrahabr.ru/post/184652
As for PHP, it is quite possible to leave it by optimizing the pieces responsible for storing, returning statics and processing. Transfer the statics to a web server (nginx, for example), connect native applications for processing (imagic does its job well). And leave the main logic of the web application in PHP.
First, identify the bottleneck, and based on the analysis, make a decision.

E
evnuh, 2014-03-26
@evnuh

Do you think your current web server is not written on the pluses?) And immediately the second question - what does not suit PHP?
To ask such a stupid question and get the same answers taken from the sky, you first need to do at least some benchmarks and identify bottlenecks, and not blame PHP.

A
Anatoly, 2014-03-26
@taliban

golang

A
Andrey K, 2014-03-26
@mututunus

KPHP from VKontakte or Hack from Facebook

M
Mr. Abdu Jan, 2014-03-26
@Abdukhafiz

Maybe Java?

V
Vladimir, 2014-03-26
@Falendo

Switching from PHP to C++ is another challenge.
NodeJS asynchronous programming with non-blocking functions (you need to understand the process otherwise it will be very difficult).
Python is not for everyone, but the potential is huge and there are a huge number of docks and examples.
PHP HipHop has its limitations and is poorly documented.
And why not ASP + C#? MVC by default + speed of execution of resource-intensive tasks with splitting into threads, etc. The downside is of course Windows Server.
Yes, and most likely php will be enough - optimization is an endless process.

D
Developer Yii, 2015-05-26
@developerYii

Python + Flask = 100%
I was also puzzled by this question here because I saw that sites on a snake work almost instantly. I started to choose a frame and eventually settled on a flask. flask because full support for MVC + python 3.+ . link to frame comparison for python: https://ru.wikipedia.org/wiki/%D0%A1%D1%80%D0%B0%D...
I also wanted to advise django here, but it is very cumbersome and for people who they love core technologies, I think such a super fancy frame is not needed - you still need to tune it for yourself (according to my experience, the same yii is where to tune). well, and then a complex frame for solving global problems is not suitable by definition - too many checks and excessive universality ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question