I originally built this tool to see what happened if one wrote a web server from scratch and made it face the public web (I also nudged some communities to crash it intentionally). It was a fun experience and I used that small server to host my website since then.
Over time, I learned about managing a VPS and the hassle involved with certificate management. I also wanted to host multiple websites on the same server. For these reasons I worked for about a year to add virtual hosts and automatic HTTPS by implementing the ACME protocol (RFC 8555). The new server is currently hosting https://coz.is
Hello hackers! This is a project I've been working on for fun, trying to mix the procedural paradigm of scripting languages with the declarativeness of HTML. Coming up with a good grammar was tricky, but I think I found a cool balance. I find it extremely fun to use! Looking forward for your feedback.
> I used to think (well, I still do) that getting a barebones service up and running using the system APIs at the lowest level like this is so satisfying. It's sort of magical, really
Totally agree. And actually using them is even more satisfying. I'm starting to get curious about email protocols..
> I'm kind of surprised that the vanilla poll() can put up numbers like you were seeing
Me too. I assumed I was going to go with epoll at some point, but poll() is working great.
I originally built this tool to see what happened if one wrote a web server from scratch and made it face the public web (I also nudged some communities to crash it intentionally). It was a fun experience and I used that small server to host my website since then.
Over time, I learned about managing a VPS and the hassle involved with certificate management. I also wanted to host multiple websites on the same server. For these reasons I worked for about a year to add virtual hosts and automatic HTTPS by implementing the ACME protocol (RFC 8555). The new server is currently hosting https://coz.is
Previous discussions:
https://news.ycombinator.com/item?id=41642151
https://www.reddit.com/r/C_Programming/comments/1falo3b/usin...
https://www.reddit.com/r/hacking/comments/1fcc5hd/im_using_m...