AstonJ

AstonJ

What's your favourite tools/languages that compile into JS?

Here’s a pretty good list of them: https://github.com/jashkenas/coffeescript/wiki/List-of-languages-that-compile-to-JS

What’s your favourite… and why?

Most Liked

mafinar

mafinar

ClojureScript. Clojure is one of my favorite languages and my first non-trivial exposure to tools that compiled to JS happened with it (other than CoffeeScript - not a fan), so maybe I’m biased. I just can reason about things with Clojure(Script) better, it has decent interop, great React wrapper, an amazing framework and shadow-cljs <3 . YMM totally V.

OvermindDL1

OvermindDL1

OCaml translates to javascript very well. It has two ways too, bucklescript, which converts the AST to javascript and thus makes much more idiomatic and readable javascript, or js_of_ocaml (jsoo), which converts the bytecode to javascript, can often be a little bit faster than bucklescript in some cases but mostly on par, however it doesn’t require the source where bucklescript does require the source, so jsoo is more ‘generically’ useful, though it does output very very low level unreadable javascript. ^.^;

Emscripten has been my main thing that’s converted to javascript to date, but nothing ‘in production’ with it, wasm is better now anyway for those kinds of things.

Purescript sounds interesting too though, but not tried it yet.

DevotionGeo

DevotionGeo

Currently Svelte.

Where Next?

Popular Frontend topics Top

kokolegorille
Hello everyone, Does anybody uses Web Components in 2020? It’s quite old, but recently it seems to have some kind of revival. I have be...
New
New
AstonJ
I was watching this video by Richard Feldman (Elm core team) and he’s predicting TypeScript is going to take over the JS world: ...
New
First poster: bot
React is Dead. Long live Reactive Rails! Long live StimulusReflex and ViewComponent!. Let me tell you about the feeling that I get when ...
New
MikhailPertsev
Finally, I am going to enhance my css skills! I have always somehow ignored this, but now I finally decided to understand animations, tr...
New
New
First poster: bot
hlang in 30 Seconds hlang (the h language) is a revolutionary new use of WebAssembly that enables single-paridigm programming without any...
New
pippo12
Hello, I hope you have some tips for me. I am looking for further education including certificates (or similar) which are also accepted ...
New
First poster: bot
Interactive periodic table showing names, electrons, and oxidation states. Visualize trends, 3D orbitals, isotopes, and mix compounds. Fu...
New
harwind
Why does the image in my &lt;img&gt; tag appear larger than its specified width within a flex container? Here’s my HTML and CSS code: HT...
New

Other popular topics Top

ohm
Which, if any, games do you play? On what platform? I just bought (and completed) Minecraft Dungeons for my Nintendo Switch. Other than ...
New
dasdom
No chair. I have a standing desk. This post was split into a dedicated thread from our thread about chairs :slight_smile:
New
brentjanderson
Bought the Moonlander mechanical keyboard. Cherry Brown MX switches. Arms and wrists have been hurting enough that it’s time I did someth...
New
New
AstonJ
In case anyone else is wondering why Ruby 3 doesn’t show when you do asdf list-all ruby :man_facepalming: do this first: asdf plugin-upd...
New
AstonJ
If you get Can't find emacs in your PATH when trying to install Doom Emacs on your Mac you… just… need to install Emacs first! :lol: bre...
New
PragmaticBookshelf
Author Spotlight Rebecca Skinner @RebeccaSkinner Welcome to our latest author spotlight, where we sit down with Rebecca Skinner, auth...
New
PragmaticBookshelf
Get the comprehensive, insider information you need for Rails 8 with the new edition of this award-winning classic. Sam Ruby @rubys ...
New
AnfaengerAlex
Hello, I’m a beginner in Android development and I’m facing an issue with my project setup. In my build.gradle.kts file, I have the foll...
New
AstonJ
This is cool! DEEPSEEK-V3 ON M4 MAC: BLAZING FAST INFERENCE ON APPLE SILICON We just witnessed something incredible: the largest open-s...
New