TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Raphters: A web framework for C

105 pointsby l0gicpathover 11 years ago

10 comments

danpalmerover 11 years ago
This seems to be quite well written. However, this is a really bad idea for anything other than learning&#x2F;hobby work. Writing a web application in C is just asking for security trouble.<p>Writing in C introduces whole families of vulnerability that aren&#x27;t a problem in most other languages. Format string vulnerabilities and buffer overflows are the two that immediately come to mind, and these will be added to the normal host of web application security considerations like SQLI, CSRF, XSS, etc.
评论 #6911114 未加载
评论 #6913119 未加载
评论 #6912369 未加载
AlexanderDhooreover 11 years ago
Seems like a good option for hardware devices like routers, firewall appliances, ... This won&#x27;t be the next agile, ninja hacker, 1337 web development platform. But it could have it&#x27;s own niche of the market.
评论 #6910983 未加载
评论 #6910878 未加载
评论 #6912695 未加载
jnbicheover 11 years ago
This is a cool project, but if you&#x27;re looking for something that is safer and yet runs at similar speeds and requires similarly low memory levels, I suggest vibe.d -- D&#x27;s primary web framework[0]. It&#x27;s progressing very quickly.<p>0. <a href="http://vibed.org/" rel="nofollow">http:&#x2F;&#x2F;vibed.org&#x2F;</a><p>Edit: Added &quot;safer&quot;, which was my original point here that I forgot to include.
评论 #6911081 未加载
vezzy-fnordover 11 years ago
This is two years old. Another web application framework in C is Klone: <a href="http://www.koanlogic.com/klone/index.html" rel="nofollow">http:&#x2F;&#x2F;www.koanlogic.com&#x2F;klone&#x2F;index.html</a>
评论 #6911538 未加载
评论 #6914142 未加载
评论 #6920435 未加载
评论 #6911152 未加载
pjmlpover 11 years ago
&quot;If you’re a C developer looking for speed (and security) you might give Raphters a look for your next web project.&quot;<p>I had a laugh, mixing C and security on the same sentence.
评论 #6911120 未加载
emmelaichover 11 years ago
Obligatary on-topic comment: seems like a lot of code for a not a lot of result; I would like to see templates (with optional template parms) used to provide the &#x27;usual&#x27; values. (yes I know templates aren&#x27;t C, but you can use them minimalistically since they&#x27;re orthogonal to the rest of C++.)<p>Digression comment: Has anyone used GWAN? It looks awesome, but the website hints at some eccentricity. <a href="http://gwan.com/" rel="nofollow">http:&#x2F;&#x2F;gwan.com&#x2F;</a>
评论 #6912706 未加载
评论 #6913949 未加载
marshallyover 11 years ago
I wouldn&#x27;t say I&#x27;ve been missing it, Bob
msutherlover 11 years ago
Ah, RAPHT is so much clearer than MVC: <a href="https://github.com/DanielWaterworth/Raphters/blob/master/RAPHT" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;DanielWaterworth&#x2F;Raphters&#x2F;blob&#x2F;master&#x2F;RAP...</a>. I would love to see more projects adopt this architecture.
评论 #6913530 未加载
leokunover 11 years ago
How do the templates work? I&#x27;ve only ever used ClearSilver templates with C.
评论 #6911702 未加载
phaedover 11 years ago
A masochists&#x27; best friend. All joking aside, good job.