LO
pglite
LO | pglite | |
---|---|---|
5 | 30 | |
463 | 11,169 | |
0.2% | 6.6% | |
9.6 | 9.4 | |
26 days ago | 4 days ago | |
Rust | TypeScript | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
LO
-
Lo – simple WASM native language
Absolutely. The memory management is manual like in C, but with addition of defers it is actually quite good to work with.
Here is the source for the allocator: https://github.com/glebbash/LO/blob/81f96bb09e3a0b1455b32497...
It also links to where I learned how to build the "proper" allocator from scratch.
-
deno-ffigen: C FFI bindings generation for Deno
While I was developing lole-lisp I happened to create a tool to generate C FFI bindings for Deno.
pglite
-
Siren Call of SQLite on the Server
One alternative is to use pglite [1] which is Postgres compiled to WASM. It can act as a sqlite replacement during development, then when you are ready to move to a server model your SQL is already in Postgres format.
[1]: https://pglite.dev/
-
I wrote a static web page and accidentally started a community
For a very similar scenario I'm currently looking to use PGlite: https://pglite.dev/ which is a 3MB WASM build of Postgres which also includes pgvector.
-
Database mocks are just not worth it
Does something like PGlite work for your use case? https://pglite.dev/
-
database.build v2: Bring-your-own-LLM
In case you missed it, database.build is an in-browser Postgres sandbox with AI assistance. You can spin up an unlimited number of Postgres databases and interact with them using natural language (via LLM). This is possible thanks to PGlite - a WASM build of Postgres that can run directly in the browser.
-
Show HN: Outerbase Studio – Open-Source Database GUI
Would be nice to add support for PGlite [0] to have the same “spin up in the browser” experience with Postgres.
Let me know if we can help with it!
[0] https://pglite.dev
-
Sqlite3 WebAssembly
See also https://github.com/electric-sql/pglite.
(Previously discussed 7 months ago: https://news.ycombinator.com/item?id=39477457)
-
Huly – Open-Source All-in-One Project Management Platform
You can wrap anything in a jar (it’s just a zip file).
You could certainly embed PostgreSQL in a jar and you can do something similar to this
https://github.com/electric-sql/pglite
I don’t think there’s that much interest, but it is doable.
-
Ask HN: Who is hiring? (October 2024)
ElectricSQL | https://electric-sql.com | PGlite Engineer | Remote in Europe or eastern US | €80-100k + Equity
We're looking for a generalist web and systems engineer to join the core PGlite team, working mainly in Typescript, Rust and C++.
PGlite (https://pglite.dev) is a lightweight, embeddable WASM Postgres. It's a fast growing open source project, with 8k GitHub stars and 100k+ weekly downloads. It opens up new possibilities for local-first apps and systems built on an embedded, real-time, reactive Postgres, such as https://postgres.new
Technically, you need strong Typescript and systems programming experience, ideally in C++ and Rust. It would be great if (but is not essential that) you're familiar with some aspects of database internals, filesystems and WASM.
We're a highly technical team working remote-first on a 4-day week. More information at https://electric-sql.com/about/jobs/pglite-engineer
-
SQLite on Rails: The how and why of optimal performance
I'm wondering how would it perform if we can compile https://pglite.dev/ as a native library and use it as an in-process Postgres... I know Node folks already use it as a Wasm module, so it shouldn’t be too tricky?
-
Show HN: Ultra-Lightweight Durable Execution from Creators of Postgres and Spark
You can now run Wasm builds of PostgreSQL that will get you everything you like about SQLite.
https://github.com/electric-sql/pglite
What are some alternatives?
moonbit-docs - The docs of MoonBit programming language
chasm - A WebAssembly runtime built on Kotlin Multiplatform
services-flake - NixOS-like services for Nix flakes
artichoke - 💎 Artichoke is a Ruby made with Rust
gradle-docker-compose-plugin - Simplifies usage of Docker Compose for integration testing in Gradle environment.