wasm-as-html VS botnet

Compare wasm-as-html vs botnet and see what are their differences.

wasm-as-html

Distribute a wasm SPA as HTML by wrapping it as a polyglot "html+wasm+zip" (by HeroicKatora)

botnet

Multiplayer programming game using Rust and WebAssembly (by JMS55)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
wasm-as-html botnet
1 5
11 69
- -
6.3 0.0
5 months ago about 1 year ago
JavaScript Rust
- GNU Affero General Public License v3.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

wasm-as-html

Posts with mentions or reviews of wasm-as-html. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-01.
  • Out of the loop: WASM for non-web projects
    8 projects | /r/rust | 1 Jan 2023
    This vacation, I've got around to this clever stupid solution to embed an HTML/Browser polyfill into the WASM module without changing any of its actual native functionality. Make your programs run it on user's machines that don't even know what PyPI/WASI/wasmtime is! Just give them an '''html''' page.

botnet

Posts with mentions or reviews of botnet. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-01.
  • Out of the loop: WASM for non-web projects
    8 projects | /r/rust | 1 Jan 2023
    I was/am working on a project (https://github.com/JMS55/botnet), where users upload scripts compiled to WASM to control entities on a game server, so that they can write custom behavior.
  • Sandboxing DLL Code
    2 projects | /r/rust | 10 Sep 2022
    Never heard of extism before, but second using WASM for plugins/scripting/extensions. I'm using it for botnet(1). Each player uploads a WASM program to control their bots. Both the server and the bot SDK are written in Rust, and can share some code.
  • Why Am I Excited About WebAssembly?
    9 projects | news.ycombinator.com | 17 Jul 2022
    4. Speed

    I'm hoping to write my thesis for my master's degree on this topic this year. I'm also in the process of writing a game like screeps, where users provide a WASM script to control units for an RTS-style game (without combat though) https://github.com/JMS55/botnet.

    It's amazing how simple it is to constrain memory usage, runtime duration, and secure exported functions to a WASM VM. Performance is also great - currently about ~6 microseconds per tick per unit, up to ~200 microseconds when doing expensive pathfinding. All that, while letting you program your units in Rust - the same language as the server is written in, while being able to share code with the server, and not having to use something more script-y like lua.

  • easy to use Plugin API in rust?
    6 projects | /r/rust | 2 Jul 2022
    The boilerplate sucks, but it works well when you don't need a ton of different functions. I use wasm as a scripting language for running isolated untrusted scripts in a game I'm developing, and it works really well https://github.com/JMS55/botnet.
  • Ask HN: Who needs help with side projects?
    10 projects | news.ycombinator.com | 1 Jul 2022
    I'm working on a Screeps-like game using WebAssembly. You compile a script to WebAssembly, and for each robot you control on the server, it runs the script in an isolated environment to choose an action for that robot. The goal is to write a program to coordinate your robots to gather resources and expand your control of the server.

    Here's an example bot script: https://github.com/JMS55/botnet/blob/master/example_bot/src/...

    The basic infrastructure of the project is more or less in place, besides a visual replay viewer which I'm working on right now. What's needed is a bunch of work in designing game mechanics and APIs. I don't actually have any plans beyond bots running around and harvesting randomly generated resources at the moment. Feel free to open a discussion on the github page if you're interested in Rust, WebAssembly, and video games.

    https://github.com/JMS55/botnet

What are some alternatives?

When comparing wasm-as-html and botnet you can also consider the following projects:

wasmtime - A fast and secure runtime for WebAssembly

memory64 - Memory with 64-bit indexes

rusty-hermit - Hermit for Rust. [Moved to: https://github.com/hermit-os/hermit-rs]

micropolis-rs - The classic Micropolis (Sim City 1) game rewritten in Rust and React, with WebAssembly support.

wasmer - 🚀 The leading Wasm Runtime supporting WASIX, WASI and Emscripten

homebridge-lutron-caseta-leap - Homebridge support for Lutron Caseta Smart Bridge 2

gc - Branch of the spec repo scoped to discussion of GC integration in WebAssembly

baghchal.net - Online Baghchal Issue Tracker

temporal-polyfill - A lightweight polyfill for Temporal, successor to the JavaScript Date object

Rhai - Rhai - An embedded scripting language for Rust.

extism - The framework for building with WebAssembly (wasm). Easily load wasm modules, move data, call functions, and build extensible apps.