capy
Avalonia.FuncUI
capy | Avalonia.FuncUI | |
---|---|---|
7 | 21 | |
1,333 | 849 | |
3.9% | 1.5% | |
8.5 | 8.3 | |
6 days ago | 2 days ago | |
Zig | F# | |
Mozilla Public License 2.0 | MIT License |
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.
capy
-
Zig, the Small Language
The fanaticism of Rust devs makes me think it's probably massively overrated (see Node yesterday and Ruby/Rails the day before) and Go is associated by Google which gets a perhaps unfair but still unignorable knee-jerk reaction from me to avoid it.
I don't know enough about Nim to pass judgment.
Two reasons I decided to give Zig a try: The official chat channel is on IRC, instead of Discord or Slack (so the people involved care about efficiency, open standards, and avoiding trends/bandwagoning), and it has an early but promising-looking Swift UI-like cross-platform UI framework in development: https://github.com/capy-ui/capy
- Ask HN: How to make a native GUI with a modern language?
- Capy – Cross-platform library for making native GUIs in Zig
- Capy – Cross-platform library for making true native GUIs in Zig
-
Any recommendation for GUI
I’ve been making Capy (https://github.com/capy-ui/capy) which allows to code once and cross-compile to Windows, Linux, (macOS in the future) and even WebAssembly. It also have support for DataWrapper which allows to easily make animations, and much more.
Avalonia.FuncUI
- Uno: Create Beautiful Cross Platform .NET Apps Faster
- AvaloniaUI: Create Multi-Platform Apps with .NET
- Course using F#: Write your own tiny programming system(s)
-
ASP.NET Core Blazor
For those interested in .NET languages with alternative compilation targets, Elmish (https://elmish.github.io/elmish/) is pretty unique.
We use F# on the front end (instead of TS), and thanks to the Fable compiler (which transpiles F# to JS, Python, Dart, PHP and Rust), most of the benefits of an Elm-style model in the UI can be ported to all sorts of different outputs languages. The rust target is in beta, but its promising because the WASM bundle size stands to be dramatically lower.
While the default is reactivity library for Elmish is React, you can swap in Avalonia/FuncUI (https://github.com/fsprojects/Avalonia.FuncUI) pretty easily as well.
-
GUI development with Rust and GTK 4
The code to declare/build the widgets is quite nice. Modifying widgets by hand on certain signals or manually re-wiring all the signals seems a bit outdated to me.
Wonder if something like FuncUI [1] could be built on top of it.
[1] https://github.com/fsprojects/Avalonia.FuncUI
-
Desktop UI with F# web frameworks?
OTOH, if desktop really is the primary focus, and if you can drop the idea of reusable UI code, then Avalonia is a great choice for F# as you can use a Avalonia.FuncUI and/or Elmish.Avalonia.
- Functional cross platform UI in F#
-
Why does it seem like Microsoft is actively ignoring AvaloniaUI?
And one more MVU for you https://github.com/fsprojects/Avalonia.FuncUI
- Is Maui dead on arrival?
-
Ask HN: How to make a native GUI with a modern language?
You might want to check out Avalonia.FuncUI, which lets you use F# and the cross-platform Avalonia framework to build desktop applications with an Elm-like architecture: https://github.com/fsprojects/Avalonia.FuncUI#example-using-...
What are some alternatives?
libui - Simple and portable (but not inflexible) GUI library in C that uses the native GUI technologies of each platform it supports.
Fabulous - Declarative UI framework for cross-platform mobile & desktop apps, using MVU and F# functional programming
zgl - Zig OpenGL Wrapper
MySqlConnector - MySQL Connector for .NET
zig-gamekit - Companion repo for zig-renderkit for making 2D games
Avalonia - Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET UI client technology
webview - Tiny cross-platform webview library for C/C++. Uses WebKit (GTK/Cocoa) and Edge WebView2 (Windows).
openiddict-core - Flexible and versatile OAuth 2.0/OpenID Connect stack for .NET
mach-gpu-dawn - Google's Dawn WebGPU implementation, cross-compiled with Zig into a single static library
Elmish.WPF - Static WPF views for elmish programs
microzig - Unified abstraction layer and HAL for several microcontrollers
Sutil - Lightweight front-end framework for F# / Fable. No dependencies.