David Sancho
@davesnx
Software engineer. React in OCaml at @ahrefs with styled-ppx, reason-react, server-reason-react, Reason and Melange.
Here is `server-reason-react`, the OCaml implementation of React I have been working on: sancho.dev/blog/server-si…
How dare you to not take the opportunity of seeing OCaml nerds, eating good food, drink camel coffee for free?
we still have free tickets for on-site FUN OCaml 2025 in Warsaw, btw hurry up and plan your travels!
got the same experience as Jon a few times. Aside from being a worst problem solver (getting far away from the problem), I get much more distracted. I feel like ai coding is for things you don't care much
Vibe coded some stuff yesterday. Happily typed in some detailed prompts and off Claude went, building exactly what I asked. Came back to it later and realised I should be implementing it in a much different way, so all the code is redundant. I feel like if I was manually…
I built an open-source project during covid that went "viral" and landed me a full-time job maintaining it. Ended up building a few more, joined a fantastic team, and now work with one of my best friends. Hard to explain how much it means to me
share a piece of software dev lore about yourself
Day 32 of threatening @dillon_mulroy if you don't give me permissions to change create-melange-app settings, I will find you and steal your vercel swag threats will escalate daily (possibly with exponential backoff, so you will feel the effect.ts in me)
Implementing a "React compiler" for reason-react is feasible. We might need type information and do shenanigans with melange, but totally worth it
if instead of "let's reimplement react" we go and make a small opt pass where all variants gets wrapped in useMemo we would have the best of both worlds... think about it
the saga continues, and it's the last step! - fixed the issue in react.js - React gets published with the fix under 19.1 - updated reason-react with 19.1 (fixes the issue!) - migrate the entire frontend to React 19.1 - publish reason-react 0.16.0 with React 19.1 support
current mood - installing java - to fix a bug generated by google closure compiler - for the useState hook in the react repo - to fix the bindings for React 19 in reason-react - to release reason-react with 19 support - and start releasing Server components in OCaml
.@cluely might have 2 c-level hires here
Coldplay accidentally exposed an alleged affair between Astronomer CEO Andy Byron and his colleague Kristin Cabot at one of their recent concerts.
this is a bad example of more data, better llms
> hey claude code let's use typescript > ok, it seems we have type errors, let's fix that > claude:
FUNOCaml 2025 Talk "OxCaml From a System Engineer's Point of View" 📅 Sept 15-16, Warsaw Dmitriy Kovalenko (Rust/C/Zig dev) evaluates 0xCaml for systems programming through building odiff, a high-performance image comparison library. Comparative analysis + practical insights
Long life to lwt
Direct-style Lwt concurrency library thanks to OCaml effect handlers. discuss.ocaml.org/t/ann-lwt-6-0-… Nice to see that the whole implementation is only 130 LoC on top of 30k LoC in Lwt. github.com/ocsigen/lwt/bl…
Join Thibaut Mattio (@tmattio_) at FUN OCaml 2025 for "Build Language Models with Raven"! 📅 Sep 15-16, Warsaw 🇵🇱 Learn to build transformer models using OCaml & Raven's JAX-like ecosystem. We'll explore autodiff, attention mechanisms & leverage OCaml's type system for ML.
my english sucks, does that stop me from posting, sharing and being out there? fuck no If you see me writing shit, please correct me, teach me. I didn't get a proper education, hopefully you understand, also happy to speak spanish/catalan if you are able to understand