frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Lwt-to-Eio – Automated Migration from Lwt to OCaml 5 Direct Style

https://github.com/oug-t/lwt-to-eio
1•oug-t•1h ago

Comments

oug-t•1h ago
Hi everyone,

Like many of you, I’ve been looking into migrating my libraries from Lwt to Eio to take advantage of OCaml 5’s direct-style concurrency. While the manual migration guides are excellent, I found myself making the same mechanical changes over and over—flattening binds, unwrapping promises, and rewriting maps.

So, I built lwt-to-eio, a tool that automates the boring parts of this transition.

Repo: https://github.com/oug-t/lwt-to-eio

What it does (The Magic) It parses your OCaml source code and performs AST-level rewrites to transform monadic Lwt patterns into direct-style Eio code.

Input (Lwt):

let fetch_data id = Lwt.bind (Db.get_user id) (fun user -> Db.get_posts user.id >>= (fun posts -> Lwt_list.map_p process posts ) ) Output (Eio)

let fetch_data id = let user = Lwt_eio.Promise.await_lwt (Db.get_user id) in let posts = Lwt_eio.Promise.await_lwt (Db.get_posts user.id) in Eio.Fiber.List.map process posts Current Status & Help Wanted This is currently an MVP. It handles the most common patterns I encountered (binds, map_p, sleep, return), but there is plenty of surface area left to cover.

I’m looking for contributors to help add rules for other common patterns. I’ve tagged a few issues as “Good First Issues” if anyone wants to dip their toes into ppxlib and AST rewriting:

Lwt.catch → try/with: Transforming monadic error handling to direct style exceptions.

Lwt_io support: Mapping legacy IO functions to Eio buffers.

Feedback, PRs, and “It broke on my file!” reports are all very welcome.

Connect multiple Claude Code agents into one collaborative team

https://openagents.org/showcase
1•snasan•4m ago•1 comments

Wikipedia Inks AI Deals with Microsoft, Meta and Perplexity

https://apnews.com/article/wikipedia-internet-jimmy-wales-50e796d70152d79a2e0708846f84f6d7
1•amiga386•4m ago•1 comments

Show HN: I built a text-based business simulator to replace video courses

https://www.core-mba.pro/
1•Core_Dev•4m ago•0 comments

Can tinkering with plant pores protect crops against drought?

https://knowablemagazine.org/content/article/food-environment/2025/manipulating-stomata-could-hel...
1•PaulHoule•6m ago•0 comments

Kutt.ai – Free AI Video Generator, Text and Image to Video

https://kutt.ai/
1•zuoning•7m ago•1 comments

Hyperfiddle: An automatic front end for any back end function or object

https://github.com/hyperfiddle/hfql
2•filoeleven•7m ago•0 comments

Fast Client-Side Search with Rust and WebAssembly

https://code.visualstudio.com/blogs/2026/01/15/docfind
2•azhenley•8m ago•0 comments

Signal, the secure messaging app: A guide for beginners

https://freedom.press/digisec/blog/signal-beginners/
1•doener•12m ago•0 comments

The future of AI is voice

https://realizeai.substack.com/p/the-future-of-ai-is-voice
1•rafaelmdec•18m ago•0 comments

Profile a Parser Implementation in Rust

https://blog.wybxc.cc/blog/profile-cgrammar/
1•todsacerdoti•18m ago•0 comments

Show HN: Playn a privacy first and fast blog platform

https://playn.blog/
1•bairess•21m ago•0 comments

Show HN: Using Qwen3:1.7B to call itself recursively

https://seanneilan.com/posts/tiny-llm-calls-itself/
1•sneilan1•24m ago•0 comments

Gatekeeping: A Partial History of Cold Fusion

https://philsci-archive.pitt.edu/27902/
1•mathgenius•26m ago•0 comments

Sustainability frameworks: Past, present, and future

https://illuminem.com/illuminemvoices/sustainability-frameworks-past-present-and-future
2•R3G1R•27m ago•0 comments

AI chatbot with Vision AI camera

https://www.seeedstudio.com/SenseCAP-Watcher-XIAOZHI-EN-p-6532.html
1•meilily•28m ago•0 comments

Towards a Science of Scaling Agent Systems

https://arxiv.org/abs/2512.08296
1•handfuloflight•33m ago•0 comments

Show HN: Cursor For Data – Make LLMs and Agents have row-level intelligence

https://github.com/vitalops/datatune
1•abhijithneil•35m ago•0 comments

IAMF Binaural Web Demo

https://aomediacodec.github.io/iamf-tools/web_demo/
1•goodburb•41m ago•0 comments

AI is great for scientists, but perhaps not for science

https://www.programmablemutter.com/p/ai-is-great-for-scientists-perhaps
2•anigbrowl•45m ago•0 comments

Multi-Agent Coding Pipeline: Claude Code and Codex[Open Source]

https://github.com/Z-M-Huang/claude-codex
1•zh_code•48m ago•0 comments

Show HN: Your AI can't lie about what it did anymore – live demo

https://neurop-forge.onrender.com/demo/microsoft
1•LBWasserman•49m ago•2 comments

Show HN: BunKill – npkill alternative built with Bun.js

https://github.com/codingstark-dev/bunkill
1•codingstark•50m ago•1 comments

More Americans are living alone than ever before

https://sherwood.news/personal-finance/more-americans-are-living-alone-than-ever-before/
3•avonmach•52m ago•0 comments

BGP Network Browser

1•hivedc•54m ago•0 comments

Why college students can't do basic math [video]

https://www.youtube.com/watch?v=lFXFZs5Ha40
2•drivebyhooting•54m ago•2 comments

A Datomic entity browser for prod [video]

https://www.youtube.com/watch?v=dmucZkE5gd0
3•codemonkey-zeta•59m ago•0 comments

Ask HN: AI Music Covers in 2026?

2•sexy_seedbox•59m ago•3 comments

Build Cursor Tab in less than 300 lines of Lua

https://jda.bearblog.dev/build-cursor-tab-in-less-than-300-lines-of-lua/
2•jalford14•1h ago•0 comments

The Changing Face of Koreans

https://www.geekinheels.com/the-changing-face-of-koreans/
2•enceladus06•1h ago•0 comments

Show HN: Cron for Claude Code – quickly schedule repeating CC jobs

https://github.com/nsmith/claun
1•nsmith22•1h ago•0 comments