Twitxy Saved

Glauber Costa

Verified account This account is verified. Learn more

@glcst

Founder of @tursodatabase - the LLVM of databases. Including a rewrite of SQLite and Postgres

npx turso@latest
Dallas, TX turso.tech Joined September 2009
1.2K Following 22K Followers 14K Posts

Latest posts 5

Pinned post

Glauber Costa Verified account @glcst
I am excited to announce that we are officially writing a new version of Postgres. In Rust - and creating the LLVM of databases in the process.

In the span of a year, we have rewritten SQLite. Keeping the compatibility, increasing its feature set. MVCC, Types, (Live) Materialized Views, among other things. In the process of doing that, we have realized: At the end of the day, what makes SQLite special is that it compiles SQL to a database-specific bytecode. So why can't we compile *Postgres* to the same bytecode?

Turns out we can. I ran an experiment called pgmicro as a way to prove this hypothesis, and it works very well. It is time to make this official, and put the weight of Turso behind it. We shall give the world a modern take on Postgres. Wire compatible, but built on a new architecture.

We have already heard of others wanting to extend this. MySQL? Redis? the sky is the limit. What can we do if we do for databases what LLVM did for compilers? To prove how powerful the SQLite bytecode is, we are actually running DOOM compiled to the unmodified SQLite instruction set. And because Turso runs natively in the browser, you can play the game in your browser. With the database executing it.

Read the full story below! 馃憞
183 replies 394 reposts 4.4K likes 557K views View on X
Glauber Costa Verified account @glcst
Assuming Santa Claus is coming for Christmas (since his bones were destroyed, he might not come), I proposed to my 8 y.o. that he can get a PS5 for Christmas (he's been asking for a long time) if he prepares a presentation for me about the top 7 Roman Emperors and Generals, and the 7 most destructive figures in Roman history.

He has to rank them according to his preferences and explain why he ranked them like that, and speak at length about his favorite facts about them.

Gotta start them young.
3 replies 0 reposts 22 likes 1.4K views View on X
Glauber Costa Verified account @glcst
I think this is not a conspiracy theory as Jussi implies.

The likely explanation is that before they release a new model, there is a big party in the labs.

The old model gets drunk and gives you the impression of being dumber.

But it is just the effects of alcohol
Jussi Verified account @jussisaur 7h
it's pretty much an open secret at this point that model providers make their previous flagship models worse when they're about to release a new one, right? there's too many examples now where $YESTERDAYS_MODEL suddenly loses 30 IQ points and then lo&behold, new model release
View quoted post on X
1 replies 0 reposts 12 likes 1.2K views View on X
Glauber Costa Verified account @glcst
We want to double down on Open Source, and not take the easy way out of closing ourselves.

At the same time it is undeniable that there is just too much for humans team to handle.

Our autofixer bot is our newest attempt at tackling this. It preserves authorship, and your work is still credited when the PR is finally merged.
Jussi Verified account @jussisaur 1d
one of the features of our autofixer bot i am happy about is that it rescues PRs from contributors that went ignored and are about to be closed as stale. the original author gets a Co-Authored-By credit on the remade PR.
View quoted post on X
4 replies 2 reposts 31 likes 1.7K views View on X