In this web content, the author discusses their experience in enhancing their tool called goMarkableStream by capturing gesture positions from a tablet’s screen and relaying them to the browser. They explore the use of WebSockets for message exchange and the challenges it presents. The author then considers using touch gestures on the tablet to send commands to control slide transitions. They describe the implementation process using Go for the server-side language and discuss the trade-off between using WebSockets and designing their own messaging system over HTTP. The author also highlights their decision to avoid third-party libraries and embrace simplicity in their development approach. The content concludes by emphasizing the value of simplicity and direct byte manipulation in software craftsmanship.
https://blog.owulveryck.info/2023/12/02/simplifying-complexity-the-journey-from-websockets-to-http-streams.html