Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bear9628
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
bear9628
3y ago
Oh wow, that is really cool.
2.
▲
by
bear9628
3y ago
You can get an overview of the platform in this Post: https://xata.io/blog/serverless-postgres-platform#the-platfo... Zombodb is a really cool project, but no, we don't use it. We use logical replication and trigg
3.
▲
by
bear9628
3y ago
Edit: I wasn't finished before submitting the response by accident :) > > > If we were to provide zig consumable ways of creating the struct from C headers, would that help? > > Yes, that would be awesome. > I don
4.
▲
by
bear9628
3y ago
> I haven't worked with pgzx, but it's possible that memory management is easier. Zig uses memory arenas, and so does Postgres. If one can map directly to the other, it would be a huge win. Yes. This was indeed a great motivato
5.
▲
by
bear9628
3y ago
Hehe :) I also have WASM in mind when thinking about future TLE support :)
6.
▲
by
bear9628
3y ago
One of the reasons why we are using Zig is that we can consume the C API mostly as is. When importing the C headers Zig translates the C headers into Zig declarations. Unfortunately this is not always possible for C macros, and the reason w
7.
▲
by
bear9628
3y ago
No TLE support is a not a goal. Languages/extensions in Postgres should only be marked as trusted if you can guarantee that they do not access Postgres internals or even the file filesystem. With Zig and in pgzx in particular we can no