Recent stories
Each story's summary, with the places it was discussed.
Summaries are written by AI from the linked sources. Open the source for full context.
OpenCiv3, previously known as C7, is an ambitious open-source project aimed at reimagining the classic 4X strategy game Civilization III using the Godot Engine and C#.
This community-led initiative seeks to modernize the game by removing arbitrary technical limits, fixing legacy bugs, and enhancing modding capabilities while supporting modern platforms like Windows, Linux, and macOS. The project has recently achieved a significant milestone with the v0.3 "Dutch" preview release, which introduces a standalone mode featuring placeholder graphics. This allow users to experience the game without requiring original media files, though original assets remain supported for a more polished visual experience. Currently in a pre-alpha state, OpenCiv3 is licensed under the MIT License and actively encourages community contributions via GitHub to help complete its gameplay mechanics and content.
Developing native Windows applications today is fragmented and frustrating.
Despite the promise of the Windows App SDK and WinUI 3, developers frequently must resort to low-level Win32 API interop and struggle with complex packaging. Due to poor tooling and lack of prioritization by Microsoft, many prefer web-based frameworks like Electron or Tauri for modern development.
DiscImageStudio converts images into CD, DVD, and single-layer BD-R data that produces visible patterns on recorded disc surfaces.
Its Windows desktop GUI supports layered design, tone adjustment, calibration, previews, ISO/RAW/WAV+CUE export, and experimental direct burning; experimental Linux and macOS CLI builds generate images offline. Written in C# for .NET 10, it models disc physical constraints, supports mixed data files, modular CD/DVD/Blu-ray engines, and calibration that improves geometric accuracy from 10^-6 to 10^-14.
TypeScript inventor Anders Hejlsberg calls AI "a big regurgitator of stuff someone else has done" but still sees it changing the way software dev is done and reshaping programming tools
C# · Go · TypeScript
Anders Hejlsberg, the creator of C# and TypeScript, recently shared insights on the development of TypeScript 7.0 and the role of AI in software engineering.
The upcoming version marks a significant shift as the team ports the compiler from TypeScript to native Go code to achieve a 10x performance boost through native execution and shared memory concurrency. Hejlsberg defended the choice of Go over Rust or C#, citing its similarity to JavaScript and better support for the existing codebase's cyclic data structures. Regarding AI, he noted that while it initially failed to provide deterministic results for code migration, it has become invaluable for porting pull requests and enhancing language services. He predicts that AI will fundamentally transform development tools by shifting from simple IDE assistants to autonomous agents that utilize Model Context Protocol (MCP) to interact with semantic language services.
In this technical narrative, Leónidas Neftalí González Campos recounts a significant optimization challenge involving a REST API built with C# and the ABP framework.
The issue centered on a 'Users list' endpoint that appeared to crash but was actually just extremely inefficient, taking over five minutes to complete bulk operations. The root cause was a '2-year-old hotfix' where developers used a foreach loop to await individual database inserts one by one. By bypassing the outdated ABP repository and directly implementing Entity Framework Core's AddRange and SaveChangesAsync methods, the author reduced execution time from five minutes to 300 milliseconds. The story highlights the dangers of technical debt and a 'feature factory' management culture that prioritizes speed over quality, emphasizing that significant gains often come from removing suboptimal practices rather than complex innovations.
A developer created an exceptionally fast C# CSV parser by leveraging hardware-accelerated SIMD instructions like AVX2 to process UTF-8 data.
By optimizing memory access, minimizing cache pressure, and avoiding excessive micro-optimizations that hinder JIT compilation, the library outperforms existing solutions in most benchmarks, balancing manual instruction control with runtime-driven optimizations.
Slay the Spire 2 suffers from 'correlated randomness' due to the C# System.Random implementation, which produces predictable outputs across different game RNGs initialized with similar seeds.
This flaw allows players to anticipate events, such as curse distributions or combat outcomes, significantly impacting gameplay. Developers are encouraged to replace the standard library RNG with a nonlinear or counter-based alternative.
Moongate v2 is a modern Ultima Online server project built with .
NET 10, prioritizing a clean, modular architecture and NativeAOT compatibility. It features deterministic game-loops, Lua scripting, and a sector-based world streaming strategy. The project emphasizes performance benchmarks, specialized packet tooling, and thread-safe networking to provide a maintainable foundation for high-concurrency shards.
This tutorial demonstrates reverse engineering FEZ’s custom binary save format by decompiling its C# code and mapping serialization logic into an ImHex Pattern Language definition.
It explains timestamps, fixed-size files, nullable objects, strings, lists, enums, and nested data, then presents a repeatable workflow for identifying, documenting, decoding, and validating unknown file formats.
Microsoft released .NET 11, an STS release supported for two years, with updates across C# 15, ASP.NET Core, .
NET MAUI, Windows, libraries, and tooling. C# 15 adds union types and closed hierarchies; the SDK reduces command overhead through a Native AOT CLI host and warm MSBuild server. ASP.NET Core adds async validation, OpenAPI 3.2, SignalR refresh, and experimental Blazor AI components, while MEAI, MCP, and MAF support agentic applications. .NET MAUI adopts CoreCLR by default.
A developer created a C# application to monitor and log the removal of stories from the Hacker News Front Page, aiming for greater transparency in moderation.
The project explores how titles are modified and how stories disappear from the top rankings, often due to user flags or duplicate status. The author highlights the difficulties of moderating a high-traffic site while advocating for public logs of penalized content.
C# 15 introduces union types in .NET 11, allowing developers to define a closed set of types that a variable can hold.
This feature enables exhaustive pattern matching, eliminates the need for unsafe object types or complex hierarchies, and simplifies handling unrelated types. It supports custom implementations for performance-sensitive scenarios and improves overall type safety.
.NET 11 introduces native 'union' types in C# 15, enabling a type to represent multiple potential values.
These structures simplify handling various types via switch expressions with compiler-enforced exhaustiveness. Developers can implement custom, non-boxing versions to optimize performance, marking a significant advancement in C# functional programming capabilities.
Zero C# is a bflat fork that compiles C# directly into small native programs without the .
NET runtime, garbage collector, or installation requirements. It retains C# 15 features, generics, interfaces, virtual methods, records, lambdas, queries, and threads, while using manually freed arenas and a small library for strings, collections, and I/O. The same source targets Linux, macOS, Windows, WebAssembly, and DOS on a 386; Hello World builds range from 10,752 bytes on Windows to 64,728 on macOS.
OpenCiv1 is an open-source project that recreates the classic Civilization 1 game using C# and .
NET 8. By replacing original code, graphics, and audio with new, copyright-free assets while maintaining the original logic, the project ensures cross-platform compatibility. It legally requires users to own the original game files to function as a modern, playable engine.
libsm64 provides a clean interface for integrating Mario's movement and rendering code from the SM64 decompilation project into various game engines.
By loading an official ROM at runtime for assets, it enables seamless use across platforms via C, Rust, Odin, and C# bindings, plus plugins for Unity, Godot, Blender, and web environments via WebAssembly.
C vs. C#: racing VLC's Gaussian blur
C# · Low-Level Programming · Performance · Programming Languages
A line-by-line C# port of VLC's Gaussian blur, built with .
NET Native AOT, ran 23% slower than VLC's C implementation on 1080p frames, despite producing byte-identical output and allocating nothing per frame. Two small edits brought it within 8%. Shared algorithmic optimizations made C# 2.5x faster than current VLC code; AVX2 SIMD tuning reached 236 fps versus C's 240 fps at sigma 4, while both were about 30x faster than the original. C still leads on some loops.
.NET 11 updates the runtime with higher x86/x64 and Arm64 hardware baselines, Runtime Async V2, and extensive JIT, SIMD, ReadyToRun, NativeAOT, WebAssembly, and VM improvements.
Runtime Async replaces compiler-generated state machines with runtime-managed suspension, improving live stack traces, debugging, and async overhead, with preview opt-in. JIT optimizations improve bounds checks, devirtualization, conversions, and intrinsics; R2R default comparers can be up to 20× faster. The runtime also supports over 1,024 CPUs and in-process crash reports.
VLC for Unity enables developers to integrate high-performance video streaming and playback capabilities directly into their Unity projects.
Utilizing the libvlc engine, it supports various media formats and network protocols, offering a versatile cross-platform solution for rendering immersive video content within game environments and interactive applications.
Project Hedra is a 3D open-world, low-poly RPG and game engine built from scratch by its creator starting in high school to learn OpenGL.
After expanding over several years, it reached about 100,000 lines of code and supports Linux and Windows. The game offers procedural worlds, quests, classes, skills, crafting, NPCs, and companions, while the engine includes modern OpenGL rendering, Marching Cubes terrain, modding, Python scripting, custom allocators, an entity component system, testing, and Steam integration.