Memory management in 40 major C projects, a survey
The survey examines memory-management practices across 40 major C projects. It compares how these projects allocate, track, and release memory. (theconsensus.dev)
Gawain is a command-line tool for enforcing Python type annotations more broadly than function-focused linters: it checks variables, parameters, return values, and class attributes. Its author’s motivation is to reduce reliance on vague types such as `Any` and `dict[str, Any]`. By default, assignments with an obvious type - such as a literal, a container of literals, or a constructor call - can remain unannotated if the name is not reassigned; strict mode requires an annotation on every assignment. Other rules flag unannotated constants that should use `Final`, bare `Final`, uses of `Any`, and instance attributes not declared in the class body. After annotation checks pass, Gawain runs a type checker to catch mismatches.
The tool uses Astral’s ty by default or Meta’s pyrefly, and can also run annotation checks alone without a type checker. It offers configurable modes, JSON output, named suppressions, and a pre-commit hook; installation options and checker versions are documented. A benchmark on the CPython 3.14 standard library, covering 1,847 files and nearly 975,000 lines on one machine, reported median times of 0.46 seconds in default mode and 0.36 seconds in strict mode, without type checking. The project cautions that ty is in beta and its diagnostics may change, recommending pyrefly or annotation-only mode when that matters. Building the pre-commit hook requires Rust 1.97 or newer.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.
The survey examines memory-management practices across 40 major C projects. It compares how these projects allocate, track, and release memory. (theconsensus.dev)
Bootstrap 6.0.0-alpha.1 is a redesigned, framework-agnostic toolkit with new components, CSS-first theming, and upgraded JavaScript plugins. The alpha is available through npm, alongside migration guidance and AI-focused documentation. (getbootstrap.com)
Aristotle has expanded its formal verification platform to Rust, allowing developers to prove code meets specifications and contains no undefined behavior, including in unsafe blocks. It can also verify that Rust rewrites behave like their original C code, targeting critical software such as smart contracts and infrastructure. (harmonic.fun)
Jiff 1.0 is a Rust datetime library that makes time zone handling and daylight saving time safer and easier to manage. Its creator plans to maintain a stable API, supporting its use as a public dependency across the Rust ecosystem. (burntsushi.net)
Software job postings rose 33% from their May 2025 low, reaching 79.4 on Indeed’s index in October 2026. They remain below the February 2020 baseline, while the 2021-22 hiring boom was unusually high and should not define a normal market. (boot.dev)
Jolt is a self-hosted Clojure implementation that runs on Chez Scheme or Gambit, including in JavaScript environments. It supports native C interop, Clojure semantics and concurrency, and can compile projects into standalone binaries. (jolt-lang.net)
Today's best Hacker News stories, summarized and screenshotted, one email a day.