#1
RGC
-
kern: a systems language built for the machines that write code
🔗 https://dshills.medium.com/kern-a-systems-language-built-for-the-machines-that-write-code-0d4101c043d7
📝 kern is an experimental systems language designed so that AI coding agents, not humans, get the clearest possible feedback from the compiler. It drops garbage collection and lifetime annotations in favor of second-class references, deterministic destruction, and Rust-like safety guarantees. On a 13-workload benchmark against C and Rust, it meets its 10% performance target on 11 workloads and stays within 10% memory on 12. Its compiler speaks JSON, with stable diagnostic codes and queries like explain-ownership and show-effects. An experiment testing whether structured diagnostics actually help AI agents code faster than plain text did not pass, with identical median iteration counts between arms on nearly every task across 10 tasks and 2 models.
📰 Medium · 🏷 rust, compiler · ⬆️ 0 · 💬 0 · ⏱ 15 min
-
Show HN: I Turned DOOM into a Transformer
🔗 https://github.com/mottopanikeiku/doomformer
📝 Doomformer compiles integer neural networks into ZDoom maps and runs them in ViZDoom. Voodoo dolls perform the arithmetic, with sector light levels and plane heights storing the values, which Python reads back and checks against a NumPy integer reference at zero tolerance. It’s slow: about 23,000 times slower than NumPy for a small MLP, and a handwritten digit takes 163 seconds of real-time DOOM at the default schedule, or 8 seconds with --opt 3. On MNIST, the integer network scores 97.16% on all 10,000 test digits, and DOOM reads 99 of the first 100 correctly, with every value exact.
📰 Hacker News · 🏷 python, game-design, compiler · ⬆️ 1 · 💬 0 · ⏱ 34 min
-
C# now beats Rust on WASM size
🔗 https://github.com/zion-sati/NetWasm
📝 NetWasm is an independent compiler, runtime and SDK that compiles C# and .NET CIL directly to WebAssembly, without the desktop CLR, Mono or dotnet.js. For a print-42 workload with its precise Compact GC, the standalone WASI Preview 2 component is 47,895 bytes, 10.7% smaller than Rust’s equivalent 53,635-byte build and about 319 times smaller than a Blazor WebAssembly .NET 11 RC1 app. Benchmarks on Wasmtime show it running 26 to 40% faster than Mono AOT on allocation and GC workloads. Version 0.10.0 rebuilds its garbage collectors, removing the Boehm collector and speeding up allocation-heavy programs.
📰 Hacker News · 🏷 c, .net, c#, compiler · ⬆️ 22 · 💬 1 · ⏱ 10 min
-
From KTIR to SpyreCode: An MLIR Dataflow Backend for IBM Spyre
🔗 https://pytorch.org/blog/from-ktir-to-spyrecode-an-mlir-dataflow-backend-for-ibm-spyre
📝 PyTorch describes the backend compiler that turns Inductor’s scheduling decisions into code for the Spyre accelerator. KTIR, an MLIR dialect, records Inductor’s work division and scratchpad placement across Spyre’s 32 cores, each with 2 MB of scratchpad. The open-source Dataflow Scheduler lowers KTIR through ScheduleIR into DataflowIR, building a dataflow pipeline guided by an architecture description rather than hard-coded chip logic. Device-specific stages then turn DataflowIR into SpyreCode, a symbolic binary plus a job plan the runtime prepares once and launches repeatedly. Version 1 handles elementwise ops with broadcast and reduction dimensions, with the first op coming up about 4x faster and later ops about 8x faster than the previous stack, with matrix multiplication support coming next.
📰 PyTorch · 🏷 pytorch, compiler · ⬆️ 0 · 💬 0 · ⏱ 28 min
-
TypeScript 7.0 Migration Guide: Performance, Compatibility, and Upgrade Steps
🔗 https://www.syncfusion.com/blogs/post/typescript-7-upgrade-guide
📝 TypeScript 7.0 introduces a native compiler rewritten in Go, with Microsoft’s benchmarks showing 7.7x to 11.9x faster full builds across five open-source projects (VS Code, Sentry, Bluesky, Playwright, tldraw). The guide walks through what changes with the new compiler, including the removal of the programmatic compiler API, a new LSP-based language server, and tsconfig.json default changes carried over from TypeScript 6.0. It covers checking compiler API and tooling dependencies via grep/npm commands, verifying framework compatibility (Vue, Astro, Svelte, MDX, Angular templates may still need TypeScript 6.0), benchmarking clean builds, incremental rebuilds, and up-to-date builds in your own repo, tuning experimental concurrency flags (–checkers, –builders, –singleThreaded), and running TypeScript 6.0 and 7.0 side by side using the @typescript/typescript6 compatibility package. A migration checklist and FAQ section round out the guide, with the overall recommendation to benchmark your own codebase before upgrading rather than relying on Microsoft’s published numbers.
📰 Syncfusion · 🏷 build-systems, compiler, typescript · ⬆️ 0 · 💬 0 · ⏱ 15 min