• realharo@lemm.ee
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    This may not be a popular opinion, but if the app is large enough, just use Electron.

    • wth@sh.itjust.works
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      I really like the idea of having a web UI for its portability and richness (esp thanks to CSS being so close to consistent across all platforms). But I have a metric tonne of business logic and ZKE code in C#/.Net running on Mac/iOS. From your prompt, I did just find Electron.Net, so perhaps there is hope.

      And, AFAICT, electron can’t be used for iOS apps on the App Store (am I still wrong about that??)

      Plus (personal bent) I did a ton of JavaScript years ago when truthiness and indeterminate behaviour was rampant back in ES5 days. I’m a purist and found it a little ugly, but incredibly fast. Then I found dart which compiled to JS, and I decided that JS made a better assembly language than a usable language. Sadly dart has remained a minor player. JS has moved on and I see lots of the old ugliness (like iterating through properties, exceptions and a sync) has gone away. ES13 looks pretty good, although I haven’t played with it yet.

      • VeryNiiiice@sh.itjust.works
        link
        fedilink
        arrow-up
        4
        arrow-down
        1
        ·
        1 year ago

        Have you looked into Flutter? It uses Dart and can compile to native apps for android, ios, windows, Mac, Linux, and web.

        • wth@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          After I saw your note, I had a quick catchup on that project.

          It looks awesome, with the promise of mobile and desktop, and the ability to make apps that can be uploaded to the AppStore. Plus its Dart which is a pretty well structured language. Its ticking a lot of boxes…

          Then I ran « wc -l » on my support libraries (i.e. not UI code) - 64k LoC that would need to be rewritten in dart. But then I noticed Flutnet. its probably an abomination linking the two… but it could be promising.

          Thanks for the pointer.