Koru Adds .NET Backend, Beats C# LINQ
Koru now emits C# for .NET, bringing its compile-time flow model to the CLR ecosystem. In the showcased benchmark, generated C# ran 1.69× faster than lazy LINQ and nearly matched handwritten loops, while native Zig remained significantly faster for allocation-heavy workloads.
This is a pragmatic portability play, not proof that Koru replaces C#. Its value is letting developers target .NET libraries and deployment while retaining Koru’s compile-time optimization model.
- –Generated C# removes enumerators and delegates from the hot loop.
- –The benchmark shows near-parity with manually optimized C#.
- –Native Zig remains 3.3–5.6× faster when garbage-collection costs dominate.
- –Closure capture, async code, and some opaque dynamic boundaries remain unsupported or fragile.
DISCOVERED
1h ago
2026-10-06
PUBLISHED
2h ago
2026-10-06
RELEVANCE
AUTHOR
korulang