Cloudflare Workers、ネイティブRustのサポートを開始
(blog.cloudflare.com)-
これまでもWebAssemblyを利用してさまざまな言語をサポートしてきたが、Rustのサポートを追加
-
100% RustのみでWorkerの作成が可能
-
Worker Crateを提供し、純粋なRust方式でCloudflare APIを直接呼び出し可能
→ KV Stores、Durable Objects
→ fetch、router、使いやすいHTTP関数、環境変数へのアクセスなど
1件のコメント
記事タイトルには Native Rust と書かれていますが、実際には Rust を WASM ベースで提供するものであり、
より Rust らしく使えるように Worker Crate を提供しているため、Native という表現を使っているようです。
CloudFlare、Workers Unbound サーバーレスベータを開始 https://ja.news.hada.io/topic?id=2543
CloudFlare が Workers のコールドスタート時間を 0 にした方法 https://ja.news.hada.io/topic?id=2567
CloudFlare、Durable Objects ベータ公開 https://ja.news.hada.io/topic?id=2930
Miniflare - CloudFlare Workers ローカルシミュレーター https://ja.news.hada.io/topic?id=4577