Understanding bytes in Go by building a TCP protocol ↦
For folks that do not have experience with lower level languages, understanding bytes and how to work with them can be challenging.
That’s why I wrote this article, taking a simple idea such as a Slack chat, turning the interactions (join/leave channel, send message to channel or user, etc) into a TCP protocol. Then I show the reader how they can implement the protocol in Go, by building a concurrent TCP server and learn more about bytes and working with bytes in the process.
I love it when people take things we do understand (like basic Slack interactions) and use them to teach us something we don’t understand (how to build a TCP protocol).
Sign in or Join to comment or subscribe