3 ms·
Whats with the recent slew of c++ based web app libs? could it be that in round 6 of the techempower benchmarks, cpp basically won every in category raising int
by escaped_hn 13y ago
Whats with the recent slew of c++ based web app libs? could it be that in round 6 of the techempower benchmarks, cpp basically won every in category raising interest in it for web stuff?
- mehrzad 13y agoMost of these aren't new, but just suddenly everyone posted them on this one day.
- running_foo 13y agoI suspected the same thing. People found that their favorite popular language was at the bottom of the list, and naturally they're curious about frameworks for the faster languages. Exploration is healthy, but realize C/C++ does not have the friendly, extensive and reliable web developer ecosystem that Ruby/JavaScript/Python/PHP has. If you want an in-between, check out Lua/OpenResty/Lapis.
- bhauer 13y agoIt looked as if a sort of a snowball effect occurred on the HN "new" page this afternoon. I laughed when I saw the third show up (see comment below). I personally could never stomach doing web development on C or C++. The C++ source code to the CPoll-cppsp test [1] makes me cringe in fear (no offense, xaxaxa!) But if there are those willing to give it an honest go, I'm not going to criticize them. Caution them, as you have, that it may be a frustrating exercise? Sure. That said, I think modern Java, Go, Scala, Erlang, Haskell, and Lua are all worth considering. [1] https://github.com/TechEmpower/FrameworkBenchmarks/blob/master/cpoll_cppsp/www/db https://github.com/TechEmpower/FrameworkBenchmarks/blob/mast...
- plorkyeran 13y agoHave you looked at the sample code for Wt? I wouldn't describe it as beautiful, but it's closer to Java than that code.
- bhauer 13y agoYou're right, that looks quite clean! Still, C++ is not my particular cup of tea. That doesn't diminish my desire to see Wt and CppCMS added to our benchmark suite, though.
- jacques_chester 13y agoHN snowballs because folk will see links in a popular post and post those links.
- Moto7451 13y agoSome people like C++. I think it probably has a connection to the techempower benchmarks but I've gone looking around at different C++ frameworks for use in my yet-to-be-made home page. I work day in and day out these days in Perl, C#, JS, and Objective C. Sometimes it's nice to take a step back to my C++ roots.