rescript-compiler
Elm
Our great sponsors
rescript-compiler | Elm | |
---|---|---|
69 | 156 | |
6,044 | 7,090 | |
1.2% | 1.0% | |
9.9 | 4.7 | |
about 15 hours ago | 25 days ago | |
OCaml | Haskell | |
GNU General Public License v3.0 or later | 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.
rescript-compiler
-
The ultimate answer to Belt vs Js in ReScript
Probably every developer that comes to ReScript stumbles upon a dilemma about which module from the standard library they should use to work with JavaScript API.
-
[AskJS] We ditched TypeScript for Rescript for building an open-source Payments Switch
I wasn't familiar with this before. Thanks for being it to my attention! https://rescript-lang.org/
-
Is TypeScript actually worth It?
I find ReScript (https://rescript-lang.org/) fundamentally better than TypeScript. It has easy FFI and a sound typesystem. With Rescript you wont have any runtime errors, like you can with typescript. But compared to vanilla javascript typescript is a big improvement.
-
Why TypeScript and ReScript are Worth Considering: A Comprehensive Look at JavaScript Alternatives
Overall, both TypeScript and ReScript have several advantages over JavaScript, and which one you choose will depend on your specific needs and preferences. TypeScript is a good choice if you want to take advantage of static typing and strong integration with popular front-end frameworks, while ReScript is a good choice if you want a simple and easy-to-learn language with a focus on readability and performance. Regardless of which language you choose, all three are powerful tools that can help you build high-quality web applications.
- Rewriting TypeScript in Rust? You'D have to be
-
TypeScript Enum's vs Discriminated Unions
I’ve recently been ripped from doing Functional Programming in Elm on the front-end and ReScript on the back-end in a Serverless Environment into Object Oriented Programming using Angular & TypeScript on the front-end and TypeScript on the back-end in a server full environment. It’s been quite a shock to go back to what I moved on from 7 years ago. Thankfully TypeScript has started to incorporate some Functional Programming constructs so I can keep my sanity (or at least try).
-
Roc Lang for Advent of Code 2022
This year, I chose Roc. It’s a strictly typed functional language. As someone who loves Elm, a strictly typed functional language for front-end web development, I was lacking a language for everything else (server, cli, etc). ReScript has been my stand in for various reasons. I was excited to try Roc lang for last year’s Advent of Code, but my youngest daughter convinced me to use Lua for Roblox. I figured after a whole year, things would be much more stable now.
-
Is there any reason not to use typescript?
Because you use rescript
-
Ensure you never forget a case in a switch
The correct answer is actually rescript
-
Speeding up ReScript compilation using interface files
ReScript compilation speeds are really fast out of the box. But, sometimes editing certain files can take longer to compile than you'd expect it to.
Elm
- On Not Drinking the FP Kool-Aid
-
install elm 0.16.XX and its dependencies
oh Bummer - in this case you might have luck with the binaries from here: https://github.com/elm/compiler/releases (hopefully your OS is among the assets there)
-
Dutch Government's DigiD iOS App Code Snippet
Ok, I’ll bite. I’m ok with this code in JavaScript, not C#. Look no further to Programming Twitter for proof that there is no definition of “good code” as no one can agree if this is good or not. I’ll take this opportunity to explore the edge cases because they’re fun in Elm.
-
What programming language to try after python?
Elm is an amazing choice.
-
Ask HN: What language/framework for simple web app in 2023?
For deployment, I like Cloudflare Pages/Workers for small projects and https://fly.io for large projects.
For frontend, I think you'll really enjoy Elm if you like R and Python. Personally, I use vanilla JS (no framework) for small projects and Elm for large projects.
For backend, there are plenty of excellent REST API frameworks for Rust, Go, Deno, Elixir, etc. I can give specific language recommendations if you're interested.
-
Ask HN: What are the best open source TypeScript projects I can learn from?
How about a different approach. Instead doing more of the same, branch out in to a different language. Elm, for example. [0]
Elm specifically will teach you lots on the static types end of things. And it will only take a weekend or so of tinkering to show improvements in your TS life.
-
Are there plans to improve concurrency in Rust?
I think this is something that iced is doing really well (which is inspired by elm which damn near did it perfectly, imo).
-
-🎄- 2022 Day 21 Solutions -🎄-
For part one, I noticed the input being almost valid Elm code, so I wrote a few lines of Fish to generate an Elm program. Then ran it with elm repl. Elm allows out of order variable declarations so it did all the work for me.
-
TypeScript Enum's vs Discriminated Unions
I’ve recently been ripped from doing Functional Programming in Elm on the front-end and ReScript on the back-end in a Serverless Environment into Object Oriented Programming using Angular & TypeScript on the front-end and TypeScript on the back-end in a server full environment. It’s been quite a shock to go back to what I moved on from 7 years ago. Thankfully TypeScript has started to incorporate some Functional Programming constructs so I can keep my sanity (or at least try).
-
Roc Lang for Advent of Code 2022
This year, I chose Roc. It’s a strictly typed functional language. As someone who loves Elm, a strictly typed functional language for front-end web development, I was lacking a language for everything else (server, cli, etc). ReScript has been my stand in for various reasons. I was excited to try Roc lang for last year’s Advent of Code, but my youngest daughter convinced me to use Lua for Roblox. I figured after a whole year, things would be much more stable now.
What are some alternatives?
svelte-wasm
TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
Fable: F# |> BABEL - F# to JavaScript, TypeScript, Python, Rust and Dart Compiler
haskelm - Haskell to Elm translation using Template Haskell. Contains both a library and executable.
purescript - A strongly-typed language that compiles to JavaScript
yew - Rust / Wasm framework for building client web apps
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.
reason - Simple, fast & type safe code that leverages the JavaScript & OCaml ecosystems
idris - A Dependently Typed Functional Programming Language
Vue.js - 🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
haskell-names - Haskell suite library for name resolution