These are chat archives for AvaloniaUI/Avalonia

26th
Nov 2016
Rob Eisenberg
@EisenbergEffect
Nov 26 2016 20:39
Is Avalonia tightly coupled to Xaml? In other words, could I create an alternate textual DSL and easily plug it in so that it replaced the Xaml parser?
Also, what is the status of .NET Core support? (I have a ton of questions but will leave it there for now.) Thanks!
Jeremy Koritzinsky
@jkoritzinsky
Nov 26 2016 21:18
Avalonia is not tightly coupled to XAML. You could make an alternate and plug it in.
And .net core is coming soon (tm).
Rob Eisenberg
@EisenbergEffect
Nov 26 2016 21:19
Excellent.
Jeremy Koritzinsky
@jkoritzinsky
Nov 26 2016 21:19
All dependencies are done.
Just need to convert to the new MSBuild
Rob Eisenberg
@EisenbergEffect
Nov 26 2016 21:20
I was briefly looking over the docs and didn't see anything about getting setup on Mac. I'd love to see a short getting started guide for that, either with VS for Mac or maybe VS Code once .NET Core lands. That would be really cool.
Can you tell me if the binding system is based on INotifyPropertyChanged ? or is it using a different mechanism to detect changes in properties?
Darnell Williams
@Seeker1437
Nov 26 2016 21:29
It uses RX :D
And observables
Rob Eisenberg
@EisenbergEffect
Nov 26 2016 21:32
Can it bind against plain CLR objects? At least for one-way binding?
Or one-time binding?
Jeremy Koritzinsky
@jkoritzinsky
Nov 26 2016 21:35
Yep
Rob Eisenberg
@EisenbergEffect
Nov 26 2016 21:35
Ok, but no support for INotifyPropertyChanged?
Jeremy Koritzinsky
@jkoritzinsky
Nov 26 2016 21:35
It has a lightweight adapter for INotifyPropertyChanged
Its in Avalonia.Markup
Rob Eisenberg
@EisenbergEffect
Nov 26 2016 21:36
Does it just autodetect that inside the binding system? or does the developer have to do extra work to support that?
Jeremy Koritzinsky
@jkoritzinsky
Nov 26 2016 21:36
Automatically set up
Rob Eisenberg
@EisenbergEffect
Nov 26 2016 21:36
Great.
Regarding rendering, was there a reason why Skia wasn't just used across the board for everything? Why so many implementations? Were there major drawbacks to Skia in certain scenarios?
Darnell Williams
@Seeker1437
Nov 26 2016 21:38
Initially certain features that was needed to plug Skia in were missing
Rob Eisenberg
@EisenbergEffect
Nov 26 2016 21:40
Are there any future plans there?
Darnell Williams
@Seeker1437
Nov 26 2016 21:41
Yes as SliaSharp improves the last few features will be added. We tried using the native libraries, but even with some linker hacks, it ended it being very large, much larger than the entirety of Avalonia itself.
Rob Eisenberg
@EisenbergEffect
Nov 26 2016 21:42
Right.
I've been tracking the progress of SkiaSharp and it looks promising.
I was investigating building a GUI framework on top of SkiaSharp once it had .NET Core support and then I stumbled upon Avalonia.
How is the perf for Avalonia doing? compared to WPF or other established Xaml platforms?
Darnell Williams
@Seeker1437
Nov 26 2016 21:45
The upcoming rendering changes @grokys has been doing bring the rendering performance very close to WPF, I myself have not checked it against other frameworks... hmmm
Rob Eisenberg
@EisenbergEffect
Nov 26 2016 21:46
Any comparison to native mobile frameworks?
Darnell Williams
@Seeker1437
Nov 26 2016 21:47

Most os Avalonia has not been optimized yet however.

Not that I am aware of at this time.

Rob Eisenberg
@EisenbergEffect
Nov 26 2016 21:47
Ok, cool.
Does this project have corporate backing or fulltime dev resources at present? How long have you all been working on it?
Darnell Williams
@Seeker1437
Nov 26 2016 21:50
@grokys started this project I believe in 2012 or 2013, I started contributing end of last year. I do not believe we have corporate backing or fulltime dev resources at this time.
Rob Eisenberg
@EisenbergEffect
Nov 26 2016 21:50
It's an ambitious project :)
Rob Eisenberg
@EisenbergEffect
Nov 26 2016 21:57
Thanks for answering all my questions. I'm sure I'll have more. I'll play around with this a bit and see if I can run it successfully on Mac with VS for Mac.
Jeremy Koritzinsky
@jkoritzinsky
Nov 26 2016 22:06
Btw I've been working on Cocoa and Quartz backends so Avalonia apps can be put in the Mac App Store and iOS apps made with it can be smaller.
If you would be interested in helping with that it would be great.
I've made a lot of progress but there are still some weird issues.
Rob Eisenberg
@EisenbergEffect
Nov 26 2016 22:41
I'm running a very large open source project right now so I can't commit to contributing on another one. I'm happy to provide feedback from experimenting with Avalonia though.