-
Prompt AI for Different Everyday Tasks: Your Customizable Personal Assistants
Introduction: In today's rapidly advancing large language models landscape, people are anxious about losing jobs to AI. We are increasingly integrating to our daily lives. From assisting with reading, writing, drawing, and traveling to learning new things, we want to make AI help us better instead of replace us. We proactively embrace LLMs like ChatGPT for different needs. A common challenge we face is when using ChatGPT, we are logged out every 15 minutes and the answer histories we have could be very unorganized and all mumble jumble.…
-
Introducing the New WasmEdge Rust SDK
With the release of WasmEdge 0.10.1, we're excited to announce a brand new release of WasmEdge Rust bindings: wasmedge-sdk v0.3.0 and wasmedge-sys v0.8.0. The links to their API documentation and source code can be found here. If you are a Rust enthusiast, welcome to take part in the Bug Hunt to win a Nintendo Switch! The following diagram shows the architecture of WasmEdge Rust bindings. The wasmedge-sys crate defines a group of low-level Rust APIs, which simply wrap WasmEdge C-API and provide the safe counterparts, while wasmedge-sdk defines a group of high-level application-oriented Rust APIs.…
-
Win a Switch with the WasmEdge Rust SDK Bug Hunt
With the release of WasmEdge 0.10.1, a brand new version of WasmEdge Rust bindings is here! The WasmEdge Rust bindings SDK allows Rust applications to embed WebAssembly functions or modules. This is especially useful for Rust-based cloud-native or blockchain infrastructure software, as they need to support untrusted user functions in a safe and efficient way. Click this article to learn more about WasmEdge Rust bindings. WasmEdge Rust bindings are divided into wasmedge-sys and wasmedge-sdk, where wasmedge-sdk is aimed at application developers, enabling developers to use WasmEdge to incorporate third-party code into their rust applications easily and safely.…
-
🚀 WasmEdge 0.10.0 is released!
In version 0.10.0, WasmEdge provides a brand new plug-in mechanism to make native extensions easier to develop and install, improves compatibility with LLVM 14, and supports new WebAssembly specs, proposals, and features. New plug-in system for native host functions Many enhancements to the WasmEdge socket API (e.g., microservices and web service clients in WasmEdge) Support for new WebAssembly proposals and specs WasmEdge C API enhancements Other features and bug fixes New plug-in system for native Host Functions The host funtion is the bridge that allows WebAssembly programs to access functionalities and features provided by native libraries.…
ProductWasmEdgeWebAssemblyRustServerlesscloud computingSocketCNCF
-
How to Extend WebAssembly with Host Functions
By DarumaDocker,WasmEdge Contributor in charge of the development of WasmEdge-bindgen WebAssembly was developed for the browser. It gradually gain popularity on the server-side, but a significant disadvantage is its incomplete functionality and capability. The WASI proposal was initiated to solve these problems. But the forming and implementation of a standard is usually slow. What if you want to use a function urgently? The answer is to use the Host Function to customize your WebAssembly Runtime.…
-
😎 WasmEdge 0.9.1 is released! Better networking support, Android support, better developer experience, and more.
WasmEdge 0.9.1 is released! This release features integrated high-performance networking, JavaScript streaming SSR and Fetch API support, a new bindgen framework, Android and OpenHarmony OS support, expanded Kubernetes support, and improved memory management. WebAssembly extensions Streaming SSR functions Android and OpenHarmony Kubernetes Bug fixes and performance enhancements WebAssembly extensions WasmEdge aims to support all standard and optional standard WebAssembly extension proposals. It also supports non-standard and experimental extensions that are important to cloud-native use cases, such as networking and data passing.…
ProductWasmEdgeWebAssemblyRustServerlesscloud computingSocketCNCF
-
Containerization on the edge
This work is supported by Second State and FutureWei based on Open Source projects WasmEdge and seL4. Application containers, such as Docker, are a key driving force behind the growth of Cloud Native applications. However, while the Cloud-Native development paradigm has proven very popular, it is difficult to expand the Cloud-Native infrastructure beyond large data centers since application containers require significant amounts of computing resources. For example, Docker does not support real-time operating systems (RTOS) and only works on POSIX systems.…
ProductWasmEdgeRTOSWebAssemblyRTOSseL4cloud computingEdge computing
-
A lightweight, safe, portable, and high-performance runtime for Dapr
originally published on infoQ.com Key takeaways: Dapr is a versatile framework for building microservices. WebAssembly VMs, such as WasmEdge, provide high-performance and secure runtimes for microservice applications. WebAssembly-based microservices can be written in a number of programming languages, including Rust, C/C++, Swift, and JavaScript. WebAssembly programs are embedded into Dapr sidecar applications, and hence can be portable and agnostic to the Dapr host environment. The WasmEdge SDK provides an easy way to build microservices for Tensorflow inference.…
-
Calling native functions from JavaScript
WasmEdge enables JavaScript to call native functions in shared libraries. In my previous articles, I explained why and how to run JavaScript programs in a WebAssembly sandbox. I also discussed how to create custom JavaScript APIs for WasmEdge using Rust. However, in order to fully access the underlying system's OS and hardware features, we sometimes need to create JavaScript APIs for C-based native functions. That is, when a JavaScript program calls the pre-defined function, WasmEdge will pass it to a native shared library on the OS for execution.…
-
Creating high-performance JavaScript APIs using Rust
WasmEdge brings together Rust’s performance and JavaScript’s ease of use In my previous article, I discussed how to embed JavaScript code into a Rust program. However, for JavaScript developers, the need is often the opposite – to incorporate Rust functions into JavaScript APIs. That enables developers to write programs in “pure JavaScript” and yet still take advantage of the high performance Rust functions. With the WasmEdge Runtime, you can do exactly that.…