People are using AI to break CUDA’s moat.
Given any pytorch model, it profiles it, ranks bottlenecks by amdahl's law, writes triton or CUDA C++ replacements, and runs 300+ experiments overnight with no human in the loop.
- 5.29x over pytorch eager on rmsnorm
- 2.82x on softmax
Posts by Tiago Cogumbreiro
Let's have great documentation for your OCaml project. Markdown is not the excuse anymore
I wrote a blog post about odoc's Markdown backend sancho.dev/blog/ocaml-...
This is such an ingenious Apr 1st PR from Stephen Dolan I feel like it's the exact opposite of AI slop github.com/ocaml/ocaml/...
A screenshot of Egg's Getting Started guide ported to an OCaml API.
I'm getting closer to having an e-graphs library that can be shared with others. I'm porting some of the tutorials from Egg to finetune the UX and to see if I can reproduce some of the functionality. I am really enjoying ODoc+Dune! Nice combo.
I've been nerd-sniped into implementing E-graphs in OCaml. It's a lovely algorithm, which kind of reminds me of the Sea of Nodes IR. The paper egg was a lot of fun to read.
no-more-cover-pages interface, showing thumbnails of annoying cover pages that no-more-cover-pages will helpfully remove for you
I don't like cover pages on my PDFs so I made a li'l program to strip them from PDFs in my Zotero library
uvx no-more-cover-pages
github.com/joshuahhh/no-more-cover-pages/
Introducing SlopOS: a new vibe-coded, operating system for safety-critical applications. SlopOS leapfrogs existing OS designs with first-class support for a new memory managed, object-capability based programming language for the userland and core kernel routines. (1/3)
At Harmonic we've just announced $1,000,000 of sponsorship for Principal Investigators and Rising Mathematicians. Significant O($100K) funding for high-impact projects. Early access to next-generation Aristotle models. Please apply! aristotle.harmonic.fun/sponsorships
Haiku also works pretty well with OCaml
Screenshot of git history showing 14 commits.
I think my macos build of faial seems to be working again.
I would be very appreciated if you have an Apple laptop (m1 or newer) and you can the give binary dist of faial a go, you'll be able to find the link on top of the readme:
gitlab.com/umb-svl/faial
Yeah I am trying to revive my macos runner. I was struggling to get the cache working and it was kind of flaky (from what I remember). But I'll definitely have a peek at your CI script.
I'm doing my bi-annual tradition of trying to build Faial for windows/macos with a CI script and failing miserably. It's been +5 years 🥳
.@julien-lange.bsky.social and I are looking for a PostDoc to work on our EPSRC Project "INDIMO: Invariant Discovery and Monitoring for Message-Passing Programs".
If you know someone, or are interested, please reach out!
A few details here: jobs.royalholloway.ac.uk/Vacancy.aspx...
Oh, thanks for letting me know. It should be fixed now.
Dream, ppx_blob, mustache were a pleasure to use. Of course, always a major fan of cmdliner (using the new, lovely API).
The old server was powered by nodejs. Dream boots much faster. I am also more familiar with the OCaml ecosystem, so no more wondering how to install/update my slides server.
I've been using gnab/remark's slides for almost 10 years now. I was using sinedied/backslide as a launcher for a while, but finally decided to write my own in OCaml with Dream as I had heard about it.
Presenting Shearwater, a remark server that should work out of the box:
gitlab.com/cogumbreiro/...
For instance, I noticed that the results I ask my students to prove are much simpler at the end of the course than at the beginning, so teaching in reverse would simplify what needs to be taught in terms of proof theory.
I love that. It's something I've been meaning to do in a while, but b/c I followed Sipser I started from the usual way, and I haven't had the energy to do rethink the presentation. But good to know all of these great resources. Thanks for sharing these links!
susam.net/fizz-buzz-wi...
This was a lot of fun, via lobste.rs
A comment also mentioned this fascinating video youtu.be/j5s0h42GfvM?...
Haha I need to try that out. I've seen so many cool examples of DSLs in Lean
I think I get Ltac2. It's refreshing to write tactics that have typing information. It really cleans up detailed proof manipulation.
I have big dreams for Claude Code automating Rocq proofs, but it keeps responding in Lean tactics 😞 Is Lean the TypeScript of LLMs?
A new book on the history of control structures by the creator of #OCaml himself @camlist.bsky.social xavierleroy.org/control-stru...
A screenshot of OCaml code showing some JSON deserialization code.
The tool is all implemented in OCaml. The monadic-design pattern of parsing JSON comes from what I learned in Faial <https://gitlab.com/umb-svl/faial/> and I think it looks neat.
A screenshot of `proof-ls` in action, showing a proof state.
The output is Markdown-formatted and the tool can figure out your Rocq project. I've been using this to help Claude Code help me, with some success. I have some scratch files in the project, including playing around with Fleche, but I haven't figured that code base yet.
I am publishing an itch I've add in the last few days
gitlab.com/cogumbreiro/...
This is a simple CLI tool for Rocq that shows the proof state/typing info of a source code location, via rocq-lsp. I'm trying to learn the code base of rocq-lsp, but it's a large project.
Interactive theorem provers for proof education. ~ Romina Mahinpei, Manoel Horta Ribeiro, Mae Milano. dl.acm.org/doi/abs/10.1... #ITP #CoqProver #Teaching
Interesting retrospective 👇 on why V8 team abandoned Sea of Nodes. Have to say SoN seems obviously correct, is Javascript just not designed to leverage it. AFAICT they treated memory as one giant register re: dependencies; langs like Rust w/ better aliasing info should do better
Pleased to announce that the third edition of my PL book, PLAI, is finally available on paper! Same price as it's been for 20 years (-:. Also made it available on Kindle EPUB, and a few other options. (Always free options, of course.) Enjoy!
www.plai.org