Wed 07 Jul 2021

Extensions are moving away from the kernel

From the outset, Mac OS X and macOS have been designed around a relatively small kernel which is given additional capabilities by kernel extensions. The kernel itself runs at a highly privileged level, giving it most direct access to resources such as the processor, memory and hardware devices, often known as Ring 0. Kernel extensions operate at a close level of privilege (Ring 1) so that they too can make hardware such as ethernet and Thunderbolt ports work, and they’re loaded once the kernel itself is running, before the rest of macOS. Big Sur’s kernel has just over 550 standard kernel extensions which extend it to make everything else work.

Source: Extensions are moving away from the kernel, an article by Howard Oakley.

The idea behind functional programming

The most popular programming approach within the declarative family is a functional paradigm, with its more conservative cousin — pure functional programming. Writing programs in this manner requires using composable functions encompassing conditions and expressions, preferably without side effects. Those functions are treated as first-class citizens and thus are valid arguments for other functions. It is common to construe logic where one parameter (data) is treated as an argument for the other parameter (function). This concept is present in implementations of map, reduce or fold, widespread across the programming world, and based on a functional approach.

Source: The idea behind functional programming, an article by Michał Skoczylas.

WebSockets vs. HTTP

In realtime applications it goes without saying that we need information from our servers as soon as it’s available – and, fundamentally, the classic HTTP request/response paradigm isn’t up to the job. That’s because the server will be silent, new data or not, unless or until a consumer requests an update.

Source: WebSockets vs. HTTP, an article by Martin Fietkiewicz.

Stories of Your Life and Others

Stories of Your Life and Others delivers dual delights of the very, very strange and the heartbreakingly familiar, often presenting characters who must confront sudden change—the inevitable rise of automatons or the appearance of aliens—with some sense of normalcy. With sharp intelligence and humor, Chiang examines what it means to be alive in a world marked by uncertainty, but also by beauty and wonder. An award-winning collection from one of today's most lauded writers, Stories of Your Life and Others is a contemporary classic.

In the evening I started in Stories of Your Life and Others by Ted Chiang.

I have already seen the movie "Arrival" which I liked a lot so I look forward to read this short story collection.