The HTTP crash course nobody asked for

The RISC Deprogrammer

A Possible Vision for Macros in Swift

Issue #282



A couple of cool articles I came across that didn't warrant being featured as the main articles. This one is on sound, this one is on object oriented programming, and this one is on how to make a Roguelike game.
One person said the themed issue yesterday was "fun", so I'll take that as overall positive feedback.
Oh also as a continuation to the troll/spammer saga (I mentioned yesterday how I was getting spam email sign ups for this newsletter), I added a captcha check when signing up for the newsletter on the website now. As a result of that, I had to disable the referral system for now, so if you're referring and not seeing your number change, that's why. For some reason using JavaScript to update the value of a hidden form input didn't work. No idea why. I know how to get around it, but it'll changing the whole sign up process in general, so I'll save it for when I feel like doing that.
I'm brainstorming ideas for a long-form article. Anyone have anything they'd like me to write?
Anyway, here's the issue.


Today's Sponsor: Could be you!

Are you or your company interested in sponsoring the newsletter? Feel free to reach out to me by replying to this email or clicking the link above.


The HTTP crash course nobody asked for

Published: 20 October 2022
Tags: http, networking

Amos discusses the HTTP protocol, specifically the 1.1 and 2.0 versions. He starts by discussing how HTTP works in general, then moves on to the practicalities of proxying HTTP 1.1 and 2.0. Amos also covers making HTTP requests, both with and without a proxy, and discusses the differences between the two versions of the protocol. The article ends with a discussion of some of the bugs that have been found in HTTP 2.0.


The RISC Deprogrammer

Published: 23 October 2022
Tags: cpu, hardware, riscv

Robert Graham discusses how RISC is a set of creative tradeoffs that were meaningful in the early 1980s but became less so by the late 1990s. Robert also discusses how modern CPU architectures aren't really that different.
Some highlights:

  • If you are looking for the one thing that defines RISC, it's the thing that nobody talks about: horizontal microcode
  • We've reached the point in tech where the instruction-set doesn't matter. It's not simply that code is written in high-level language. It's mostly that micro-architectural details have converged
  • Old ideas take a long time to die


A Possible Vision for Macros in Swift

Published: 17 October 2022
Tags: swift

"Macros are a feature present in a number of languages that allow one to perform some kind of transformation on the program's input source code to produce a different program". Doug Gregor presents why and how macros could be added to Swift.
Some highlights:

  • Macros make it easy to implement syntax in a language (rather than a new feature)
  • Special-built features can still be better than macros, especially when it comes to performance and understandability

How did I do?

5 4 3 2 1


Want to help?

Thank you for reading! If you enjoy the newsletter, I would really appreciate you helping me spread the word by forwarding this to your friends and colleagues or sharing it on social media! Get cool stuff for your referrals using your link

Your referrals:

If you want to discuss or comment on this issue, head on over to this page at A Byte of Coding. You can also subscribe there if you're new!

Have comments or feedback? Just reply to this email or hit me up on Twitter @AByteOfCoding.

Email landed in your promotions tab? Please move it over to primary so you don't miss the latest issues in the future.
Thanks for your Support! 

Big thanks to all of the Patreon supports and company sponsors. If you want to support the newsletter you can checkout 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.

Stats (updated daily)

Sent: 2989

Opens: 1410

Clicks: 540

Link Clicks Clicks % Unique Clicks Unique Clicks %
The HTTP crash course nobody asked for 148 55.64% 162 55.86
The RISC Deprogrammer 89 33.46% 96 33.10
A Possible Vision for Macros in Swift 29 10.90% 32 11.03


Back to Issues