Tofu
Languages and libraries
web framework
SHOW HN2012
49points
16comments
#481of 1,677 in 2012
Top 29%of 2012 by points
How HN took it
CuriousMostly questions and neutral comments
2 positive, 6 neutral or asking, 0 mixed, 1 critical, out of 9 comments about the project. Thread score -0.02.
Performance: 2 for, 0 againstIdea: 0 for, 1 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Commenters report good results with a C HTTP server as a base for web interfaces
From 1 comment
I've also had good success hacking a bare-bones routing infrastructure on top of mongoose, a single-file threaded HTTP/HTTPS server. I've had to read or step through the code a…
luser001 on HN
Objections
Why write a web framework in C at all
From 1 comment
Not to criticize unnecessarily, but what would anyone want to code web apps in C? I'm not saying rails, etc. are the be-all-end-all, but why C? To seem extreme?
aen1 on HN
Mongoose is not suited to serving many public users
From 1 comment
Another +1 for mongoose, it's great for adding a quick web interface to a c/c++ program quickly (ie. status or quick admin interface)... but I wouldn't use it as a web-framework…
dryicerx on HN
Questions
How fast is it compared to other frameworks
From 1 comment
So, is it super fast?
adriand on HN
What are other C web frameworks or ORMs
From 1 comment
not indicative of anything, i was able to compile check using "ab" a "hello world ap" with eventhttp; - sinatra request per second 442 - tofu requests per second 5909 Note that…
diminish on HN
Alternatives named
Mongoose
From 1 comment
I've also had good success hacking a bare-bones routing infrastructure on top of mongoose, a single-file threaded HTTP/HTTPS server. I've had to read or step through the code a…
luser001 on HN
Nginx modules
From 1 comment
I've recently looked at extending Nginx for my own gains. This has several advantages over such frameworks. For example, you can serve both flat files and dynamic (C) content…
alexchamberlain on HN
Mongrel2
From 1 comment
Another possibility is to make your C program handle requests over ZeroMQ and stick it behind Mongrel2: http://mongrel2.org/
pjscott on HN
Sinatra
From 1 comment
not indicative of anything, i was able to compile check using "ab" a "hello world ap" with eventhttp; - sinatra request per second 442 - tofu requests per second 5909 Note that…
diminish on HN