These are chat archives for AvaloniaUI/Avalonia

17th
Jan 2017
Weston
@ronnyek
Jan 17 2017 15:46
I saw .net core
hoping that means someone is working on .net core version ;-)
@kekekeks are you sure it required every .cs file to be included explicitly before?
Jeremy Koritzinsky
@jkoritzinsky
Jan 17 2017 16:09
Yep. At least the IDE would unless you manually edited the csproj file every time.
Nikita Tsukanov
@kekekeks
Jan 17 2017 16:31
Well, you could have masks in our MSBuild file and VS would even recognize that... but still create an entry for new files
@ronnyek It's a bit pointless to "work" on that. Since we can already run our PCLs there and are lacking rendering/windowsing subsytems for *nix systems
We could, however, have support for .NET Core on windows
Weston
@ronnyek
Jan 17 2017 16:35
ehh
I'm looking for cross platform ui
Nikita Tsukanov
@kekekeks
Jan 17 2017 16:35
Use mono)
Weston
@ronnyek
Jan 17 2017 16:35
nope
guess I'll do cross platform ncurses =)
Nikita Tsukanov
@kekekeks
Jan 17 2017 16:36
Come on, even C# IDE from JetBrains uses it as a backend server
Unity uses it
Mono can't be that bad
And you can produce a portable build, it's not that hard
Weston
@ronnyek
Jan 17 2017 16:37
well I cant speak to mono for desktop apps
but if web is any sign of the state of things with mono
I'm getting to the point where I dont want to touch it with a 10 foot pole
its that bad.
Nikita Tsukanov
@kekekeks
Jan 17 2017 16:37
I was running it on server for years
Weston
@ronnyek
Jan 17 2017 16:37
same
Nikita Tsukanov
@kekekeks
Jan 17 2017 16:37
Well, I had to use NancyFx with a custom HTTP server
Weston
@ronnyek
Jan 17 2017 16:37
I still have deployments
custom http server? Nowin?
Nikita Tsukanov
@kekekeks
Jan 17 2017 16:38
Because classic ASP.NET support was garbage
Had to create my own bindings for libevent
It even beats PHP and Ruby in benchmarks
See? 87K rps
Weston
@ronnyek
Jan 17 2017 16:39
like I said, i'm shooting for cross platform UI
for webapps there are only a few things .net core is lacking and kestrel is fast as shit
Nikita Tsukanov
@kekekeks
Jan 17 2017 16:39
So mono as a runtime and BCL is perfectly fine
And people are using it for desktop apps on Mac OS already
And for mobile on ios/android
There is no particular advantage of using .NET Core, really
Weston
@ronnyek
Jan 17 2017 16:40
I'm not ruling out the use of avalonia in the future or mono either for that matter
we can agree to disagree
Nikita Tsukanov
@kekekeks
Jan 17 2017 16:41
Actually, for desktop mono will be better
Since it has access to stuff in GAC
Which usually provides a bunch of platform-specific stuff
like access to DBus, etc
Weston
@ronnyek
Jan 17 2017 16:42
I'm not trying to build apps to target solely linux tho
I'm looking for cross platform
lol
I'd rather not have access to platform specific bits except maybe where path varies from os to os, and System.Environment handles most of that decently
that is one thing I'll say I think ms butchered with .net core
Nikita Tsukanov
@kekekeks
Jan 17 2017 16:43
Well, I've started work on NETStandard implementation of GTK3 backend
And managed to get event loop and basic windowing working
But we are still missing Skia#
Weston
@ronnyek
Jan 17 2017 16:44
because of the nuget / portable aspects of it all?
Nikita Tsukanov
@kekekeks
Jan 17 2017 16:45
Well, it's a bit troublesome to even build libskia for linux
And get a binary that won't eat ~150MB of disk space
Weston
@ronnyek
Jan 17 2017 16:45
yeah
thats been somewhat frustrating with the linux world
the whole I want skia to run in a single distributable in a few diff places
good luck.
Nikita Tsukanov
@kekekeks
Jan 17 2017 16:46
We've got ideas of getting a completely portable native binary through
using that holy build box thingly
Weston
@ronnyek
Jan 17 2017 16:46
just statically linking all dependencies?
Nikita Tsukanov
@kekekeks
Jan 17 2017 16:46
And using an old glibc
Weston
@ronnyek
Jan 17 2017 16:46
or thats what produces all the massinve binaries
seems like that could be.... fragile
Nikita Tsukanov
@kekekeks
Jan 17 2017 16:47
The problem with bloated binary is the fact, that skia is huge
Well, I don't see what could go wrong with static linking
People with distros not based on glibc could go and build everything by themselves
AvaloniaUI/Avalonia@512c409 - initial work on P/Invoke based GTK3 backend
Weston
@ronnyek
Jan 17 2017 16:49
I think avalonia within gtk3 would be beneficial
but now we're talking about having to lug around big ol gtk3 dependencies?
I guess a lot of linux distros probably have it all added already
Nikita Tsukanov
@kekekeks
Jan 17 2017 16:52
Well, that's not our responsibility
It would allow you to specify path to gtk binaries
And try to use system ones by default
Jeremy Koritzinsky
@jkoritzinsky
Jan 17 2017 23:17
@grokys Can you take a look at #859 when you have a chance? It's the last blocker (as far as I know) to Win32 + Direct2D support for AvaloniaAV.
Steven Kirk
@grokys
Jan 17 2017 23:26
sure! that will be really useful - i need the same feature for the scenegraph branch
Jeremy Koritzinsky
@jkoritzinsky
Jan 17 2017 23:32
Perfect 👌