-
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.…
-
WasmEdge @ KubeCon + CloudNativeCon NA 2022
The most exciting cloud-native event for 2022 is just around the corner! KubeCon and CloudNativeCon NA 2022 will take place between Oct 24th and 28th in Detroit USA! WasmEdge and our community members will attend the conference, host a booth, go to the parties, and give 5 official talks! So, come say Hi virtually or even better, in person! Through conference presentations and demonstrations, the WasmEdge team focuses on WebAssembly (Wasm) developer experience and tooling for cloud-native applications.…
-
WasmEdge @ KubeCon + CloudNativeCon Europe 2022
KubeCon + CloudNativeCon Europe 2022 is around the corner. WasmEdge community members will be there and giving talks! It's time to say Hi virtually or in person if you are around. There are two WasmEdge-related talks on this year’s KubeCon + CloudNativeCon. They are on how to develop and manage Wasm apps. Cloud Native Wasm Day Time: May 16, 2022 11:05 - 11:35 CEST Topic: Run JavaScript, Python, and Ruby in WebAssembly…
-
WasmEdge for JavaScript Developers
JavaScript developers can benefit from WebAssembly and WasmEdge Runtime in two important ways. You can run JavaScript programs in the WasmEdge container, or call external functions, written in multiple programming languages, from Node.js applications. Get started by installing WasmEdge or using the WasmEdge development Docker. Run JavaScript programs in WasmEdge WebAssembly is a ploygot runtime that supports many front-end programming languages. You can run JavaScript programs efficiently and safely across all OS and hardware platforms WasmEdge supports.…
-
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.…
-
Incorporating JavaScript into a Rust app
WasmEdge brings together Rust’s performance and JavaScript’s ease of use In my previous article, I discussed how to run JavaScript programs in a WebAssembly sandbox. The WasmEdge runtime provides a lightweight, high-performance, and OCI compliant “container” for cloud-native JavaScript applications. However, JavaScript is a “slow” language. The reason to use JavaScript is mostly due to its ease of use and developer productivity, especially for beginner developers. WebAssembly, on the other hand, is capable of running high-performance applications written in languages such as Rust.…
-
Running JavaScript in WebAssembly with WasmEdge
WebAssembly started as a “JavaScript alternative for browsers”. The idea is to run high-performance applications compiled from languages like C/C++ or Rust safely in browsers. In the browser, WebAssembly runs side by side with JavaScript. Figure 1. WebAssembly and JavaScript in the browser. As WebAssembly is increasingly used in the cloud, it is now a universal runtime for cloud-native applications. Compared with Docker-like application containers, WebAssembly runtimes achieve higher performance with lower resource consumption.…