Daily Edition · Page 4

THE DAILY INDEX

Technology, AI, software, security, crypto and business

ARTICLES & TUTORIALS

TLDR Web Dev

WERE MULTIPLE RETURN VALUES GO'S BIGGEST MISTAKE?

Go's multiple return values create unnecessary complexity because they aren't true tuple types, making it harder to store and pass function results. This design choice negatively affects error handling, concurrency, and generic programming, leading to workarounds like defining custom structs. A better approach would have been using proper tuple types, which could improve Go's consistency without breaking backward compatibility.

WHAT KILLED INNOVATION?: THE PAST DECADE OF INTERACTIVE GRAPHICS, A BRIEF RECOUNTING

There's a plateau in creativity within the data visualization field, especially in interactive web graphics. The early 2010s had lots of innovation driven by technologies like D3.js. Factors contributing to this plateau include the dominance of mobile consumption, the demand for quick and easily digestible content, and a decreased investment in bespoke visualizations due to economic pressures.

WRITING YOUR OWN C++ STANDARD LIBRARY FROM SCRATCH

Frustrated with the STL's compile times and limitations, this developer aimed to create a smaller, more manageable alternative inspired by the Python stdlib. He created pystd, which contains under 1,000 lines of code - it compiles much faster than the STL equivalent. A key feature of pystd is its perfect ABI stability achieved through yearly releases with separate namespaces, allowing developers to update at their own pace and maintain compatibility with older code.

IO DEVICES AND LATENCY

Non-volatile storage has evolved from tape drives to hard disk drives (HDDs) and solid-state drives (SSDs). While tape storage is cost-effective for large-scale archiving, HDDs and SSDs provide faster access speeds, with SSDs eliminating mechanical components for lower latency. Cloud computing introduced network-attached storage, which is scalable, but introduces latency and IOPS limitations compared to directly attached storage. PlanetScale Metal is a hybrid that uses directly-attached NVMe SSDs in a replicated Vitess+MySQL cluster to overcome the shortcomings of network-attached storage.

TLDR IndexPage 4