Show HN: PLJS – 针对Postgres的JavaScript
4 分•作者: jerrysievert•6 个月前
PLJS 是一种全新的、现代的 JavaScript 可信语言扩展,它将 QuickJS(一个小型且快速的 JavaScript 运行时)与 Postgres 捆绑在一起,提供了 Postgres 和 JavaScript 之间快速的类型转换、快速的执行以及非常轻巧的占用空间。以下是展示其与 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>这是朝着一个真正轻量级、快速且可扩展的 JavaScript 运行时嵌入到 Postgres 中的第一步。 初始路线图已发布在 <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://github.com/plv8/pljs/blob/main/docs/BENCHMARKS.md">https://github.com/plv8/pljs/blob/main/docs/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://github.com/plv8/pljs/blob/main/docs/ROADMAP.md">https://github.com/plv8/pljs/blob/main/docs/ROADMAP.md</a><p>You can join the discussion by joining the PLV8 Discord: <a href="https://discord.gg/XYGSCfVNBC" rel="nofollow">https://discord.gg/XYGSCfVNBC</a><p>You can find PLJS at <a href="https://github.com/plv8/pljs">https://github.com/plv8/pljs</a>