←back to thread

11 points jerrysievert | 2 comments | | HN request time: 0.423s | source

PLJS is a new, modern JavaScript trusted language extension, bundling QuickJS, a small and fast JavaScript runtime with Postgres, providing fast type conversion between Postgres and JavaScript, fast execution, and a very light footprint.

Here are bencharks that show how it compares to PLV8: https://github.com/plv8/pljs/blob/main/docs/BENCHMARKS.md

This is the first step toward a truly light-weight, fast, and extensible JavaScript runtime embedded inside of Postgres. The initial roadmap has been published at https://github.com/plv8/pljs/blob/main/docs/ROADMAP.md

You can join the discussion by joining the PLV8 Discord: https://discord.gg/XYGSCfVNBC

You can find PLJS at https://github.com/plv8/pljs

1. timz ◴[] No.44381761[source]
Amazing.. Would be nice to have something like that for Redis to replace Lua
replies(1): >>44401254 #
2. jerrysievert ◴[] No.44401254[source]
quickjs is fairly easy to embed, give it a try, it should be similar to embedding lua.