ReScript 12 is here! A major step toward a leaner, faster, simpler toolchain. This release refines the language and embraces ReScript’s own identity. Blog: rescript-lang.org/blog/relea… Notes: github.com/rescript-lang/res… Huge thanks to everyone who helped move ReScript forward.
3
38
126
18,715
Woohoo! We just launched our brand new landing page 🚀 rescript-lang.org/
5
77
329
A simple, solid type system that doesn't get confused while you refactor your code. Change the right field in the right record, and leave the superficially similar ones alone! Works across files too.
8
41
260
Pssss, the right side is the JavaScript _output_! Have you ever seen a JavaScript output this clean and interoperable? Pass the message. You get to have your JavaScript cake and eat it too!
✨ Released initial express bindings for @rescriptlang ➡️ An API as close as possible to the expressjs one ➡️ Zero-runtime cost ➡️ Clean output github.com/bloodyowl/rescrip…
6
34
158
It's our great pleasure to announce the release of ReScript 11.1! This release brings a ton of new features and improvements: - Tagged template literals - JSX for more than React - Native BigInt support - Array spread syntax - %todo annotation for incomplete code ...and more🎉
8
39
169
17,110
The day is finally here - ReScript v11 is out! This release is packed with features, including massively improved JS/TS interop capabilities for variants, uncurried by default, dynamic imports, and more. Read about it all in our announcement post: rescript-lang.org/blog/relea…
4
56
146
28,678
We are proud to announce our first community driven release: ReScript v10 Official M1 binaries, Unicode support for regular strings, experimental optional record fields and more! rescript-lang.org/blog/relea…
49
143
rescript@10.1 will ship with genType built in. This will make ReScript -> TS code generation an out-of-the-box feature.
24
121
rescript@10.1 is now released! Featuring our all new async/await syntax, huge JSX improvements and updated rescript/react 0.11 bindings for React@18 support 🚀 rescript-lang.org/blog/relea…
2
55
106
12,412
ReScript 8.3 is out! Blog post part 1: rescript-lang.org/blog/relea…
3
24
107
"Thinking in ReScript" by Kevan Stennard gives a nice overview of some common ReScript concepts for #JS and #TypeScript developers. Check it out here: dev.to/kevanstannard/thinkin…
1
27
105
Our upcoming release will come with pre-built Mac M1 executables! Full performance benefits, no extra steps w/ Rosetta emulation needed. Credits to @leostera for providing the external M1 infrastructure to automate our builds 🙌
5
15
97
Wow! We recently reached our 10k downloads milestone for our rescript-vscode extension 😱 Lots of folks have asked for it, so our next version will come with an autocompletion feature for structural objects! Stay tuned.✨
1
10
95
ReScript v11 will soon ship our new super-charged "zero-cost" customizable variants for seamless JS interop and efficient pattern matching! Check out our newest blog post for a glimpse into the future of the language 👇 rescript-lang.org/blog/impro…
4
35
95
14,927
We just released a new article about our new first-class dynamic import support that will ship with ReScript v11. Code-splitting without ever mentioning any file paths. It's kinda cool! Check it out here👇 rescript-lang.org/blog/first…
2
31
88
16,093
We just published another sneak peak on some of the new enhancements coming to ReScript v11. This one is all about record type enhancements. Check it out 👇 rescript-lang.org/blog/enhan…
4
28
74
17,091
Small editor plugin update 1.0.2: snippet autocompletes to ease up a few syntax features (loop, externals)!
3
19
72
About time we've achieved this =)
5
61
The latest version of VSCode now comes with a new custom file icon for .res and .resi files!
1
6
61
Better unicode support is coming to our platform! No more inconsistencies between `` and "" strings.
Lots of improvement in @rescriptlang recently, this is the most fun one, thanks to @_binary_search !
7
59
Our retreat slowly comes to an end... We were quite busy and didn't really get to live tweet, BUT the outcome was outstanding and we can't wait to share what we will be up to in the next few months while working towards ReScript 12 🚀 Good energy and enthusiasm in the team!
5
8
58
4,138
Who's liking the even faster build speed in 8.3.0? Clean build:
1
5
52
So... how do you like v11 so far?
7
3
53
4,267
New subtle file icons coming soon to your file drawer 😱
Sometimes it's the little things that count. So #vscode friends stay tuned, this is happening soon for #rescript.
1
10
50
The rumours are spreading 😱
async/await is coming to @rescriptlang 👀🔥
3
2
47
Ah, the power of having proper language constructs to handle return values and exceptions in both sync and async manner without the need of let variables and try/catches. Just another day in ReScript 😎
Did you know that in ReScript you can pattern match directly on `await`, and that you can handle exceptions in the same switch? Can't be overstated what a productivity multiplier this is given how cumbersome error handling in async/await can be. Also, notice `Ok()` and `Error()`. ReScript has a result type built right into the language that's always in scope. So communicating success/error is simple and accessible to anyone.
8
41
4,812
Neat code actions coming to rescript-vscode soon! - Insert missing pattern match cases - Wrap / unwrap optional values - Correct misspelled identifiers - Add type annotations to functions - ... and many more Thanks to @___zth___ for taking the initiative!
Me and @ccrisccris have been working on adding code actions to the #ReScript VSCode extension, and we're finally ready for some testing. Check the forum thread out for info: forum.rescript-lang.org/t/an… Here's some of the actions we've added that'll impact my own day to day the most:
1
11
43
Hello ReScript Windows users! We've recently done a round of polishing for ReScript on Windows and would like to know if we've missed anything. If your experience is positive, do reply too. (If you're not on Windows but do know folks on it, share this tweet please! Thanks)
14
42
We wanna thank everyone who joined us, putting so much time and effort into this project. We are already looking forward to another ReScript Retreat in 2025!
3
7
41
5,675
Thanks to Paul and Florian our new online playground finally runs compiled code! #ReScriptRetreat2024
So proud and happy to be part of #RescriptRetreat2024! Today, we shipped with @fham_r the long awaited console output in @rescriptlang playground!
2
5
42
3,450
Academia 🤝 ReScript
After many years in industry, I decide to do some education for fun, a programming language course in @rescriptlang , it is a work in progress bobzhang.github.io/rescript-…
2
36
We are making good progress! 🚀
As we're approaching the end of 2020, here's what the @rescriptlang team is up to rescript-lang.org/blog/edito…
6
36
Current status: tweaking more editor colors
2
1
31
YES! This is going to be our first in-person event since 2019, when COVID shut down any bigger initiatives (the last one was ReasonConf 19 / USA). This time it's going to be a retreat instead of a conference to tighten the collaboration effort between individual members!
@rescriptlang OSS core contributors rejoice! The ReScript Association invited 13 contributors to the ReScript Retreat in Vienna from May 23-26, 2024 to work together on important topics in the ReScript compiler, toolchain and ecosystem. More details will follow soon.
5
34
2,475
Thanks to @aspeddro's fantastic work upgrading our NextJS infra and implementing the necessary CDN parsing logic, we are now able to automatically provide the newest playground bundles on every npm release! Check out version 11.0.0-rc5 here: rescript-lang.org/try?versio…
7
34
2,917
How long has your ReScript watcher been running flawlessly?
1
29
The leanest React usage turned out to be from a compile-to-JS language 🤔
I made a demo to show @rescriptlang with @react under 1K, it also demos pattern match, functional update under that 1K. Only 3 directories under node_modules, check it out! github.com/bobzhang/rescript…
7
30
At our retreat event we talked about or plans for our upcoming major release ReScript v12 and the roadmap for 2024. We recently published an announcement to highlight the details. Link down below 👇
4
6
31
2,817
Diffing clean, readable JavaScript output means that you can make giant ReScript changes with a high confidence rate of having introduced no migration bug. This is the technique we’ve used internally to migrate high six digits number of lines too.
tired: don't deploy on Fridays wired:
6
29
Let's go! Our ReScript Retreat started out with an amazing intro talk about our syntax parser and printer implementation by our syntax connoisseur @_binary_search himself. Time to turn "let" into "var" amiright?
Retreat! 14 contributors from 9 nations (including Korea and South Africa) joined us in Vienna to closely work together on @rescriptlang topics. We want to thank our main supporter cca.io for sponsoring our amazing work & coffee space!
1
3
29
2,357
Hooray!
Today is my last day. I am grateful to Meta for the unique opportunity to work on @rescriptlang and @flowtype for such a long time. Thank you, Meta! I will start my new journey mostly on WebAssembly and Rescript next week!
2
28
We recently published one of our ReScript Retreat 2024 recordings with @ccrisccris talking about our compiler internals. Link in the comment below👇 (more videos will be following soon!)
1
6
30
2,049
We released rescript@10.0.1 that fixes a watch mode issue for Windows users.
4
29
Our Syntax Lookup Widget just got an update! Thanks to kevanstannard, you can now look up builtin extension points with short description and examples 🚀 Check it out: rescript-lang.org/syntax-loo…
1
25
Happy Valentine’s Day! Code less, love more
1
25
Replying to @peterpme
More importantly, our compilation saves intermediate artifacts as checkpoints! This means: - If your compilation gets shut down halfway, we pick up from where we left. No staleness or weird state - We don't ever run out of memory during compilation
2
25
This could have been a variant.
2
2
25
3,629
Minor mention correction: @rescriptlang and @evanwallace Sorry, random Indian guy and Italian company!
Thanks to recent improvement from @rescript and @esbuild, we are able to emit very clean bundled code. It's the combination of fastest compiler/build/bundler in JS ecosystem.
5
25
We are currently upgrading our forum to the newest version. We will be back online soon!
23
1,905
Without the association, there wouldn't have been/won't be any conferences. If you're looking forward to those post pandemic, consider sponsoring Patrick and/or the association's work!
Super excited that this rebrand is finally done! This is especially good news for anyone relying on the @rescriptlang project for the long term.
3
24
Topics and work groups have been established. We overheard some discussions about "for of" & iterator support. Meanwhile the online playground is about to be extended, and rescript-core is on its way into the compiler.
1
4
21
3,977
Good morning! How's everyone's JS today? piped.video/watch?v=Uo3cL4nr…
2
1
20
The amount of interest in helping out and improving the ReScript language, tooling and ecosystem has been growing very rapidly lately and we couldn’t be happier. We look forward to continuing advancing ReScript and the ecosystem in 2024!
17
1,186
Amazing! 🚀
Want to work with ReScript? We're hiring! #rescript forum.rescript-lang.org/t/se…
2
18
You can always try it on small libraries, and it things don’t work out, remove the source and format the clean output and pretend you’ve always been writing JS/TS
2
1
17
Help us make our community resources more discoverable by using our forum 💬
For anyone who has troubles with the @rescriptlang vim plugin setup, please ask your questions on the ReScript forum, so others can benefit from the answers as well. forum.rescript-lang.org/
16
Also, we want to sincerely thank all of the ReScript contributors! The list is too long to state here, but it includes everyone from those who work on the compiler + tooling + docs, to those who test + report issues, and those who answer questions on the forums. Thank you all!
1
15
1,471
!!!
Something exciting just landed in the pre-release version of the @rescriptlang VSCode extension - much improved autocomplete on unsaved code! Check out this example. All of this is without the compiler running. This will hopefully make a big difference when writing ReScript.
14
1,326
Relay looks beautiful in ReScript. Holy moly.
One of my favorite things in Relay is that even an as mundane thing as a link can have data dependencies. The component here links to "data sources". Whoever wants to use this doesn't need to care about _what_ data the link needs from each data source. Just drop it in there. 1/2
14
2,078
Replying to @tomus_sherman
JS object as argument everywhere would wreck perf bc of allocations, plus all the runtime unpredictability. Here's a simple calculation: nitter.app/batmansmk/status/13632… So yeah, use labeled arguments! And do worry about perf. Disregard of perf is how we lower our capability ceiling.
Replying to @hputzek @tlakomy
100,000 / s == 2,000 / frame. Just enough to sort() an array [] with 50 elements. If you have 100 components in React, thats gonna be about 2,000 function calls as well.
6
15
Unbelievable.
1
13
1,874
How are you liking the new editor plugin release?
5
15