LodeHQ
AI news for people who shipFree, by email

Dev · Wednesday, 3 June 2026 · Issue 9 · 12 stories

React Compiler Rust Port, Red Hat Hacked

Languages & Frameworks

Nine Rust Patterns That Mimic OOP Inheritance

The article walks through nine practical patterns, like trait default methods, enums, Deref, generics, and macros, that let Rust developers achieve inheritance-like behavior without class hierarchies. It targets programmers transitioning from OOP languages, showing how to share interfaces, behavior, and composition in idiomatic Rust.

medium.com ↗11 min read at source

Gravity.js Enables CSS‑Only Physics for Browser Games

Gravity.js is a lightweight JS physics engine that renders entirely with CSS, letting developers add realistic physics to DOM elements via data attributes, without canvas or WebGL. It supports dynamic, static, and kinematic bodies, collision detection with SAT, and integrates with State.js and Keys.js, making browser‑based games and interactive UI simpler.

github.com ↗8 min read at source

Tools & Platforms

Red Hat Cloud Services pipeline compromised via malicious npm package

On June 1, 2026, an attacker abused npm’s trusted publishing via a malicious GitHub Actions workflow to release compromised versions of Red Hat Cloud Services npm packages. The injected preinstall hook deploys a Bun‑based worm that harvests cloud, repository and password manager credentials and exfiltrates them. The incident highlights supply‑chain risks in CI OIDC token usage.

safedep.io ↗13 min read at source

AI-Assisted Development

Engineering Practice

Branchless quicksort beats std::sort and pdqsort in C/C++

This blog introduces blqsort, a branch‑less quicksort implementation available as single‑header C and C++ files. Benchmarks on Apple M1 and AMD Ryzen show it sorting 50 million doubles up to 25 % faster than std::sort and 30 % faster than pdqsort, with multi‑threaded variants even quicker. Source code is on GitHub.

tiki.li ↗3 min read at source

You’re caught up.

That was all 12 stories in the 3 June issue.