Y
Y
Yan Swift2016-02-04 09:05:03
C++ / C#
Yan Swift, 2016-02-04 09:05:03

Is it possible to program Web applications in C, C++?

Is it justified to create sites in C, C++? What tools and resources exist?

Answer the question

In order to leave comments, you need to log in

6 answer(s)
I
Ivan Kozlov, 2016-02-04
@trampick

php server is written in C. You can write the server on the basis of any protocol (for example http). I wrote in the process of learning the server http. I could give out html pages with images loading on the ip of my machine, depending on the request. So 100% possible. I think that there are even ready-made libraries.

O
OnYourLips, 2016-02-04
@OnYourLips

Technically, this is possible; many web applications on routers and other embedded systems are written this way.
But for ordinary startup or enterprise projects, it is impossible to write in these languages ​​for other reasons: the time and cost of development increase and the quality decreases (lack of necessary frameworks and libraries, memory errors typical for lower-level languages, etc.)

J
jackroll, 2016-02-04
@jackroll

https
://habrahabr.ru/post/154187/stackoverflow.com/questions/417816/how-popular-is-...

S
sitev_ru, 2016-02-04
@sitev_ru

I write sites, including those in C++, it's okay... Here's an example: sitev.ru
How does it work? The structure is something like this: first there is a web server, a CMS on top of it, and then a site builder...
Here are the sources: https://github.com/sitev
If you are interested, I can tell you in more detail...

N
nekipelov, 2016-02-04
@nekipelov

Usually services/backends of highly loaded sites are written in C/C++. Services can quite often work over the http protocol. Examples: yandex.ru, mail.ru, sputnik.ru services.
I did it for myself: https://github.com/nekipelov/hserv

A
Airat1995, 2016-02-04
@Airat1995

FastCGI will help you, although it is very difficult and justifies itself only in situations where speed is critical, but at the same time you will spend more time. Here you can read about it https://habrahabr.ru/post/154187
Also look at this https://habrahabr.ru/post/142585/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question