Project: Coding an Http Fetch library for C (using zero libraries!)

preview_player
Показать описание
In this programming project we will create our very own C version of the Fetch function in Javascript. Fetch will make an outgoing Http connection to a webserver and let the programmer decide what to do with the data.

And this project will be built with zero dependencies. I'm not even allowed to use the standard C library, nor its wrapper functions for system calls. I need to write exactly everything from scratch.

This is a recording of the "Constrained Livestream" I made on Oct 18, 2024.

In this episode you will learn a lot about how a library is built and how stuff works under the hood, below all the cousy standard C functions. You'll learn about pointers and structures and system calls, network connections and so on.
Комментарии
Автор

This is something I have always wondered about.

Eren_Ozdemir
Автор

That is absolutely incredible! I would love to see an implementation of a frontend framework in C (Ofcourse nothing too crazy) but something with basic state management in a dom would be pretty cool.

zorark
Автор

Thanks for all your hard work! Looking forward to watching this one.

PreRenderedRealities
Автор

Thanks Dr Jonas Birch. I would love to see an implementation of the `tail` function from scratch. I had got this to implement in the machine code round of a company. It would be very helpful if you could make a video on it.

prashinparikh
Автор

Hi, thanks for the video.. Do you know guys where the repo is?

iasoto
Автор

Strange that you decided on using last digit of bitlength of the type for cast macro instead of just the legth in bytes, like $1, $2, $4, $8

rogo
Автор

This was requested by me, thanks a lot.
Also, can i follow this video in windows ? Or i should use linux ..

emptycode
Автор

Why’s ur code in a ~/.sociopath directory lol

tweetyguy
Автор

Too many ads man, almost impossible to watch. 1-2 minute ad cycles every 10 minutes of content. Very unfortunate. Good content, but impossible to watch with that many ads.

cryptoeraser