Simon Willison’s Weblog

Subscribe

Sunday, 15th May 2022

Why Rust’s postfix await syntax is good (via) C J Silverio explains postfix await in Rust—where you can write a line like this, with the ? causing any errors to be caught and turned into an error return from your function:

let count = fetch_all_animals().await?.filter_for_hedgehogs().len();

# 2:27 pm / async, rust

How Materialize and other databases optimize SQL subqueries. Jamie Brandon offers a survey of the state-of-the-art in optimizing correlated subqueries, across a number of different database engines.

# 8:24 pm / sql

2022 » May

MTWTFSS
      1
2345678
9101112131415
16171819202122
23242526272829
3031