Na'aman Hirschfeld’s Post

I released Scythe — an open-source SQL compiler and  linter built in Rust.  Write SQL. Generate type-safe, idiomatic database access  code. No ORM needed.  The problem: ORMs add bloat, hide performance issues, and   create hard-to-debug edge cases. SQL is already a  mature, type-safe language — it should be the source of  truth.  What Scythe does: It parses your SQL schema and queries,  infers types and nullability statically, and generates  production-ready code for your language and database  driver of choice.  10 languages, 25 driver backends:  - Rust (sqlx, tokio-postgres)  - Python (psycopg3, asyncpg, aiomysql, aiosqlite)  - TypeScript (postgres.js, pg, mysql2, better-sqlite3)  - Go (pgx, database/sql)  - Java & Kotlin (JDBC)  - C# (Npgsql, MySqlConnector, Microsoft.Data.Sqlite)  - Elixir (Postgrex, MyXQL, Exqlite)  - Ruby (pg, mysql2, sqlite3)  - PHP (PDO)  3 databases: PostgreSQL, MySQL, SQLite  Beyond codegen, Scythe ships with 93 SQL lint rules, SQL  formatting, and a migration path from sqlc.  If you've used sqlc in Go — this is that idea taken  further, for every major backend language.  GitHub: https://lnkd.in/ds5sRUEM  Docs: https://lnkd.in/dCHW3PVB  crates.io: https://lnkd.in/dVk3_r-y  #OpenSource #Rust #SQL #Backend #Database #TypeSafe  #CodeGeneration #PostgreSQL #MySQL #SQLite #Python  #TypeScript #Golang #Java #Kotlin #CSharp #Elixir #Ruby  #PHP #DeveloperTools #WebDevelopment #SoftwareEngineering

To view or add a comment, sign in

Explore content categories