Microsoft agentically ports Copilot runtime to Rust for $120K
Microsoft has ported the Copilot runtime to Rust at a cost of $120,000. The move aims to improve security and performance of the AI assistant platform. (theregister.com)
An investigation compares two linkers, Wild and Mold, after Mold's updated benchmarks reported Wild as substantially slower. The analysis pinpoints methodological differences that explain most of the divergence: different hardware (64-core Threadripper and M1 Ultra vs a 16-core Ryzen), filesystem and output-file handling (Mold used ext4 and deleted the output between runs while Wild historically used tmpfs and left the file in place), and the use of --no-fork (Mold) versus forking by default (Wild). Reproducing Mold-like conditions (ext4 + delete + --no-fork) on an M1-class machine produces similar Wild/Mold ratios: blender-debug ~1.2x slower for Wild, godot-debug ~1.2-1.3x, blender-release slightly faster on Wild, and clang-release essentially equal.
Focused experiments on clang-release across configurations show Wild performs best when allowed to fork and when the output already exists on tmpfs (example: tmpfs + no-delete + fork yielded Wild 0.11s vs Mold 0.19s), while ext4 + delete + --no-fork yields near parity. The main technical deficit in Wild was missing OS-specific optimizations Mold uses for new-file creation and mapping (fallocate pre-allocation and hugepage mappings); those optimizations have been implemented in Wild and will appear in the next release. Mold also gained substantial speedups in versions 2.42.x after Wild’s August benchmarks, and remaining large discrepancies on the 64-core machine likely reflect differing thread counts. The conclusion: benchmark configuration, filesystem behavior, OS-level tweaks, and recent releases explain the reported differences.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.
Microsoft has ported the Copilot runtime to Rust at a cost of $120,000. The move aims to improve security and performance of the AI assistant platform. (theregister.com)
Shell scripting allows automation of complex tasks and connecting multiple programs, greatly enhancing control over a computer. Relying solely on GUIs limits automation potential and advanced workflows. (will-keleher.com)
Compile-time reflection in C++, Zig, and C3 enables type inspection and manipulation without runtime overhead, each using different techniques. C3 employs macros and special syntax, while C++ and Zig utilize compile-time methods for features like enum-to-string conversion. (nyr24.github.io)
MiTeX is a project that provides LaTeX support for Typst using Rust and WebAssembly technologies. It aims to enhance document processing capabilities with efficient, web-compatible tools. (github.com)
Programming languages have reached their lowest popularity on Hacker News in ten years. The decline is reflected across various metrics and discussions on the platform. (orangecrumbs.com)
A Rust developer explores Zig as a C successor by reimplementing a JSONPath query tool, noting the language's simplicity and minimal IDE support. The experience highlights the advantages of CLI tooling and led to a shift toward a terminal-based workflow. (besok.github.io)
Today's best Hacker News stories, summarized and screenshotted, one email a day.