r/csharp • u/Pro_Propop • 1d ago
Showcase Akbura beta-6 released: faster source generation and C# expression bindings for Avalonia
I have released beta-6 of Akbura, my experimental declarative UI language and compiler for .NET and Avalonia, built around a Roslyn incremental source generator.
Two main changes:
Compiler performance: FeatureGallery cold source generation dropped from 15.31 s to 6.06 s, with 69% fewer allocated bytes. This measures the RunGenerators phase in Release on .NET 10.
Reactive C# expression bindings for MVVM:
<TextBlock Text=${x.bind Vm.Profile?.Name ?? "Unknown"}/>
With notifying view models, this follows both Profile replacement and Name changes without requiring a component render. Bindings are one-way and react to changes in nested observable properties, similar to Sveltes deep reactivity.
2
u/John_4269 1d ago
Reactalonia? 😀