ElementaryUI – Swift, in the Browser

(elementary.codes)

96 points | by frizlab 11 hours ago

8 comments

  • gosen 32 minutes ago
    It would be interesting to see any benchmarks / comparisons to understand what are the benefits of having Swift in the browser. Is it faster? Easier to maintain? Or is it based more on the sympathy to the programming language in general?

    But great job anyway!

  • adrusi 9 hours ago
    Reminiscent of the now 18-year-old Cappuccino project https://www.cappuccino.dev/
  • brailsafe 6 hours ago
    Looks a bit like jQuery mixed with jsx and ember or angular
  • jan_m_savage 6 hours ago
    sooner or later this was gonna happen. Swift is like Haskell, but nicer and more programmer-friendly.
    • isodev 43 minutes ago
      I wouldn’t fly so close to Apple if I have the choice. Apple could pivot at any moment - “New versions of Swift start at $99,99” /s
  • beans6543 10 hours ago
    Their demo is flakey and sometimes fails to hydrate in Firefox latest
  • maxdo 8 hours ago
    Any reason/motivation why ?
  • kamisori-daijin 9 hours ago
    Nice!
  • pipeline_peak 9 hours ago
    We already have Typescript, I don’t see the purpose.
    • frizlab 8 hours ago
      ‘cause Swift is great, I guess! And more seriously, probably for a shared logic with an iOS & android app.
      • alsetmusic 7 hours ago
        Just wait until they rewrite Swift with Rust.
    • vips7L 56 minutes ago
      Typescript isn’t that good of a language.
    • astafrig 6 hours ago
      This sentiment is sorely missing from the endless Rust re-writes.