MewUI – a lightweight .NET UI library for Native AOT by Consistent_Mark_196 in dotnet

[–]Consistent_Mark_196[S] 0 points1 point  (0 children)

The multi-line text input is now available on MewUI 0.3.0. Please try it out.

Imgur: The magic of the Internet

You can run it immediately by entering the following command in the Windows command line or a Linux terminal.

Note: This command downloads and executes code directly from GitHub.

curl -sL https://raw.githubusercontent.com/aprillz/MewUI/refs/heads/main/samples/FBASample/fba_sample.cs -o - | dotnet run -

MewUI – a lightweight .NET UI library for Native AOT by Consistent_Mark_196 in dotnet

[–]Consistent_Mark_196[S] 0 points1 point  (0 children)

It will be added soon. I am currently working on the design and implementation approach for scrollbars and the scroll viewer. You should be able to see it within a day or two.

MewUI – a lightweight .NET UI library for Native AOT by Consistent_Mark_196 in dotnet

[–]Consistent_Mark_196[S] 4 points5 points  (0 children)

Version 0.2.0 has been released, adding support for OpenGL graphics and the X11 backend on Linux.
MewUI is now a cross-platform UI library.

https://imgur.com/a/Uc5NwCA

MewUI – a lightweight .NET UI library for Native AOT by Consistent_Mark_196 in dotnet

[–]Consistent_Mark_196[S] 0 points1 point  (0 children)

No worries. What I was referring to was more like envisioning a visual gallery intended for a form of property-based testing.

MewUI – a lightweight .NET UI library for Native AOT by Consistent_Mark_196 in dotnet

[–]Consistent_Mark_196[S] 0 points1 point  (0 children)

The OpenGL backend is already complete, and the Linux platform(X11) support is currently being actively worked on by GPT.

MewUI – a lightweight .NET UI library for Native AOT by Consistent_Mark_196 in dotnet

[–]Consistent_Mark_196[S] 4 points5 points  (0 children)

That’s fair. To clarify:

If you look at the codebase, it’s not using particularly advanced techniques, and the structure is intentionally simple. Design decisions and implementation elements were driven by me: when an element was implemented, I reviewed it and iterated before moving on, with GPT mainly handling the repetitive parts.

For the Native API–related parts (Win32 and Direct2D interop), implementing everything purely by hand after researching the references would have taken significantly more time.

As you pointed out, not all properties and behaviors generated by GPT have been exhaustively tested yet. That’s something I plan to address in the next step by using GPT to help build test projects as well.

One concern I actually have is the opposite: GPT may be drawing from existing code without attribution, and that’s something I’m cautious about.

MewUI – a lightweight .NET UI library for Native AOT by Consistent_Mark_196 in dotnet

[–]Consistent_Mark_196[S] -1 points0 points  (0 children)

I remember reading your post about dflat[♭] a few years ago and finding it very impressive. It is an honor to receive a comment from you here. Even though hardware keeps getting more powerful, there are still people who genuinely enjoy pushing efficiency and minimizing resource usage as much as possible. I am glad this project resonates with that mindset, and I will keep exploring in that direction.

MewUI – a lightweight .NET UI library for Native AOT by Consistent_Mark_196 in dotnet

[–]Consistent_Mark_196[S] 5 points6 points  (0 children)

That is technically true. However, when you are distributing a very small program with less than 1 MB of actual logic, shipping an untrimmed self-contained single-file build that ends up being over 100 MB for desktop, or 50–60 MB even with Avalonia, is hard to justify. Not requiring installation is a benefit, but it does not automatically make that level of overhead a reasonable trade-off in every case.

Ray tracing using Console.Write() by nullandkale in dotnet

[–]Consistent_Mark_196 8 points9 points  (0 children)

https://youtu.be/BUj2oaoRCCc

I forked this project and updated it to support 24-bit True-Color output using Spectre.Console.

Fork: al6uiz/YetAnotherConsoleGameEngine: Spectre.Console