you are viewing a single comment's thread
view the rest of the comments
[–] 341 points 9 months ago (58 children)

Electron is the only cross platform gui toolkit...

If you ignore QT, GTK and everything else.

I'm so glad that Microsoft makes an awesome cross platfor--- wait, no, but they contribute code to--- hmmm ... Hey, what does Microsoft do to make apps more portable again?

  • source
  • hideshow 58 child comments
  • [–] 166 points 9 months ago* (last edited 9 months ago) (2 children)

    The real reasons often are:

    • They want be able to hire much cheaper webdevs instead of software devs.
    • Electron has a lot of built-in data collecting metrics, which they urgently need for creating a real-life KITT.
    • Easy live embedding of content. Sure you can add your own solution, in fact I created ETML as a solution for this problem for my engine, all without any support for nasty scripting languages or convoluted stylesheets (style-inheritance in CSS turned me off from webdev even more than JS did). At best, it can be used for things like embedding videos on Discord, because no one else thought some universal approach, let alone one that disallows proprietary players. At worst, it's being used for ads.

    Also a lot of Windows-only apps are Electron apps, only because the manufacturer wants to go "fuck you", even putting protections into the code just in case you wanted to run it on Linux.

    EDIT: Forgot the "live embeds" reason.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 80 points 9 months ago (3 children)

    one of the funniest (and sadly accurate) things i've heard said about linux backwards-compatibility is that its most stable API is Win32. you can run really old windows software on wine because they support stuff even windows doesn't anymore.

    of course this is because the expectation is that you can just recompile old software to work on new systems, which is not really a thing on window.s

  • source
  • parent
  • hideshow 3 child comments
  • [–] 11 points 9 months ago (2 children)

    The most stable system is one that is out of support. No updates == No breakage! πŸ˜„

  • source
  • parent
  • hideshow 2 child comments
  • [–] 10 points 9 months ago (9 children)

    You can even do inefficient UIs in Python using tkinter, which is part of the standard library in python.

  • source
  • parent
  • hideshow 9 child comments
  • [–] 22 points 9 months ago (8 children)

    Python tkinter interfaces might be inefficient, slow and require labyrinthine code to set-up and use, but they make up for it by being breathtakingly ugly.

  • source
  • parent
  • hideshow 8 child comments
  • [–] 5 points 9 months ago (6 children)

    And now imagine yourself creating an UI in tkinter without an editor. Because that's what I did. It was absolutely horrible.

  • source
  • parent
  • hideshow 6 child comments
  • [–] 2 points 9 months ago (5 children)

    Probably faster than me even deciding the bg color tho

  • source
  • parent
  • hideshow 5 child comments
  • [–] 7 points 9 months ago* (last edited 9 months ago) (11 children)

    .net
    .net cli apps are cross platform and can be portable :p
    Gui in .net isnt fully cross platform ( maui is everything except linux ) but frameworks like avalonia ( .net ) and imgui fix all that :')

  • source
  • parent
  • hideshow 11 child comments
  • [–] 10 points 9 months ago* (1 child)

    Thanks for reminding me why Maui doesn't support Linux. I saw Maui mentioned in an earlier comment and was baffled why KDE would make something not working that doesn't work in Linux. It's because Microsoft stole the Maui name from KDE: https://www.phoronix.com/news/Microsoft-KDE-MAUI

  • source
  • parent
  • hideshow 1 child comment
  • [–] 3 points 9 months ago (5 children)

    @DacoTaco @MoogleMaestro there is a port of mono winforms implementation to modern dotnet and it's really works:
    https://github.com/DanielVanNoord/System.Windows.Forms

  • source
  • parent
  • hideshow 5 child comments
  • [–] 1 point 9 months ago* (4 children)

    Winforms of all things haha. Eeuw xD
    But thats flipping awesome and i love it! I know xamarin was wpf being cross platform with mono, but thats a dead horse thanks to microsoft haha

  • source
  • parent
  • hideshow 4 child comments
  • [–] 2 points 9 months ago (3 children)

    @DacoTaco Yes, it's Microsoft decided to kill classic win32 widgets and any XAML support in Mono, forcing new WinRT platform and not providing any GUI support in netcore. It's sad that nobody made some crossplatform WPF implementation for modern dotnet, Maui is not incompatible with existing source code, IIRC

  • source
  • parent
  • hideshow 3 child comments
  • [–] 2 points 9 months ago* (1 child)

    It’s sad that nobody made some crossplatform WPF implementation for modern dotnet

    That's basically Avalonia UI.

    I believe Uno Platform is similar, but less of a WPF variant, and closer to Xamarin or MAUI in the style of Xaml that they use.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 9 months ago

    @hdsrob
    >That’s basically Avalonia UI.
    no, avalonia cannot help you run existing applications. Also. Avalonia is a crap, taking minutes to parse xml crap on poor hardware
    Yes, there are many implementaion of WPF-like UI, but no implementation of existing Windows UI.
    mono's winforms allows you run existing winforms apps without single line change or even without recompiling (just replace related System.Windows.* assembies)

  • source
  • parent
  • load more comments (3 replies)
  • load more comments (8 replies)