Askrike AI
Skip to Content
DemosWebAssembly

WebAssembly Demo

Image

Deploy high-performance WebAssembly applications with Askrike. This demo shows how pure C++ code can be compiled into WebAssembly and deployed to the web — with no manual WASM setup required.

Overview

This ray tracing demo is written in standard C++ with SDL, with no WebAssembly configuration. Askrike’s AI system automatically:

  • Detects the language and project type
  • Applies the Emscripten toolchain and optimizations
  • Generates the web wrapper and serves it live

The developer writes C++ — Askrike handles the rest.

Explicit Deployment Prompt

Please deploy this repository 🐙Ossian531/sphereLight. It is a cpp file written with SDL, I want you to deploy it in some sort of wasm container. Make sure that it is compiled into wasm as well

This makes it clear that the project is C++/SDL and should run inside a WebAssembly container.

Minimal Deployment Prompt

Deploy my ray tracer from 🐙Ossian531/sphereLight to the web

Even with fewer details, Askrike infers the correct strategy and produces the same result.

Explore the Code

Join the Community

This kind of “desktop to web” transformation is just one example of what’s possible with Askrike’s AI deployment system. We’re constantly discovering new emergent capabilities as users experiment with different code types and deployment targets.

Found a similarly cool use case? Join our Discord and share what you’ve deployed! The community loves seeing creative applications of the platform.

Last updated on