WebAssembly生態圈有哪些重要專案?Wasm生態地圖重點剖析
支付動態 · 2024-11-29

涵蓋四類開發語言和11類相關專案,CNCF推估產值高達594億美元

/CNCF

在應用程式開發類Wasm相關專案上,包括了四種不同Wasm支援型態的語言,分別是編譯語言、託管類語言、腳本語言、為Wasm優化的新語言,另外開發類專案則可分為Runtime、應用程式框架、邊緣和裸機、AI推論、嵌入式功能、工具鏈等6類專案。

而在應用程式部署的Wasm相關專案上,則可分為調度與管理類專案、託管平臺、去中心化平臺、除錯和可觀察性專案、半成品儲存等5類Wasm相關專案。

進一步來看可支援Wasm的語言,包括了提供一級支援的編譯語言,主要有C、C++、Rust和Zig,這類語言可以直接編譯成Wasm二進位檔,而託管類語言則Go、Dart、Kotlin、Java、C#和.Net等,則需要搭配具有管理能力(如記憶體垃圾蒐集能力)的runtime來執行wasm。可搭配的runtime專案像是WasmEdghe、Wasmtime或瀏覽器圈熟悉的V8引擎,或像Java與C#則需要把runtime和程式碼一起編譯才能執行,檔案大小會稍大,另外還有腳本語言如JavaScript、Ruby、PHP、Python可以在Wasm環境中執行,編譯成Wasm檔後,用Wasm的解釋器就可以執行。而Moonbit和Grain則是兩個正在發展,以Wasm優化為目標而誕生的開發語言。

程式碼編譯成Wasm Bytecode之後,需要建立Wasm執行環境,這也是開發者最關心的Wasm類專案。可用來建立Wasm執行環境的專案,較受到關注的像是WasmEdge、Wasmtime、Wamr、WAVM、Wasmer、wasm3、Lunatic、wazero和V8。其中,WasmEdge適合用於雲端、邊緣應用和分散式應用,而Wasmtime則是一個獨立安裝,可支援WASI,只能執行wasm的runtime。

對於想要打造大型雲原生應用的開發者,則需要功能更完整的Wasm應用框架上,來提供更多進階或複雜功能的元件,這類應用框架專案最受到關注的是WasmEdge專案。WasmEdge框架最大特色是提供了許多進階的POSIX API,也可以搭配支援許多知名Rust和JavaScript框架,像是可搭配node.js使用。另外還兩個值得關注的Wasm應用框架,包括了可用來打造Wasm微服務架構的Spin框架,以及可用於開發和管理分散式應用架構的WasmCloud專案。

這兩年GenAI爆紅後,可以將Wasm建立AI推論環境的專案受到高度關注,較知名的則有Wasmtime、WasmEdge和WAMR。像是WasmEdge專案可支援不少知名AI技術框架,如OpenVINO、Pytorch、Tensorflow、MMGL/Llama2,也受到AI圈高度青睞。

熱門文章
Online gambling, crypto pose ongoing money laundering risks in Philippines, analyst says
Southeast Asia
SBC Summit Canada to Make Player Safety a Key Pillar of 2026 Agenda
Marketing
Brazil Proposes Raising Gambling Tax Rate to 24%, With Revenue Allocated to Social Security and Healthcare
Regulation
GAT CDMX 2025 Institutional Academy: Leaders and Experts Analyze the Present and Future of the Gaming Industry in Mexico and Lat
Sports Game
Institutional Academy that exceeded expectations marked the opening of GAT CDMX
Online Game
PropellerAds Shared a New iGaming Case Study: 97,674 Installs and 12,701 Deposits in 3 Months
Marketing
Vietnam’s Controlled Gaming Shift Gains Ground, But Domestic Demand Still Lags
Southeast Asia
Full House at GAT Expo Cartagena 2026 Academic Agenda
Online Game
GAT Expo Puerto Rico Will Pulse with the New Era of Gaming in the Caribbean
Marketing
1spin4win grows its Latin American presence by partnering with Fortuna Juegos
Online Game
Vietnam's tightening online gaming policy creates new market opportunities
Southeast Asia
B2B Tech Infrastructure Gains Momentum in Philippine Gaming Sector
Southeast Asia
HUIDU Invites You to Booth T70 at iGB L!VE 2026 — Let’s Ignite London This July!
HUIDU Focus
New Jersey July Gambling Revenue Hits $606M, Sweeps Casinos Banned
Regulation
British gambling levy rates confirmed for each vertical
Regulation
首頁
遊戲
合作
發現
我的