wasm
Elm
wasm | Elm | |
---|---|---|
- | 201 | |
149 | 7,513 | |
- | 0.4% | |
4.7 | 4.0 | |
4 months ago | 2 months ago | |
Haskell | Haskell | |
MIT License | BSD 3-clause "New" or "Revised" License |
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.
wasm
We haven't tracked posts mentioning wasm yet.
Tracking mentions began in Dec 2020.
Elm
-
Using ChatGPT o1 to write UI code with Elm
After I finished my Oauth 2 Token Exchange demo project, I suddenly had a desire to write the front end UI with Elm language. Elm is my favorite front end language: elegant, functional, strongly typed.
-
Ask HN: Is webdev getting complicated without results to show for it?
TL;DR: Yes and it's creating "It's X and limited by Y, but it works" projects
In web front-end, the same pattern crops up repeatedly. Two examples:
* Elm[1]: It's brutally functional and limited by purity, but it works
* htmx[2]: It's grug-brained[3] and limited by that, but it works
I'll let others enumerate web frameworks. On desktop, uxn and Varvara software[4] by Hundred Rabbits fit the same pattern:
* 64k of RAM and limited to 4 colors, but it works
* Created when Xcode was painful to install on a boat over pre-Starlink satellite internet
Who knew rage-quitting could be so productive? ¯\_(ツ)_/¯
[1]: https://elm-lang.org/
[2]: https://htmx.org/
[3]: Said to be by the HTMX creator: https://grugbrain.dev/
[4]: https://wiki.xxiivv.com/site/roms.html
-
Building a subscription tracker Desktop and iOS app with compose multiplatform—Providing feedbacks
I have first heard about it when I was working with Elm [1] through a popular blog post (at the time) How elm slays a UI antipattern.
-
Ludic: New framework for Python with seamless Htmx support
Elm [1] is based on a similar idea. Build your app from pure functions that return HTML tags.
[1] https://elm-lang.org/
- Learning Elm by porting a medium-sized web front end from React (2019)
-
Can you make your own JavaScript by implementing ECMAScript standard?
You also wouldn't really be creating your own new programing language. You would be creating something that can run JavaScript by following JavaScript standards and syntax. You might be able to add some non-standard features of your own on top of those standards, or include your own standard library of helpers or utilities, but you can't completely make a new or alternative language and then load it in the browser (or at least not by reimplementing ECMAScript standards... you actually can make your own language that runs within any Javascript enviroment, if you provide an interpreter or compiler that transforms it into valid JS. Some people have done something like this, eg Elm: https://elm-lang.org/).
-
What is the best way to present the user the results of Haskell computations?
You should at least have a look at https://elm-lang.org/ it is a pure functional language like Haskell (although with fewer fancy syntax/type classes) but it has some lovely libraries for visualisation and even with plain elm (+ elm-ui) doing string transformations can be easily done.
- Course using F#: Write your own tiny programming system(s)
-
Building React Components Using Unions in TypeScript
I get it. However, the whole point of using Unions to narrow your types, ensure only a set of possible scenarios can occur, and only access data of a particular union when it’s safe to do so. That’s some of what pattern matching can provide, and 100% of what using switch statements in TypeScript with their Discriminated Unions can provide. Yes, it’s not 100% exhaustive, but TypeScript is not soundly typed, and even Elm which is still has the same issue TypeScript does: You’re running in JavaScript where anything is possible. So it’s good enough to build with and much better than what you had.
- What's the state of the Elm repo? · Issue #2308 · elm/compiler
What are some alternatives?
hLLVM
rescript-compiler - The compiler for ReScript.
haste-compiler - A GHC-based Haskell to JavaScript compiler
haskelm - Haskell to Elm translation using Template Haskell. Contains both a library and executable.
idris - A Dependently Typed Functional Programming Language
purescript - A strongly-typed language that compiles to JavaScript
ghc-proofs - Let GHC prove program equations for you
accelerate - Embedded language for high-performance array computations
reflex - Interactive programs without callbacks or side-effects. Functional Reactive Programming (FRP) uses composable events and time-varying values to describe interactive systems as pure functions. Just like other pure functional code, functional reactive code is easier to get right on the first try, maintain, and reuse.
husk-scheme - A full implementation of the Scheme programming language for the Haskell Platform.
yew - Rust / Wasm framework for creating reliable and efficient web applications