Advent of Code 2026
Advent of Code 2026 begins December 1 at midnight EST (UTC−5), when the first puzzles unlock. The annual programming puzzle event also offers calendars, leaderboards, and stats. (adventofcode.com)
Rust 1.100 stabilizes a minimum viable version of Rust’s allocator API, enabling programs to choose allocation strategies for specific data rather than relying only on a global allocator. One example is a bump allocator for bursty workloads such as web requests or database queries: it serves many allocations cheaply from a reserved block, then releases the whole block at once. This can avoid the cost of individually dropping large, nested structures, though it may increase peak memory use and is not appropriate for every allocation pattern.
Custom allocators can also track memory use and influence where memory lives. A wrapper can count allocated bytes, supporting decisions such as evicting cache entries, using available memory for sorting, or enforcing sandbox limits. The Thresher crate adds threshold callbacks while reducing atomic-counter overhead by combining local and global accounting; it is used to trigger heap profiles for Rust services when memory crosses a configured limit. For placement, a stack-first allocator can serve small allocations from a fixed stack buffer and spill larger ones to the heap, much like small-vector designs. The discussion also introduces stronger-than-usual alignment as a way to match external requirements, beginning with Linux disk reads and the kernel’s page cache.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.
Advent of Code 2026 begins December 1 at midnight EST (UTC−5), when the first puzzles unlock. The annual programming puzzle event also offers calendars, leaderboards, and stats. (adventofcode.com)
Sebastian Raschka’s beginner-friendly PyTorch tutorial covers tensors, automatic differentiation, neural network training, data loaders, and model saving. It also explains GPU acceleration, including training across multiple GPUs, to help readers build deep learning models such as LLMs. (sebastianraschka.com)
Cory Doctorow recalls Vernor Vinge’s visionary novel *Rainbows End* and the friendship and encouragement he shared with its author. He connects its vision of personal computing to vibe coding, while asking who will build and maintain the free and open-source software it depends on. (pluralistic.net)
Anthropic’s formal-math repository includes Lean definitions, papers, and proofs related to lattice attacks. It also provides challenge and solution directories alongside supporting documentation and scripts. (github.com)
YOAR is an MIT-licensed project for building a private, offline AArch64 reference website. Its repository includes scripts for creating and updating the reference. (github.com)
GIMP has added a canvas-based Shape tool for creating lines, rectangles, ellipses, polygons, stars, and spirals as vector layers or on raster layers. The feature fulfills a request first publicly made in 2001 and includes customizable fills and strokes. (gimp.org)
Today's best Hacker News stories, summarized and screenshotted, one email a day.