Live data from Hacker News

A GUI framework for C# console applications

github.com

61–64 of 64 posts

Re: A GUI framework for C# console applications

#61
post #50
post #42

Just curious: Why would someone do a TUI (text-based user interface) on a modern computer? Using C# implies that you're running on a device powerful enough for a traditional GUI. (And you really don't need much to run C#, just enough RAM / Disk for the framework and to handle the overhead of the garbage collector.)

Very common for server software, where you may not have a GUI environment installed. You can run SSH as a server on windows boxes easily now, and depending on your needs (or to standardize across a heterogeneous fleet of servers) it might make sense to have some good CLI/TUI utilities available that are cross-platform. While I imagine most people won't jump to a TUI for Windows, it could also be a secondary interface…

(Joke)

Then maybe a cool project is an adapter to allow the text-based GUI to work natively when running in a GUI!

Re: A GUI framework for C# console applications

#62
post #24

Now if only we could get cross platform WPF for C#

I've used WPF, and I have no specific issue with it (and believe it was an upgrade over Forms). But even as someone very familiar with C#/WPF, and a fan of C#/.Net Core I cannot see why you'd want to port WPF when a platform like Electron exists and already works extremely well as a cross-platform framework. It isn't simply the functionality, but also the massive community/examples/tutorials/etc that already exist fo…

There are many reasons why one would not want to use Electron to write an application.

- An Electron application is necessarily slower and larger than a native application with the same functionality

- An Electron application is yet another browser instance on a user's machine, with all the vulnerabilities of that version of Chrome

Those two alone are enough reasons for a lot of (but still far too few) developers.

Software is getting slower much more rapidly than hardware is getting faster, and one of the reasons for that is Electron and how seductive it is to application developers.

Re: A GUI framework for C# console applications

#63
post #47
post #42

Just curious: Why would someone do a TUI (text-based user interface) on a modern computer? Using C# implies that you're running on a device powerful enough for a traditional GUI. (And you really don't need much to run C#, just enough RAM / Disk for the framework and to handle the overhead of the garbage collector.)

Even on very high end machines, even when I'm running other GUIs, I still do a lot of stuff in the shell especially with regards to working on ssh'd machines. It's really useful to have things work in the shell directly.

I do a lot in the shell, but not with interactive programs.

Re: A GUI framework for C# console applications

#64
post #24

Now if only we could get cross platform WPF for C#

I've used WPF, and I have no specific issue with it (and believe it was an upgrade over Forms). But even as someone very familiar with C#/WPF, and a fan of C#/.Net Core I cannot see why you'd want to port WPF when a platform like Electron exists and already works extremely well as a cross-platform framework. It isn't simply the functionality, but also the massive community/examples/tutorials/etc that already exist fo…

Simply because I know C#, and have no intention of learning javascript
Post reply on HN