| ▲ | throwawayffffas 4 days ago | |||||||
Lol I never knew django orm is faster than SQLAlchemy. But having used both that makes sense. > Why Rust? ... Rust handles the database plumbing. Queries are built as an IR in Python, serialized via MessagePack, sent to Rust which generates dialect-specific SQL, executes it, and streams results back. Speed is a side effect of this split, not the goal. Nice. So what does it take to deploy this, dependency wise? | ||||||||
| ▲ | kstrauser 5 hours ago | parent | next [-] | |||||||
> Lol I never knew django orm is faster than SQLAlchemy. I don’t believe that for a second. Both are wonderful projects, but raw performance was never one of Django ORM’s selling points. I think its real advantage is making it easy to model new projects and make efficient CRUD calls on those tables. Alchemy’s strong point is “here’s an existing database; let users who grok DB theory query it as efficiently and ergonomically as possible.” | ||||||||
| ||||||||
| ▲ | mr_Fatalyst 4 days ago | parent | prev [-] | |||||||
Just pip install oxyde, that's it. The Rust core (oxyde-core) ships as pre-built wheels for Linux, macOS, and Windows, so no Rust toolchain needed. Python-side dependencies are just pydantic, msgpack, and typer for the CLI. Database drivers are bundled in the Rust core (uses sqlx under the hood), so you don't need to install asyncpg/aiosqlite/etc separately either. | ||||||||
| ||||||||