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






This email was sent to <<Email Address>>
why did I get this?    unsubscribe from this list    update subscription preferences
A Byte of Coding · 750 Fowler St NW · Atlanta, GA 30332-1914 · USA

Stats (updated daily)

Sent: 2096

Opens: 849

Clicks: 336

Link Clicks Clicks % Unique Clicks Unique Clicks %
Interactive introduction to [OpenVSCode Server] 95 30.45% 72 28.57
C++20 Coroutine Iterators 79 25.32% 64 25.40
Implementer's Guide to WebSockets 138 44.23% 116 46.03

Previous

Back to Issues

Next