3 ms·
Not trolling, genuine question: would Mono be a terrible alternative to Electron for a cross-platform desktop app?
by MrBra 9y ago
Not trolling, genuine question: would Mono be a terrible alternative to Electron for a cross-platform desktop app?
- zzbzq 9y agoUsing CEF in Mono to serve HTML/js based UI over a mono-C# back-end is very feasible, and results in a superior program which answers most of the Electron complaints in this post. But to answer your question, yes, it's a terrible alternative, because it's not javascript, and unfortunately the mode of the entire global software ecosystem right now is for all non-application engineers to provide tooling to application developers that cater to the easy-to-use tools they already know (mainly javascript, with some python lingering around.) That said, if you work in a .NET shop already, you're certainly better off using a mono/CEF hybrid app. Just don't expect it to catch on, even if it generates superior software.
- MrBra 9y agoI was talking about a cross-platform Mono GTK# app, not CEF + Mono.
- tonyedgecombe 9y agoI suspect Java with Swing or JavaFx would be a better option.
- cweagans 9y agoBut then you have to write Java.
- cpburns2009 9y agoBut then you get to avoid writing JavaScript, HTML, and CSS.
- MrBra 9y agoYou could write Ruby, with JRuby and JRubyFX... https://github.com/jruby/jrubyfx https://github.com/jruby/jrubyfx
- tonyedgecombe 9y agoI don't mind writing Java as long as it isn't enterprise Java.