Welcome to cosmonic

What is WebAssembly?

WebAssembly (Wasm): WebAssembly is a compilation target origionally designed as a secure sandbox to be leveraged in web browsers to enable the reuse of code and porting of a diverse set of applications to the web. Compiled WebAssembly code runs in a WebAssembly Host Runtime. WebAssembly is an open WC3 standard, WebAssembly enables the frictionless porting of applications and includes a capability driven security model.
Everywhere: WebAssembly is supported today on all popular web browsers and WebAssembly Host Runtimes have been ported to support dozens of popular CPU architectures. The usage of WebAssembly as a secure and efficient runtime leveraged from the cloud to the edge has exploded in recent years as enterprises confront the reality of supporting a huge ecosystem of diverse CPUs, operating systems, and platforms.

WebAssembly and Cloud Native are a better together story.
We see WebAssembly showing up in 3 primary places inside of the broader Cloud Native Ecosystem:

  1. WebAssembly is used inside of applications running on top of cloud-native applications. WebAssembly is compatible with but not dependent upon both containers and the broader Cloud Native / Kubernetes ecosystem. WebAssembly may be leveraged from inside a container, running on Kubernetes, or natively on Kubernetes via projects such as Krustlet.

  2. WebAssembly is frequently embedded inside of other Cloud Native applications, such as inside of Envoy, where it is used as a platform to execute untrusted code or extensions from users.
  3. WebAssembly is operated on the edge or in places where Kubernetes and Linux either are not supported or there are limited resources limitations where choose not to run them. The broader definition of the edge includes web browsers, mobile devices, and a huge ecosystem of embedded devices.


What is wasmCloud?

wasmCloud is a WebAssembly Application Runtime that runs on top of a WebAssembly Host Runtime. wasmCloud provides a secure, scalable, and boilerplate free foundation that helps developers build highly portable and distributed applications quickly.

As a simple analogy, if we think of WebAssembly as the virtual CPU, wasmCloud provides many of the higher level constructs such as APIs, monitoring, scaling, and a self forming and self healing lattice network that enables developers to build applications quickly
Capabilities: In the context wasmCloud, when we say capabilities what we mean are those devices, libraries, external APIs, and other resources we may want to access from an application. When we talk about a capability driven security model, what we mean is that our applications operate in a deny-by-default mode where by we need to explicitly grant permission to a capability.

As an example, think about what happens when you install an application on your cell phone and it wants to use one of your cell phones capabilities. The operating system will prompt you to grant access to an application to use, for example, your camera or your microphone. That is an example of capability driven security.
Yes, wasmCloud is compatible with but not dependent upon kubernetes, containers, and the broader cloud native ecosystem.

You can achieve many of the great value propositions that wasmCloud provides by running it inside of a container on cloud native resources. wasmCloud may also be operated independently on a wide variety of devices, such as web browsers.
Cosmonic has been providing the financial support necessary to build the the wasmCloud ecosystem, technology, and community. In August of 2021 Cosmonic completed the donation of wasmCloud to the Cloud Native Computing Foundation where we continue to invest in and foster the growth of this amazing community.