Friday, August 26, 2022

Postgres DB in web browser with WASM

Yes, whole Postgres complied to WASM, running in web browser!

Learn Postgres at the Playground

"Yes, this is WASM and running fully in your web browser. Due to browser sandboxing there is no way to connect directly to the Postgres instance beyond the embedded psql interface that we establish for you. The current configuration allocates 512MB of memory for your Postgres instance, we may make this more configurable in the future. It’s in the browser, hence if you refresh you’re going to get a fresh instance, we haven’t created any persistence layers (yet)."

Postgres Tutorials | Crunchy Data

Why Postgres? | Crunchy Data

Posts by Craig Kerstiens | PostgreSQL Blog | Crunchy Data

How we moved SpiceDB to run in-browser and decreased request latencies by 90%

As SpiceDB is written in Go, Ideally, we’d run Go code directly in the user’s browser,

"retire" JavaScript?

 JSON Creator Douglas Crockford Interview by Evrone

"Evrone: In your opinion, what expected changes in JavaScript are going to be the most important?

Douglas: The best thing we can do today to JavaScript is to retire it. Twenty years ago, I was one of the few advocates for JavaScript. Its cobbling together of nested functions and dynamic objects was brilliant. I spent a decade trying to correct its flaws. I had a minor success with ES5. But since then, there has been strong interest in further bloating the language instead of making it better. So JavaScript, like the other dinosaur languages, has become a barrier to progress. We should be focused on the next language, which should look more like E than like JavaScript."