A developer follow-up to an earlier 'Why Zig Over Rust' post examines Zig against C, noting both languages share goals of being small, garbage-collector-free, and close to the machine. The author highlights how C's common pattern of using goto for reverse-order resource cleanup on error paths is replaced in Zig by defer statements, illustrated with a user-allocation example compiled using Zig 0.17 and clang on macOS.
mtsoukalos.eu
· 2026-11-13
Microsoft's FORGE Lab used an AI-powered vulnerability scanner called Hyenas, built on its MDASH research system, to find several memory-safety issues in Rust's core and std libraries. The team identified three recurring patterns where unsafe code wrongly trusts other code not to panic, trusts user-supplied implementations to behave correctly, or trusts the underlying system, allowing undefined behavior even in programs written entirely in safe Rust.
forge-blog.github.io
· 2026-11-13
A newly published language called Goose introduces a memory-safe systems programming model that avoids a heap allocator, garbage collector, and lifetime annotations, instead placing all dynamic values on compiler-managed data stacks. Its creators report that across sixteen benchmarks Goose runs 3.3x faster than idiomatic C++, 1.16x faster than hand-optimized C++, and 1.12x faster than the fastest safe Rust code, while using 1.2x to 1.9x less memory.
aardappel.github.io
· 2026-10-24
Researchers disclosed PHP2Shell, a set of memory-safety vulnerabilities in PHP's core, covering two CVEs related to out-of-memory corruption and stale global state persisting across requests. The flaws affect any site running vulnerable PHP versions, even simple applications with secure code, and are not tied to any specific CMS. WordPress, Drupal and Joomla were used only as demonstration targets for unauthenticated remote code execution, and the PHP team has released fixes.
php2shell.com
· 2026-10-21
A commentator argues that Rust's growing adoption carries risks, pointing out that the Rust Foundation was founded by Amazon, Google, Huawei, Microsoft and Mozilla, and that a board seat costs $325,000 per year. The piece also criticizes the trend of rewriting existing, mature software projects in Rust purely for the sake of using the language.
oxetene.net
· 2026-10-14
Evan Ovadia has published details of a new borrow checker for the Valen programming language, which he describes as more flexible than existing systems. The design uses a single kind of borrow reference rather than the two typically found in other borrow checkers, and includes a feature that lets the compiler track where a reference points. Some syntactic features, such as auto-deref and direct struct indexing, are planned for a November release.
verdagon.dev
· 2026-10-11
Developers have released wpd, an open-source WebP image decoder written in Rust with handwritten assembly for performance-critical routines. The project aims to avoid the memory-safety bugs common in C-based decoders like libwebp, while matching or exceeding its decoding speed. Source code is available on GitHub under halidecx/wpd.
halide.cx
· 2026-10-03
A reply-post analyzing a reader's use-after-free bug in a limit-order matching engine argues that object pools change the nature of memory bugs rather than eliminating them. The author explains that without pooling, a freed-and-reused memory slot can let two different object types collide, potentially turning a stale pointer into a code-execution exploit via a mismatched function pointer. With pooling, the same logical use-after-free persists, but because the recycled memory always holds the same type, the dangerous type confusion is avoided—unless the object itself contains an inline tagged union, which reopens the original hazard.
matklad.github.io
· 2026-09-02