I like building stuff. I mainly tweet about ReScript, Relay and GraphQL. @rescriptlang contributor. @arizon_ab.

Stockholm, Sweden
Joined July 2019
📢 A single command that automatically removes all unused fields from your GraphQL queries and fragments in your RescriptRelay project! Prevent overfetching with no manual intervention. So excited this is finally stable enough to ship in rescript-relay 0.21.1! A short thread:
Amazing work by everyone involved in building Rewatch! So excited this will be released in v12. It lays the foundation for ReScript going forward, and enables a bunch of cool things you'll hear more about post v12.
So this crab jumped into our build system and things got out of hand. End result: a brand new, super fast ReScript build system. rescript-lang.org/blog/refor…
1
1
12
Gabriel Nordeborn retweeted
Been building a @rescriptlang MCP server lately, letting an LLM truly see a codebase. If you haven’t met ReScript before, this one’s still worth watching . It has a clear case of how localized MCP servers can lift developer tooling. piped.video/watch?v=stIXf1VN… #rescript #mcp
7
1
25
Been a while since I posted about RescriptRelay, but it's alive and well! Just shipped v4.0.0, which is the first version to fully embrace the upcoming ReScript v12 release. Also has an interesting feature, the `@ exhaustive` directive. Put that on any union/interface selection to have the Relay compiler force you to select all available members. Useful for having the compiler help you make sure you cover all cases of important stuff in the schema.
1
3
16
Gabriel Nordeborn retweeted
🎉 All 120 ARC-AGI-2 solvers in the dataset now written in CompDSL CompDSL is a purely functional, simply-typed DSL for composing grid transformations written in disciplined Python. Every program is guaranteed to terminate with polynomial complexity—no mutation, recursion, or unbounded loops—while remaining analysable through equational reasoning. github.com/cristianoc/arc-ag…
4
8
Having a good DB migration tool is worth its weight in gold. I personally love `graphile-migrate` and miss it whenever I don't have it. Perfect balance for me - write raw SQL, full control, and super fast locally.
1
2
8
Gabriel Nordeborn retweeted
The one truely amazing thing LLM doing is writing most of my rescript bindings. what a joy to the painful part of any rescript project. 💝
1
5
Some thoughts on ReScript + AI, and what we're working on + looking at next. Making ReScript great for LLMs is already a priority, and will become even more so going forward. And we think we're in a good position to make ReScript + AI a fantastic combo.
We're definitely already looking into this a lot for ReScript, with more to come as we release v12. Some things in ReScript we've found works really well for AI (and that we can improve further): - Nominal types means you can give great error messages - Super fast toolchain gives fast feedback, so LLMs can "self heal" even if they aren't perfectly trained on the language - The soundness (and preciseness) of the type system and the speed of the tooling means we'll be able to build lots of dedicated tooling for the LLM, like "find functions that take exactly this and do exactly this" (think hoogle for Haskell) - Again, the soundness and speed means we can improve on things like Reanalyze. Reanalyze is a ReScript tool that does advanced whole-project statical analysis to find dead code (down to the field read/write level), ensure you've handled all exceptions that can happen, etc - ReScript being a compiler means we can do optimizations like constant folding, emitting fast and efficient JS without the underlying ReScript looking terrible, etc And perhaps most important, using LLMs to _build features in the ReScript compiler itself_ has gotten exceptionally good. I really mean exceptionally good. A bunch of us can now crank out new features and fixes in a way that's quality assured (we have loads of tests and various ways of writing tests to nail down behavior), at a pace that is just crazy compared to a year or so back. We have tons of more thoughts around this of course. More to come soon hopefully!
8
Bun 1.3 is out. So excited to update ResX to make full use of it. Going to make it a 100% Bun framework (it uses Vite now for assets), and also add TypeScript support so it's easy to mix and match with ReScript.
1
2
18
The key point of ResX is to co-locate your HTMX routes with your code, that it's "just JSX" (+ the component model), and completely server side, so you can do nice things like using SQL directly in your components. It's fast, built on Bun, and very very flexible. I use it a lot.
2
2
I think I'm going to experiment with adding TS bindings to ResX, the server side JSX + HTMX framework: github.com/zth/res-x I really think it can be a good experience in TS as well. A few "smoothening the corners" needed, but the image shows roughly how it could look.
1
5
Gabriel Nordeborn retweeted
Vibe coding needs garbage collection. Literally, this time.
1
2
12
Excited to see what @bunjavascript 1.3 holds! Should be released very soon I think. I have my hopes up for a few things, looking forward to seeing what's included.
14
🥲 This took a while...
2
1
25
Recently I've replaced many many 1000s lines of TypeScript with ~1200 lines of SQL. New perf is through the roof! Postgres is fantastic, and with LLMs, building and maintaining things using complex (raw) SQL is suddenly attainable. Might start a blog just to write about this..
6
6
2
32