This is an excellent educational project. The code is clean and easy to understand. I probably wouldn't actually use it in production, cuz there's no checking for overruns, Etc. But as a way to learn what's actually involved in a web server I haven't seen a better example. I especially liked the binary search/ map
That was the first exercise for the course operating systems in my Uni. We built a multithreaded server from scratch in c, utilizing pthreads, signals, sockets, mutual exclusion for the db, and synchronization of the incoming requests using a FIFO queue. One of the best projects actually!
Lvl 0 programmer: oh X is the best programming language because of reasons A, B, C Lvl 1 programmer: you should use the best tool for each job and not be dogmatic about any particular programming language Lvl 10 programmer: write it in C anyway lulz
This guy sleeps on the warm side of his pillow.
I remember watching this vid 1 year ago, beeing like, who tf would do that in c.... Year 2 in uni, implement an async server in c.... I hate my life..
My man using C and Vim? Absolute god-tier programmer. I aspire to be as based as this one day
For anyone looking to do this in production (I reduced my AWS bill by switching from Python to C/GO), I can recommend Ulfius or libonion
We actually had this as an assignment in our computer science course at uni and I found it a great learning experience for both C and HTTP/IP
I freaking love that coding kind of imbues us with this chaotic energy that makes us do whatever because we can 😂😂😂
Bro this was awesome. I would absolutely love to see more of these web servers in C series. Also, you have inspired me to try this myself :)
Only 121 subs ? I thought this was already a big tech channel 😮 Keep going !
Next logical step: Assembly
The cool thing will be to get to a point where you can run a performance benchmark against stuff like apache iis and node express. Or even that new rust framework leptos
Writing an multi threaded web server using only std is literally the main example in the Rust book 💀💀💀
The project is interesting, I did the same for a tp at the university. Once you do one of these you really understand how the web works
bro so pro making the impossible possible in 3 minutes
Pretty nice 🙂It remembers me the old days where we had to create lots of programs using C and C++ and we didn't have a nice editor with all the syntax highlighting and code completion... sigh But it was a lot of fun 🙂
The C language is one of the most important human developments of the last 50 years.
Here before 1mil views. Good job man!
@_Channel_Deleted_