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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Release: WasmEdge 0.12 and 0.12.1

2 点作者 3Sophons大约 2 年前

1 comment

3Sophons大约 2 年前
<a href="https:&#x2F;&#x2F;github.com&#x2F;WasmEdge&#x2F;WasmEdge&#x2F;releases&#x2F;tag&#x2F;0.12.1">https:&#x2F;&#x2F;github.com&#x2F;WasmEdge&#x2F;WasmEdge&#x2F;releases&#x2F;tag&#x2F;0.12.1</a><p>Key features:<p>* New plugin system makes it easy for community to add features to WasmEdge * New Wasm APIs for AI, observability and networking through plugins * Advanced socket networking * Better embedding through improved host SDKs * Performance and compatibility enhancements<p>The WasmEdge plugin API provides an easy way to add, manage and package host functions into the runtime. All host capabilities, including WASI itself, are now plugins in WasmEdge. That means you can even swap in a new WASI implementation (eg for a real-time OS).<p>You can write plugins in C, C++ and Rust! Those plugins will be compatible with the component model making them future proof! <a href="https:&#x2F;&#x2F;wasmedge.org&#x2F;docs&#x2F;contribute&#x2F;plugin&#x2F;intro" rel="nofollow">https:&#x2F;&#x2F;wasmedge.org&#x2F;docs&#x2F;contribute&#x2F;plugin&#x2F;intro</a><p>Some examples:<p>WasmEdge’s Tensorflow Lite plugin enables lightweight (1&#x2F;10 of Linux containers) and fast (native GPU) AI inference apps for Tensorflow Lite models. <a href="https:&#x2F;&#x2F;wasmedge.org&#x2F;docs&#x2F;develop&#x2F;rust&#x2F;ai_inference&#x2F;tensorflow_lite&#x2F;" rel="nofollow">https:&#x2F;&#x2F;wasmedge.org&#x2F;docs&#x2F;develop&#x2F;rust&#x2F;ai_inference&#x2F;tensorfl...</a><p>WasmEdge’s PyTorch plugin enables lightweight (1&#x2F;10 of Linux containers) and fast (native GPU) AI inference apps for PyTorch models. <a href="https:&#x2F;&#x2F;wasmedge.org&#x2F;docs&#x2F;develop&#x2F;rust&#x2F;ai_inference&#x2F;pytorch&#x2F;" rel="nofollow">https:&#x2F;&#x2F;wasmedge.org&#x2F;docs&#x2F;develop&#x2F;rust&#x2F;ai_inference&#x2F;pytorch&#x2F;</a><p>Through the new WasmEdge plugin system, the community are adding support for libraries like zlib, OpenCV, tesseract and ffmpeg etc. Putting these together, we are supporting complex AI libraries such as Mediapipe on WasmEdge! <a href="https:&#x2F;&#x2F;github.com&#x2F;yanghaku&#x2F;mediapipe-rs">https:&#x2F;&#x2F;github.com&#x2F;yanghaku&#x2F;mediapipe-rs</a><p>The Mediapipe story is esp interesting since WasmEdge is now adapted as a runtime for stream data process in products like Fluvio, Redpanda, YoMo, RisingWave and others. Mediapipe support allows developers to add AI into the stream data pipeline. <a href="https:&#x2F;&#x2F;github.com&#x2F;xxchan&#x2F;fluvio&#x2F;pull&#x2F;1">https:&#x2F;&#x2F;github.com&#x2F;xxchan&#x2F;fluvio&#x2F;pull&#x2F;1</a><p>WasmEdge’s eBPF plugin enables developers to create secure and containerized eBPF tools and controllers in Kubernetes environments. <a href="https:&#x2F;&#x2F;github.com&#x2F;WasmEdge&#x2F;WasmEdge&#x2F;tree&#x2F;master&#x2F;plugins&#x2F;wasm_bpf">https:&#x2F;&#x2F;github.com&#x2F;WasmEdge&#x2F;WasmEdge&#x2F;tree&#x2F;master&#x2F;plugins&#x2F;was...</a><p>A good example of WasmEdge 0.12.1 WASI enhancement is the ability to limit the Wasm app to read-only access to files and folders.<p>WasmEdge sockets API is refactored in 0.12.1 to be compatible with the much more limited WASI socket proposal. WasmEdge sockets have become a super set of WASI sockets.<p>The WasmEdge networking sockets got new features in version 0.12.1, such as DNS, network device binding and TLS. You will be able to create sophisticated microservices that require highly-efficient non-blocking network sockets. <a href="https:&#x2F;&#x2F;github.com&#x2F;second-state&#x2F;wasmedge_wasi_socket">https:&#x2F;&#x2F;github.com&#x2F;second-state&#x2F;wasmedge_wasi_socket</a><p>Here are several complex networking applications possible with WasmEdge sockets. <a href="https:&#x2F;&#x2F;github.com&#x2F;second-state&#x2F;microservice-rust-mysql">https:&#x2F;&#x2F;github.com&#x2F;second-state&#x2F;microservice-rust-mysql</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;WasmEdge&#x2F;wasmedge-db-examples">https:&#x2F;&#x2F;github.com&#x2F;WasmEdge&#x2F;wasmedge-db-examples</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;WasmEdge&#x2F;wasmedge_hyper_demo">https:&#x2F;&#x2F;github.com&#x2F;WasmEdge&#x2F;wasmedge_hyper_demo</a><p>WasmEdge is already one of the smallest and most efficient Wasm runtimes out there. It embeds into libsql (SQLite on the server!) to execute user definited functions to perform complex tasks like HTTPS web services &amp; AI inference from SQL statements! <a href="https:&#x2F;&#x2F;wasmedge.org&#x2F;docs&#x2F;embed&#x2F;use-case&#x2F;libsql&#x2F;" rel="nofollow">https:&#x2F;&#x2F;wasmedge.org&#x2F;docs&#x2F;embed&#x2F;use-case&#x2F;libsql&#x2F;</a><p>The WasmEdge C++ and Rust SDKs allow host applications to embed Wasm functions asynchronously. It is critically important in many applications where the embedded Wasm function is simply not allowed to block the execution of the host applications. <a href="https:&#x2F;&#x2F;github.com&#x2F;second-state&#x2F;wasmedge-rustsdk-examples&#x2F;blob&#x2F;main&#x2F;define-async-host-func&#x2F;README.md">https:&#x2F;&#x2F;github.com&#x2F;second-state&#x2F;wasmedge-rustsdk-examples&#x2F;bl...</a><p>Asynchronous host SDKs are complex and a lot of work still remains. We are continuously improving it with our end user and partner communities.<p>Preview: <a href="https:&#x2F;&#x2F;github.com&#x2F;L-jasmine&#x2F;WasmEdge&#x2F;tree&#x2F;feat&#x2F;async">https:&#x2F;&#x2F;github.com&#x2F;L-jasmine&#x2F;WasmEdge&#x2F;tree&#x2F;feat&#x2F;async</a><p>What&#x27;s coming next?<p>* Support plugins in our Docker and k8s integrations * Wasm GC support for languages like Kotlin and Dart * WASI thread * Stack switching for coroutines * Component model * Support for inference on open source LLMs * Better JS &amp; Python support for AI