07-30-2024

Garbage Collection and Closures

A fun little discovery by Jake Archibald. New Javascript developers receive an out of season Christmas present (unless its Christmas Day) when they learn about closures for the first time. Having first-class functions is already great but the fact they carry their entire lexical scope with them can be super powerful when used correctly. Unfortunately, there’s always tradeoffs.

https://jakearchibald.com/2024/garbage-collection-and-closures/

Serverless Runtime/Database Co-Design With Asynchronous I/O

The paper dives into the issues with SQLite and why it struggles with concurrency and multitenancy. It then proposes a solution to the problem along with some benchmarks.

Why you should care: as cloud providers continue to expand their range of services, edge databases are becoming a more enticing offer. The idea of cheap, fast, and low latency data across would make an ecommerce CTO cry probably. What are the current technical hurdles in this space? What challenges do the cutting edge companies need to solve in order to bring this idea to their complete vision?

This is a bit out of my own wheelhouse admittedly but nonetheless I enjoy finding out about cool research. One of the co-authors on this paper is Pekka Enburg, the founder and CTO of Turso which is a edge database provider relying on SQLite as their technical foundation.

https://penberg.org/papers/penberg-edgesys24.pdf

Introducing XState Store

It’s always a treat when a new TKDodo article drops. This one just introduces a new state management solution from XState that has an API closer to zustand and redux-toolkit (commonly abbreviated as RTK).

One thing I appreciate from Dominik here is that he warns against immediately jumping into a state machine library for your simple app which has a button and a counter. However I’ve written enough apps with complicated local state that I regret not thinking of them more like state machines to begin with.

With a sleek and slim API, maybe this can be your entry into state machines.

https://tkdodo.eu/blog/introducing-x-state-store

Reverse Engineering for Noobs

Honestly? I’m not even sure what this is but you should check it out and report back. From the 🔥 ASCII art to the concept, it is one of the coolest sites I’ve seen in a minute. I just got here and I already feel 1337hax0r-y.

In the short term, my goal is to introduce you to reverse engineering both conceptually and practically

Heck yeah that sounds awesome.

https://x86re.com/