I made a web server In C like a true sigma

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

It was out of fear for this day that browser developers didn't allow the remote execution of C code.

_Channel_Deleted_
Автор

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

blablabla
Автор

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

JamesNewton
Автор

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!

billy
Автор

My man using C and Vim? Absolute god-tier programmer. I aspire to be as based as this one day

bakedgiraffe
Автор

I freaking love that coding kind of imbues us with this chaotic energy that makes us do *whatever* because we can 😂😂😂

ColdFuse
Автор

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

addowhite
Автор

Writing an multi threaded web server using only std is literally the main example in the Rust book 💀💀💀

aslkjfdasfkjdaskljfajklsfa
Автор

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 🙂

dimiutube
Автор

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

jaywilzon
Автор

Only 121 subs ? I thought this was already a big tech channel 😮 Keep going !

knbster
Автор

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

patrickdavis
Автор

This guy sleeps on the warm side of his pillow.

LalanDesai
Автор

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

brumarul
Автор

The C language is one of the most important human developments of the last 50 years.

rdubb
Автор

If I had to implement route mapping I would suggest using a Trie. It is simpler than a balanced BST, has better time complexity and extending it to support common features like catch all routes (/catch-all/*) and slugs (/products/:slug:/p) is very straightforward.

sywker
Автор

Jesus Christ, not only is he writing C code in VIM but he is also using Linux, not any Linux distro, but an RPM based distro. 👏🏾👏🏾👏🏾 a fellow man of culture, Based.

premiumshiptosts
Автор

honestly I feel like 50% of C's problems would be solved if arrays just knew their own fucking length

MxSlfDstrct
Автор

This video remembered me, why I prefer using c# instead of its ancestors 😁

KeyboardKrieger
Автор

you know this guy is the real deal when he uses geeks for geeks

omar_benaidy