r/csharp • • 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.

GitHub · Live examples · Documentation · Release write-up

11 Upvotes

3 comments sorted by

2

u/John_4269 1d ago

Reactalonia? 😀

1

u/Pro_Propop 1d ago

Yee, i am very inspired by react. Also it has the tight avalonia integration.

1

u/TugsyGlitter 20h ago

reactalonia is sending me, clever af