awesome-avalonia
webrender
Our great sponsors
awesome-avalonia | webrender | |
---|---|---|
6 | 9 | |
1,786 | 3,006 | |
7.9% | 1.3% | |
7.7 | 9.3 | |
7 days ago | 2 days ago | |
Rust | ||
- | Mozilla Public License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
awesome-avalonia
-
AvaloniaUI: Create Multi-Platform Apps with .NET
WPF and Xamarin dev here who wrote a new (not ported) codebase on Avalonia.
- Avalonia has a guide just for people like you and me [1].
- Avalonia's flavor of XAML has small divergences from WPF that will have you hitting their docs often. There are some nice quality-of-life improvements, for example you can bind a Button click handler directly to a method without ICommand. The major concepts are the same e.g. data binding, dependency properties.
- Coming from WPF, it's possible you've used MVVM and dependency injection. You'd be going against a strong cultural grain to not use them in Avalonia. But I would be surprised if your WinForms app is architected remotely similarly, so it may be a design challenge extracting coherent ViewModels and properties from the ball of mud that many WinForms apps become.
- For macOS, read up on notarization [2] and, if you're publishing to the Mac App Store, the review process.
- I recommend starting with example apps (look in the Showcase) or with the Avalonia template solution which just runs out of the box.
- The Avalonia team iterates quickly. Expect to upgrade NuGets frequently, and don't get too far behind. There was recently a big jump from version 10 to 11. Good for you for starting after that.
- Not Avalonia specifically but if you're not used to .NET Core check out #nullable enable. Can't live without it now, but was confusing at first.
- Be sure to check out all of the official and community libraries [3]. I bet my design big on `ReactiveUI` and it's gone well.
[1] https://docs.avaloniaui.net/docs/get-started/wpf/
[2] https://docs.avaloniaui.net/docs/deployment/macOS
[3] https://github.com/AvaloniaCommunity/awesome-avalonia
-
So Xamarin.Forms is close to end of support, while MAUI is not really production ready, what shall I do?
I hear you. We’ve a decent datagrid and a load of OSS components that you can find here.
-
Open source project that use avalonia
You can see a lot here and, for example, here
-
🤔 Thoughts on future of MAUI for desktop software? Comparing to WPF + personally weighing up "cross-platform desires" -vs- pragmatic productivity"
You can find more 3rd party controls here for example : https://github.com/AvaloniaCommunity/awesome-avalonia
-
If you were going to build a cross plat app in 2022 from scratch which would you pick architecturally speaking
More about Avalonia production apps here.
-
Modded games are the true last hurdle for Linux gaming
You could use Avalonia. This is xaml crossplatform and will be better supported than wpf. You can get the templates for dotnet new Avalonia. It's xaml, fast templates and there is a designer op github, can't fidn it atm. Some examples
webrender
-
AvaloniaUI: Create Multi-Platform Apps with .NET
This source code:
https://github.com/servo/webrender/blob/master/wr_glyph_rast...
suggests to me that the glyph rasterization (which is the CPU-limiting factor for text rendering) in WebRender (which is the new FF 93+ GPU-accelerated rendering engine) is implemented in Rust and to be run on CPU.
-
Is RUST a good choice for building web browsers?
Both Servo and Fifefox make use of webrender, which is an awesome piece of tech and is well suited to render a web page. Some GUI projects attempted to use webrender directly as well, like Azul and moxie-native
- macOS Apps in Rust
-
What is the best way to handle 2D graphics programming using Rust?
Surprised noone mentioned https://github.com/servo/webrender
-
Learning rust as a python developer
Firefox article outlining which parts use Rust https://wiki.mozilla.org/Oxidation#Within_Firefox Servo/WebRender, the 2d renderer used by firefox: https://github.com/servo/webrender
-
Releasing Dioxus v0.1 - a new Rust GUI toolkit for Web, Desktop, Mobile, SSR, TUI that emphasizes developer experience
Hi, what do you think about using webrender instead of wry on desktop? That is, instead of a full featured browser, just the bare minimum to render the DOM.
-
Rust: Does the published crate match the upstream source?
This is in the context of rust.
> it adds a line to a `go.sum` while with a hash of the code at the version specified
Cargo.lock also contains a checksum
> You can distribute your code without a copy of the dependency
Also true in rust, and the default way of using rust.
> If the hashes are different, an error is thrown.
Also true in rust.
For an example of what this looks like: https://github.com/servo/webrender/blob/54b725be37f13b166946...
You haven't described anything different between go and rust in your comment since every feature you've pointed out applies equally to both.
-
Iced: A cross-platform GUI library for Rust, inspired by Elm
Yes! This is because web browsers use the platform text input stack
Browsers are a great example of cross-platform UI, because they sprinkle platform-native widgets throughout the canvas that they render. Which reminds me that people were trying to use webrender[1] to build native apps in Rust.
[1] https://github.com/servo/webrender
-
Browser be slow
What more can be done, besides site isolation and ASLR+DEP? Oh wait, Mozilla rewrote the damn renderer in a better language than C(++), that seems like a good way to prevent issues.
What are some alternatives?
Uno Platform - Build Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported.
wry - Cross-platform WebView library in Rust for Tauri.
Avalonia - Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET UI client technology
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
managed-midi - [Past project] Cross-platform MIDI processing library for mono and .NET (ALSA, CoreMIDI, Android, WinMM and UWP).
bubbletea - A powerful little TUI framework 🏗
Jaya - Cross platform file manager application for Windows, Mac and Linux operating systems. (planned mobile support)
dioxus - Fullstack GUI library for web, desktop, mobile, and more.
maui-linux - .NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
femtovg
avalonia-dotnet-templates - Avalonia Templates for `dotnet new`
iced - Blazing fast and correct x86/x64 disassembler, assembler, decoder, encoder for Rust, .NET, Java, Python, Lua