Live data from Hacker News

Web development in C: Crazy?

medium.com

1–10 of 213 posts

Re: Web development in C: Crazy?

#2
I wrote a little backend section in C once to do a FFT on some data and it ended up being 7 times faster or so than the perl the rest of the backed was written in. It made sense there.

Developing a whole CRUD app in C however? Seems like it would feel like digging a swimming pool with a spoon.

Re: Web development in C: Crazy?

#5
So, people can't hardly write safe web apps in PHP without spraying XSS and auth bypasses and arbitrary shell executions and arbitrary SQL injections everywhere, and you also want to hand the attackers the ability to segfault your server or possibly even straight-up run arbitrary code?

Anyone smart enough to truly safely code a website in C is smart enough to learn a language to create that website which doesn't get on all fours and beg to be owned.

Yes, I mean that 100% seriously. If you're smart enough to safely write that C code, you won't. If you aren't smart enough to write that C code safely... and the first clue that you aren't is that you think that you are... you don't stand a chance. It's suicidal.

Re: Web development in C: Crazy?

#6
You think? Cpoll[1] is actually on top of the techempower web framework benchmark [2]

onion to be honest looks more like a http server generation framework. similar to what rob fitzpatrick was talking about when he was advocating gos net/http. but then again what do i know i haven't tried any of them.

Personally, even though ruby makes my salary I like C. Always did. Treefrog looks the most like a modern web framework to me. [3]

[1] http://sourceforge.net/projects/cpollcppsp/

[2] http://www.techempower.com/benchmarks/

[3] http://www.treefrogframework.org/documents/tutorial

Re: Web development in C: Crazy?

#8
post #6

You think? Cpoll[1] is actually on top of the techempower web framework benchmark [2] onion to be honest looks more like a http server generation framework. similar to what rob fitzpatrick was talking about when he was advocating gos net/http. but then again what do i know i haven't tried any of them. Personally, even though ruby makes my salary I like C. Always did. Treefrog looks the most like a modern web framewor…

Treefrog is coming in Round 7 [1]. (And sorry, we still don't have an ETA for Round 7 but we are hoping for this month.)

[1] https://github.com/TechEmpower/FrameworkBenchmarks/pull/283

Post reply on HN