3 ms·
Are you aware of Kotlin? Or Scala? Closure? What about ReasonML (related to OCaml)? These are all languages that (roughly speaking, there’s nuance in their dif
by IggleSniggle 6y ago
Are you aware of Kotlin? Or Scala? Closure? What about ReasonML (related to OCaml)?
These are all languages that (roughly speaking, there’s nuance in their differences) transpile to bytecode or to JavaScript (ReasonML can also compile to native code). Come to think of it I think Haskell might have this now too.
There are many such languages! If “unified full stack language” is the goal, I think it makes sense to explore languages that were designed from the ground up with this in mind.
If the goal is “let programmers from ecosystem XYZ program in a new context” then I’m all about these experiments! Heck, I was a front end dev before becoming a backend dev via nodejs, so I get the appeal and think folks should go for it.
I am worried about the adoption of wasm, though, and not for the reasons you might think. We already complain about bloated js on the web, but it’s a high level language running in as a highly optimized VM focused on its effective support, with an ecosystem of developers that value small efficient packages. With wasm, it feels like we are on the verge of having Flash all over again, but this time *100 or more.
As the saying goes, “Give a man high level tools and he’ll fish for a day. Teach a man how to make a match and he’ll reinvent the fishing pole from matchsticks for a lifetime.”
- simooooo 6y agoC# too
- spicybright 6y agoCan you clarify ReasonML compiling to native? Native web stack?
- IggleSniggle 6y agoReasonML compiles to native binary as a dialect of OCaml (ie for server code). It also compiles to JavaScript to produce frontend code. Read more about it here: https://reason-native.com/docs/native-basics https://reason-native.com/docs/native-basics