First version of HTTP came out in 1997, do you really think that most of the traffic on the web today still uses it? Over time there has been a great evolution of the protocol, with 2 new versions released that are not compatible with the original standard, turning it into a totally different protocol and no longer text-based.
However, most developers don’t even know what we’re talking about, what about a deep dive?
In recent years, more and more programming languages are introducing green threads internally, a type of concurrency that is built by abstracting native OS threads using the language’s runtime.
They may have various names, but the concept is always almost the same: coroutines, virtual threads (Java 1.19+), goroutines (Go), fibers (PHP), etc.
But… Why? As we will see, they are great for I/O bound tasks, and we will analyze the logic behind Go’s implementation, which is one of the most mature.