Elm
yew
Our great sponsors
Elm | yew | |
---|---|---|
115 | 115 | |
6,912 | 23,146 | |
0.5% | 3.1% | |
5.1 | 9.6 | |
3 months ago | 2 days ago | |
Haskell | Rust | |
BSD 3-clause "New" or "Revised" License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Elm
-
Elm: a good frontend language?
Recently a friend recommended me Elm, a pure functional language for developing web applications. I'd like to compare it to JavaScript and show how the functional paradigm can work in practical applications.
-
Clojure/ClojureScript for web - where to start?
If you want to combine functional programming with the web i'd consider Elm which seems to have a fairly decent documentation and a good official guide.
-
A message to Evan. People are just in love with your language.
Well, but the website tries to encourage you to use Elm. The guide explicitly asks you to "give Elm a shot and see what you think". So it seems to me that Evan does want Elm to be popular.
-
[AskJS] Is there a website out there for learning functional programming in javascript?
Ahem Elm ahem
- Other languages geared towards outputting HTML, like PHP?
-
Ask HN: Best language/framework to develop web-based text games today?
I really like Elm [0] and write all my side projects in it. There are many reasons I like it, but the one that probably plays best around here is that it feels like a very learn-it-for-life type language. It has a release cadence measured in years (the latest version, 0.19.10, was released in October 2019!), and a community that has adapted to match. Elm doesn't release shiny new features often, or even necessarily ever again, but it has everything I need to make every web game I could possibly think of already so that's a good thing.
-
Whats the most mature type generation tool for Rust types to other languages?
As for other languages, I wrote one for Elm (https://elm-lang.org/) inspired by ts-rs: https://crates.io/crates/elm_rs
-
tuples being limited to three elements [...] prevents me from shooting myself in the foot
Also check out the follow-up issue!
negative numbers not being allowed in pattern matches ... prevents me from shooting myself in the foot
-
Million
Pretty much. I keep asking people "Why not Elm?" ( https://elm-lang.org/ ) but no one has a very good answer.
The weird thing to me is that the two main customers or consumers of front-end programming (publishers and users) never see and do not care about the underlying language or implementation! Businesses and other orgs (schools, NGOs, etc.) as well as individuals (FB users, WordPress blogs, etc.) never see under the hood (except when something goes wrong or they deliberately click "View Source", eh?)
Ergo, all this whole Javascript ecosystem is solely for the developers. It's like a giant and largely irrelevant MMORG that we play that produces mostly-working websites and apps almost as a side effect.
"Change my mind?"
yew
- How to exclude a dependency from the compile target?
-
Tauri – Creating Tiny Desktop Apps
In addition to React/Vue, you have the ability to use Rust client-side frameworks such as Yew[0] or seed[1] for a truly full-stack Rust experience. I've been using Tauri + Yew to build an cross-platform app (shameless plug: [2]) and it's been a pleasure. There are some rough edges, but most of those have been due to platform specific issues (notifications, Windows vs Unix paths, etc.) and not Tauri/Yew itself.
[0] https://yew.rs/
-
Where to go to learn GUI dev?
I think something like yew(https://yew.rs) is actually viable option for most of the GUI apps you want. It's web, but it's still high perforamance.
-
Hmm
Yew.rs
-
'The best thing we can do today to JavaScript is to retire it,' says JSON creator Douglas Crockford • DEVCLASS
I would disagree, please see https://yew.rs/
-
Is blazor sufficient for frontend?
Yeah, I'd say js has a decades worth heads start, but wasm seems to be slowly moving along quite fine which would potentially encourage other languages to build their own web frameworks on top of it in the future following Blazor and the early adopters. For example Yew which is a rust based wasm framework is another pretty popular one. I'm sure there's more that will come the moment wasm gets more features implemented into the standard like GC, and web api / dom access.
-
Building a personal search engine, all indexed and searchable locally
Client is built in Yew/Tauri
-
Tauri 1.0 has launched
A nice example project I ran in to is https://github.com/a5huynh/spyglass the code is pretty clean and nicely setup. They are using https://yew.rs/ as the front end.
-
Rust viable for desktop dev?
Tauri is also getting a lot of attention and reached 1.0 13 days ago. But you will need to know JS/TS to build something interactif with it (except if you want to combine with yew, but that would be a very cutting-edge experience.)
What are some alternatives?
Seed - A Rust framework for creating web apps
Rocket - A web framework for Rust.
iced - A cross-platform GUI library for Rust, inspired by Elm
dioxus - Friendly React-like GUI library for desktop, web, mobile, and more.
sycamore - A reactive library for creating web apps in Rust and WebAssembly
percy - Build frontend browser apps with Rust + WebAssembly. Supports server side rendering.
rescript-compiler - The compiler for ReScript.
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
stdweb - A standard library for the client-side Web
Sapper - A lightweight web framework built on hyper, implemented in Rust language.
warp - A super-easy, composable, web server framework for warp speeds.
perseus - A state-driven web development framework for Rust with full support for server-side rendering and static generation.