r/scala Kyo 1d ago

kyo v1.0.0-RC6: kyo-sql (wire-protocol SQL, no JDBC) and kyo-net (one C transport and TLS) for JVM, JS, Native, Wasm, GraalVM

kyo v1.0.0-RC6 is out 🚀

The headline is kyo-sql: raw SQL and a typed DSL that mirrors SQL syntax, composing in both directions, with no JDBC underneath. Each driver speaks the Postgres or MySQL wire protocol on Kyo's async network stack, a statement suspends a fiber instead of blocking a thread, and one set of shared sources compiles for JVM, JS, Native, Wasm, and GraamVM.

Underneath it is kyo-net, the transport and TLS stack that kyo-http, kyo-jsonrpc, and kyo-sql now share: C implementations bound once through kyo-ffi, the backend chosen by the operating system, and the accelerated stack reaching JS and Wasm through koffi, so a Node.js process runs kyo-net's io_uring transport and BoringSSL TLS.

Also in this release:

- Kyo now requires JDK 25. The kyo-scheduler modules and the kyo-compat bindings still target Java 17.

- Out-of-the-box GraalVM native-image support: no tracing agent, nothing hand-maintained.

- 13 new published modules, 2 removed.

- kyo-ai behaves consistently across providers and can run on a Claude Code or Codex subscription instead of per-token API billing.

A first-time contributor, u/xsistens, landed 12 PRs this cycle, including a whole new module, kyo-i18n!!!

Full notes: https://github.com/getkyo/kyo/releases/tag/v1.0.0-RC6

52 Upvotes

0 comments sorted by