On 2013-12-20 21:21:22 +0000, Larry said:
Hello,
I am not really confident on this one, but could D be interfaced with Nginx ?
It would be nice to replace python but if not easily doable, then it is
a no-no for me.
Any clue on it ?
Thanks
Sure you can. There are three options:
1. Make nginx act as a reverse proxy forwardind all traffic to some
socket. You can use vibe.d this way
2. Make a D fastcgi process and point nginx to it. There is Adam
Ruppe's cgi.d implementation for example.
3. Write an extension for nginx and use its internal api. Nginx is
written in C and D can easily interface with C