4 ms·
Makes a lot of sense for SQLite to be written in C. It's a heavily optimized and debugged database implementation: Just look at btree.c with all its gotos :) T
by hbbio 9mo ago
Makes a lot of sense for SQLite to be written in C.
It's a heavily optimized and debugged database implementation: Just look at btree.c with all its gotos :)
The only language that would make sense for a partial/progressive migration is zig, in huge part due to its compatibility with C. It's not mentioned in the article though.
- alexpadula 9mo agoMaybe DRH will see this and update the page !
- bobajeff 9mo agoZig hasn't even had it's first release yet. And projects written in it still break in new releases. Given their stance on boringness and maturity it would make no sense for Sqlite to consider zig yet.
- alexpadula 9mo agoSQLite is never gonna be rewritten by its creators in another language. That is highly doubtful considering the age of SQLite and the roadmap for support I think until 2060 or mid 2050s based on what I’ve read.
- nicoburns 9mo ago> SQLite is never gonna be rewritten by its creators in another language. Almost certainly correct. It is however being rewritten in Rust by other people https://github.com/tursodatabase/turso https://github.com/tursodatabase/turso. This is probably best thought of as a seperate, compatible project rather than a true rewrite.
- przmk 9mo agoI'm biased but when I see Discord as the only way of communication, it doesn't make for a serious project. I wish more projects would rely on IRC/Matrix + forums.
- nicoburns 9mo agoFor better or worse, plenty of serious projects are using Discord for communication. It's not great, but IRC and Matrix have their own problems (IMO Zulip is the best of the bunch, but doesn't seem to be particularly widely adopted).
- koakuma-chan 9mo agoYou're right. Just look at their branding. Such poor taste. I'm sure it's a scam.
- deleted 9mo ago[deleted]
- 112233 9mo agoThe amount of completely obscure and exotic platforms that have C compiler, and the amount of tooling and analysis tools C has — I'd be surprised anything comparable exists.
- Svoka 9mo agoWhat would be a reason to bring Zig in? For example, Rust has additional memory guarantees when compared to C.
- riku_iki 9mo agoZig has better ergonomics over C but not as complex as Rust.