HackerTrans
TopNewTrendsCommentsPastAskShowJobs

sprkv5

no profile record

Submissions

ReScript 12

rescript-lang.org
3 points·by sprkv5·il y a 8 mois·1 comments

comments

sprkv5
·il y a 7 mois·discuss
If you like ML-ness try ReScript v12. It occupies a nice middle-ground between OCaml and Gleam.
sprkv5
·il y a 8 mois·discuss
ReScript is a robustly typed language that compiles to efficient and human-readable JavaScript. It comes with a lightning fast compiler toolchain that scales to any codebase size.

ReScript 12 arrives with a redesigned build toolchain, a modular runtime, and a wave of ergonomic language features.
sprkv5
·l’année dernière·discuss
the lift off spot is at the edge of the launch pad, whereas the landing spot is at the center of the launch pad.

[edit] the camera angle and the camera height from the ground is different as well between the lift off and landing.
sprkv5
·l’année dernière·discuss
If you're a fan of both Daft Punk and the 80s City Pop genre and if you were around when City Pop was rising in 2019 then you could have listened to the mashup "Something about Plastic Love"[1]. Beautiful blend. The original got taken down - and second grade recreations remain.

Also Plastic Love is the best Pop song if you go by Vice[2].

[1] https://www.youtube.com/watch?v=jOTlyCZmVa8 [2] https://www.vice.com/en/article/mariya-takeuchi-plastic-love...
sprkv5
·l’année dernière·discuss
Is the iPhone "e" series going to be a yearly release now? Like the Pixel "a" series?
sprkv5
·l’année dernière·discuss
When we talk about cities with a grid plan, all the cited examples in sibling comments pale in comparison to Mohenjo-daro. It existed around 2500 BC and one of the iconic places is the Great Bath which is the "earliest public water tank of the ancient world".

Tenochtitlan existed in the 15th century which is fairly recent.
sprkv5
·il y a 2 ans·discuss
I agree with you. The best looking ones are Gleam, ReScript and F#
sprkv5
·il y a 2 ans·discuss
Yet Google and Anthropic wanted in on the huge data that GitHub has to offer. It seems the world has not moved on just yet.
sprkv5
·il y a 2 ans·discuss
One of the reasons that comes to my mind is - it could have been problematic look for only Microsoft (Copilot) to have access to GitHub for training AI models - à la monopolizing a data treasure trove. With anti-competitive legislation catching up to Google to open up its Play Store, this could have been one of key reasons why this deal came about.
sprkv5
·il y a 2 ans·discuss
Absolutely. People are sleeping on it.

If only projects like Bun/Deno/Node added runtime support for ReScript instead of TypeScript, collectively as the web-tooling industry, we'd be in a better place. But you can't win against the MS's marketing budget.

Also in hindsight, ReScript diverged away from OCaml, but the ReScript development team could have gone further by creating a runtime for ReScript. Then again I don't blame them - they are polishing the dev experience of ReScript and React.

This is the decade of writing shiny new runtimes - I hope somebody writes a ReScript runtime. Imageine ReScript, Core, rescript-webapi, typechecker, re-analyze, plus a bundler minifier etc baked into the runtime like Bun. Sounds like an interesting value proposition. Fingers crossed.
sprkv5
·il y a 2 ans·discuss
> I use TS because of its ubiquity, but I think there's the possibility for a future where a system a little more like Flow gets baked into the language.

Have you looked into ReScript? It is basically a sound type system + JavaScript-like syntax. It inherits the type system from OCaml. You might like it. They recently released version 11.