Plurrrr

Fri 28 Oct 2022

Early speed optimizations aren’t premature

As you code, you might have a coworker, or friend, or a little voice in your head, reminding you of Knuth’s famous saying: “premature optimization is the root of all evil.” But what makes an optimization premature, anyway?

The short answer is that this aphorism is a tautology. “Premature” means “too early,” so we can rephrase the point as “doing things at the wrong time isn’t ideal.” Can’t argue with that!

The problem with this saying is that many people wrongly interpret it as “early optimization is the root of all evil.” In fact, writing fast software from the start can be hugely beneficial.

Source: Early speed optimizations aren’t premature, an article by Itamar Turner-Trauring.

Swift vs. Rust: Comparison guide

With their diverse use cases, Rust and Swift share numerous similar features. The languages are both general-purpose and provide modern programming features.

While Apple built the Swift programming language to replace Objective-C and the Mozilla Foundation built Rust as a substitute for C++ for writing memory-safe code, the languages have increased in popularity amongst the developer community.

Source: Swift vs. Rust: Comparison guide.

Ted (2012)

John Bennett, a man whose childhood wish of bringing his teddy bear to life came true, now must decide between keeping the relationship with the bear, Ted or his girlfriend, Lori.

In the evening Esme, Alice, and I watched Ted. I liked the movie just a little so a 6 out of 10.