Interactive introduction to [OpenVSCode Server]

C++20 Coroutine Iterators

Implementer's Guide to WebSockets

Issue #98

9/29/2021

A Byte of Coding Issue #98
Greetings
For some reason the articles have been very networking heavy the past two days. I guess we'll all be experts! Here's the issue!

Interactive introduction to [OpenVSCode Server]

Published: 29 September 2021
Tags: typescript


Just a heads up, this page kind of sucks to read on a mobile. If you want to go through with it, just minimize the side panels. "OpenVSCode Server is a fork of VS Code that extends the editor to be runnable in the browser, speaking to a web server that provides a remote dev environment". This article uses the source code to demonstrate how the this is achieved, including the setting up of two RPC channels, an HTTP server, and upgrading to a websocket server.

Read Full Article

C++20 Coroutine Iterators

Published: 23 September 2021
Tags: cpp


A coroutine is a function that can suspend execution to be resumed later. This makes them especially useful for generator style functions or infinite lazy-computed sequences. This article by Martin Bond implements an "iterator to the [previously defined] template to support the range-for loop and iterative algorithms". Martin also makes a note of features/quirks from previous versions of C++.

Read Full Article

Implementer's Guide to WebSockets

Published: 28 September 2021
Tags: javascript


Want to put some code to a protocol (bastardization of putting a face to a name)? As a follow up on yesterday's article about web communication protocols, the author of this article completely implements a peer-to-peer ready, WS13 protocol supported websocket in JavaScript, with a focus on "the underlying network protocol and frame parsing mechanisms".

Read Full Article
Want to discuss the issue? 

If you want to discuss or comment on this issue, head on over to this page at A Byte of Coding.
Twitter
Website
Thanks for your Support! 

Thanks to sponsors and supporters like Євген Грицай, Scott Munro, zturak, pek, Emil Hannesbo, and Joe Hill this newsletter is provided to you for free. If you'd like to also show your support and buy me a monthly meal, you can donate on the Patreon page. It's not necessary, but it lets me know that I'm doing a good job and that you're finding value in the content.
Donate Here

Stats (updated daily)

Sent: 2096

Opens: 1263

Clicks: 330

Link Clicks Clicks % Unique Clicks Unique Clicks %
Implementer's Guide to WebSockets 134 40.61% 113 42.32
Interactive introduction to [OpenVSCode Server] 93 28.18% 71 26.59
C++20 Coroutine Iterators 79 23.94% 64 23.97
Today's Sponsor: Jamstack Conf 13 3.94% 9 3.37
A Byte of Coding 9 2.73% 8 3.00

Previous

Back to Issues

Next