展示HN:PLJS – 用于Postgres的JavaScript

4作者: jerrysievert4 天前原帖
PLJS 是一种新的现代 JavaScript 可信语言扩展,结合了 QuickJS,这是一种小巧且快速的 JavaScript 运行时,与 Postgres 集成,提供 Postgres 和 JavaScript 之间的快速类型转换、快速执行以及非常轻量的占用空间。<p>以下是一些基准测试,展示了它与 PLV8 的比较:<a href="https://github.com/plv8/pljs/blob/main/docs/BENCHMARKS.md">https://github.com/plv8/pljs/blob/main/docs/BENCHMARKS.md</a><p>这是朝着在 Postgres 中嵌入真正轻量、快速且可扩展的 JavaScript 运行时迈出的第一步。初步路线图已发布在<a href="https://github.com/plv8/pljs/blob/main/docs/ROADMAP.md">https://github.com/plv8/pljs/blob/main/docs/ROADMAP.md</a>。<p>您可以通过加入 PLV8 Discord 参与讨论:<a href="https://discord.gg/XYGSCfVNBC" rel="nofollow">https://discord.gg/XYGSCfVNBC</a><p>您可以在 <a href="https://github.com/plv8/pljs">https://github.com/plv8/pljs</a> 找到 PLJS。
查看原文
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.<p>Here are bencharks that show how it compares to PLV8: <a href="https:&#x2F;&#x2F;github.com&#x2F;plv8&#x2F;pljs&#x2F;blob&#x2F;main&#x2F;docs&#x2F;BENCHMARKS.md">https:&#x2F;&#x2F;github.com&#x2F;plv8&#x2F;pljs&#x2F;blob&#x2F;main&#x2F;docs&#x2F;BENCHMARKS.md</a><p>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 <a href="https:&#x2F;&#x2F;github.com&#x2F;plv8&#x2F;pljs&#x2F;blob&#x2F;main&#x2F;docs&#x2F;ROADMAP.md">https:&#x2F;&#x2F;github.com&#x2F;plv8&#x2F;pljs&#x2F;blob&#x2F;main&#x2F;docs&#x2F;ROADMAP.md</a><p>You can join the discussion by joining the PLV8 Discord: <a href="https:&#x2F;&#x2F;discord.gg&#x2F;XYGSCfVNBC" rel="nofollow">https:&#x2F;&#x2F;discord.gg&#x2F;XYGSCfVNBC</a><p>You can find PLJS at <a href="https:&#x2F;&#x2F;github.com&#x2F;plv8&#x2F;pljs">https:&#x2F;&#x2F;github.com&#x2F;plv8&#x2F;pljs</a>