Hacker News new | past | comments | ask | show | jobs | submit | cozis's comments login

I'm not OP. Just something cool I found online!

it's just a few lines because you're hiding the other ones


This post was of great inspiration! It made me realize something like this was doable


> 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.


httpdito looks incredible


glad you like it!


Hey, the code looks really good! Thanks for sharing. I'll probably go through it a bit later :)

P.S. Love the indentation


Hey, just checked. Server didn't crash. I wonder what happened?


Hello everyone! This is a fun little project I started in my spare time and thought you'd appreciate :)


I find it an interesting excersize to read through really old bugs and CvE for http servers to see what might affect my code too. and see how to fix it. nic3 going though =) fun to roll this kind of stuff yourself!


Appreciated indeed. I happened to want to mess around with the C11 concurrency API and write a server of sorts, mostly as a curiosity of how those constructs work out in C coming from C++.


Amazing! I would have NEVER thought of that! That's just another level of "following the standards"


I think it boils down to the ability of being able to divide a big problem into smaller parts and understanding in what order you need to takle them. The more you try building big things the better you get at doing it.

After getting into university I decided to build an interpreter[0]. For someone who didn't even have the notion of a parser, it just felt like an unaproachable task. Even though, I sticked to it and the architecture became clear in time. That's another thing, even if you try to build something and miserably fail at it at each iteration, you still get better at it. The feeling of the task being too vast and daunting is just a feeling and knowing there's something on the other side makes it easier to power through it.

Hope to see your database on HN someday! :^)

[0] https://github.com/cozis/Noja


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

Search: