A few days ago I started to learn Elm with the goal to create a new front end for lemmy.

At the same time I want to create tui applications, which are really modern.

So someone recommended Crate tui, which is a Rust library.

Should I keep learning Elm or should I switch to Rust or should I even learn both, even if it takes a lot of time and energy?

  • DessalinesA
    link
    22 years ago

    Are you making a web front end, command-line, desktop gui, or mobile app?

    • maxmoonOP
      link
      22 years ago

      From the first post:

      a new front end for lemmy.

      I would like to do a new lemmy front end (web) and it would be very nice if it could be “converted” to a mobile app.

      At the same time I want to create tui applications

      I want to create a tui application (NOT CLI), which should work for unix based systems, like Linux.

      • DessalinesA
        link
        22 years ago

        These are both pretty massive, and separate projects. For a TUI, I would definitely recommend rust, but for a web front end, I’d probably do it in typescript, as none of the rust frameworks for building web apps are coming in very fast in benchmarks (that includes yew).

        • maxmoonOP
          link
          22 years ago

          hmm… ok, it looks like I will learn Elm and Rust separately. Starting with Elm, trying to do some front end.

  • @jokeyrhyme
    link
    2
    edit-2
    2 years ago

    Huh, I never would have thought of using Elm for TUI apps, how does that work? Does it compile down to JavaScript that you feed into or bundle with Node.js?

    Edit: nevermind, I misread and thought you were selecting a stack for a TUI app

    I’d select the stack based on whatever project you are most-drawn to at this time: if you really want to build a web front-end, then you could do that in Rust, but it would be far easier in Elm