David Sancho
@davesnx
Followers
3K
Following
19K
Media
448
Statuses
6K
Open Source UI infra at @ahrefs with OCaml Made styled-ppx and server-reason-react Working on reason-react / Melange / Reason
Barcelona - La Cerdanya
Joined October 2011
Here is `server-reason-react`, the OCaml implementation of React I have been working on: https://t.co/d1dejve9Df
sancho.dev
Introduction to server-reason-react, an implementation of react-dom/server in OCaml
9
27
114
hopefully with $2.3B, they could merge tree-sitter into VSCode Anyway, congrats!!!
We've raised $2.3B in Series D funding from Accel, Andreessen Horowitz, Coatue, Thrive, Nvidia, and Google. We're also happy to share that Cursor has grown to over $1B in annualized revenue and now produces more code than any other agent in the world. This funding will allow
2
0
7
I still don't understand why React doesn't ship with React.ErrorBoundary (It can be done in userspace1!1!!, sure react-error-boundary has 7,8M/week downloads)
👀 React <ErrorBoundary> on v19 A subtle but interesting behavior change is explained here Seems like now it will "fail-fast" and bail out on the first error, while previously it "aggregated" errors
1
1
7
The future of programming: same as poker players with 24 tables at the same time, but with agents
1
2
10
Excellent talk by @semgrep. Thank you, Emma Jin, and also thank you for the sponsorship
day 3 of posting FUN OCaml 2025 talk recordings! https://t.co/SYICCWlDaI
1
1
11
posting one FUN OCaml 2025 talk recording per day, starting today with
0
2
9
learn OCaml, go into debt if you have to (debt here is to suffer with a package manager and build system issues. LSP is the goat)
3
2
15
I have only 2 ways of working with AI now - non-stop 15 hours, 6 projects at the time, while watching LoL worlds and being x10 productive and forgetting to eat/rest/everything - constantly getting distracted because llms made programming no fun
2
0
10
Xavier Leroy’s new book “ Control structures in programming languages: from goto to algebraic effects” https://t.co/EXcds9inhg
2
76
361
Only supports yojson and has no dependencies aside from the standard lib I used dune preview and I'm surprised by the DX, we should talk more about it
2
0
6
This is such a great idea that I implemented an ocaml port on my way back from Singapore It will be handy internally at ahrefs for all LLM structured outputs! https://t.co/TpGtVxpQ3S
JSON is token‑expensive for LLMs – just like @mattpocockuk frequently mentions. Meet TOON, the Token‑Oriented Object Notation. 💸 40–60% fewer tokens than JSON 📐 readable & tokenizer-aware Wrap your JSON with `encode` to save half the token cost: https://t.co/UoG9yHmgfg
4
4
25
Warning: The experimental framework I'm working on is now public. It contains GADTs, OCaml 5 effects, and a suspicious lack of monads. Proceed with caution. https://t.co/tK7UYfWgzM
github.com
Tapak is a composable framework for building web applications in OCaml - syaiful6/tapak
6
11
62
It's my moment. Time to share some stuff and get comfy at talking to the camera
OCaml just lost its biggest influencer, only a couple of months of losing one to C++ 😔 Jk. Anyway, watch the stream. @kitlangton explained EffectTS very well since he was also explaining it to the audiences.
3
3
55
not enough people know about "Timeline" feature in cursor/vscode
0
0
1