⬆️ ⬇️

Web server on D?

Reading the official twitter channel of the D language, I got to an interesting post about a new engine on D ( vibe.d ) for developing web applications, well, or even a web server.

It became interesting - it is useful to look and understand!



Honestly, on the site vibe.d found more than I expected. As for the young and completely new engine, they have quite a considerable API list. Out of the box there is immediately work with mail, sessions, authentication, HTML templates, and of course, the base. True, the driver is only for MongoDB and Redis. Although nothing is written on the site of the engine itself about Redis, there is a certain implementation of it (I did not personally check it).



One of the interesting facts is that, according to the author of this miracle, the input / output of its engine is asynchronous and work through, notorious, libevent . The engine also supports multithreading.

The site has a lot of examples and descriptions. Not bad documented and painted API.

')

PS It's good that there are still such enthusiasts who are ready and not afraid to do something like this from scratch, not paying attention to criticism from a considerable community of programmers about their "extraordinary" choice of language!

Sources here .

Source: https://habr.com/ru/post/142964/



All Articles