TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Postgres Foreign Data Wrappers with WASM

7 点作者 kiwicopple9 个月前

1 comment

kiwicopple9 个月前
Hey HN, Supabase CEO here.<p>This release makes it easy for anyone to create a Foreign Data Wrapper and share it with the community. Usually FDWs need to be &quot;pre-installed&quot; on Postgres which makes it harder for platforms like Supabase&#x2F;RDS&#x2F;Azure&#x2F;etc<p>Since the FDWs are written in WebAssembly, they can safely be installed from S3 or GitHub and they are sandboxed by our Wrappers framework, a Rust framework for developing Foreign Data Wrappers (<a href="https:&#x2F;&#x2F;fdw.dev" rel="nofollow">https:&#x2F;&#x2F;fdw.dev</a>)<p>There are some trade-offs: the performance isn&#x27;t as good as a &quot;native&quot; FDW. That said, we think the flexibility makes it worthwhile, and we&#x27;ll improve the performance over time.<p>The blog posts explains a lot of the technical details. You can find some docs to build your own Wasm Wrapper here:<p><a href="https:&#x2F;&#x2F;fdw.dev&#x2F;guides&#x2F;create-wasm-wrapper&#x2F;" rel="nofollow">https:&#x2F;&#x2F;fdw.dev&#x2F;guides&#x2F;create-wasm-wrapper&#x2F;</a>