News for hackers. Stuff that matters.
Re:C++ coroutines: Initial implementation pushed to master by 72deluxe on Sunday January 19, 2020 @08:06AM (#22091231)
You are correct, thanks. My comment comes across as very irritated, but it's the same argument that will continue to the end of time I guess - "this tried, tested and widely used language is broken because it is not language $x and because it lacks this edge-case invented usage scenario even though it works adequately for 99.9% of all other scenarios as demonstrated by decades of use". It's wearying. Sure, C++ is complicated but so is English!

I thought nginx was C++?

I also thought large portions of Windows are C++? Everybody loves COM!

Re:C++ coroutines: Initial implementation pushed to master by jefftk on Sunday January 19, 2020 @08:15AM (#22091270)
Nginx is C, and the authors really don't like C++.

(I used to work on ngx_pagespeed, which was a C++ server module that plugged into Nginx to rewrite pages so they would load faster.)

Re:C++ coroutines: Initial implementation pushed to master by 72deluxe on Sunday January 19, 2020 @08:32AM (#22091337)
Thanks for the info!

Did they approve of your module?

Re:C++ coroutines: Initial implementation pushed to master by jefftk on Sunday January 19, 2020 @09:29AM (#22091577)
They liked that we were building something cool for their server, but our approach was so different from theirs (in ways that went way beyond the language) that our module wasn't ever going to become officially part of Nginx or anything.