Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Can you believe some of us crazy people still do this?

https://git.zx2c4.com/cgit/ cgit is the git repo frontend for projects like wireguard

https://undleadly.org has its source code in the sidebar for you to check out in C as well

https://learnbchs.org/ key is OpenBSD or other OS's (less easy to use) sandboxing if you're going to do this remotely safely - check this for more https://learnbchs.org/pledge.html



While not a single C file, Fossil SCM also uses C with HTML inside it (it uses a custom preprocessor[0] for it), e.g. check the chat.c file[1]. The entire program ends up in a single binary file too.

[0] https://fossil-scm.org/home/file?name=tools/translate.c&ci=t...

[1] https://fossil-scm.org/home/file?name=src/chat.c&ci=trunk


If your entire C app is in one file you must be really into pasta cause that's spaghetti


look at antirez' kilo repo sometime. single file stuff is pretty great, not necessarily bucatini




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: