botnet VS design

Compare botnet vs design and see what are their differences.

botnet

Multiplayer programming game using Rust and WebAssembly (by JMS55)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
botnet design
5 34
69 11,350
- 0.2%
0.0 3.9
about 1 year ago 11 days ago
Rust
GNU Affero General Public License v3.0 Apache License 2.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.

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

design

Posts with mentions or reviews of design. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-01.
  • Rust, WASM, and LOK
    3 projects | dev.to | 1 May 2024
    First of all, a quick rundown of what WASM is. It stands for Web Assembly. In essence, similar to how Java compiles down to a bytecode that is interpreted by a Java Virtual Machine, Web Assembly is a different bytecode interpreted by the browser. Many different languages can compile into WASM, and Javascript can interface with it like a module. In my case, I wrote a lot of the source code in Rust and compiled it down to a WASM module, then called into it from Javascript.
  • Surprisingly Powerful – Serverless WASM with Rust Article 1
    5 projects | dev.to | 27 Apr 2024
    WebAssembly (abbreviated Wasm) is a binary instruction format for a stack-based virtual machine. Wasm is designed as a portable compilation target for programming languages, enabling deployment on the web for client and server applications. - https://webassembly.org
  • Reaching and surpassing the limits of JavaScript BigData with WebAssembly
    1 project | dev.to | 5 Apr 2024
    With WebAssembly we can compile our C++ codebase into a wasm module for the browser. So when you look at a SciChart.js chart you're actually seeing our C++ graphics engine wrapped for JavaScript.
  • WASM Instructions
    13 projects | news.ycombinator.com | 18 Feb 2024
    I should add, however, that the unmentioned elephant in the room is V8 JIT (TurboFan), which simply doesn't handle irreducible control flow. While there are some valid theoretical arguments around the current arrangement in Wasm, looking at the history of the associated discussions makes it pretty obvious that having V8 support Wasm and generate fast code similar to what it can do for asm.js was an overriding concern in many cases. And Google straight up said that if Wasm has ICF, they will not bother supporting such cases, so it will be done by a much slower fallback:

    https://github.com/WebAssembly/design/issues/796#issuecommen...

    AFAIK no other Wasm implementation has the same constraint - the rest generally tend to desugar everything to jumps and then proceed from there. So this is, at least to some extent, yet another case of a large company effectively forcing an open standard to be more convenient for them specifically.

  • Supercharge Web AI Model Testing: WebGPU, WebGL, and Headless Chrome
    2 projects | news.ycombinator.com | 16 Jan 2024
    https://github.com/WebAssembly/design/issues/1397

    > Currently allocating more than ~300MB of memory is not reliable on Chrome on Android without resorting to Chrome-specific workarounds, nor in Safari on iOS.

    That's about allocating CPU memory but the GPU memory situation is similar.

  • Build your own WebAssembly Compiler
    3 projects | news.ycombinator.com | 3 Dec 2023
    As far as I can tell (5 minutes of internet research) this was to allow easier compilation to JavaScript as a fallback in the days when WASM wasn't widely supported.

    "Please add goto" issue has been open since 2016:

    https://github.com/WebAssembly/design/issues/796

    Most interesting comment:

    > The upcoming Go 1.11 release will have experimental support for WebAssembly. This will include full support for all of Go's features, including goroutines, channels, etc. However, the performance of the generated WebAssembly is currently not that good.

    > This is mainly because of the missing goto instruction. Without the goto instruction we had to resort to using a toplevel loop and jump table in every function. Using the relooper algorithm is not an option for us, because when switching between goroutines we need to be able to resume execution at different points of a function. The relooper can not help with this, only a goto instruction can.

    > It is awesome that WebAssembly got to the point where it can support a language like Go. But to be truly the assembly of the web, WebAssembly should be equally powerful as other assembly languages. Go has an advanced compiler which is able to emit very efficient assembly for a number of other platforms. This is why I would like to argue that it is mainly a limitation of WebAssembly and not of the Go compiler that it is not possible to also use this compiler to emit efficient assembly for the web.

    ^ https://github.com/WebAssembly/design/issues/796#issuecommen...

  • Flawless – Durable execution engine for Rust
    7 projects | news.ycombinator.com | 25 Oct 2023
    When I implemented a WASM compiler, the only source of float-based non-determinism I found was in the exact byte representation of NaN. Floating point math is deterministic. See https://webassembly.org/docs/faq/#why-is-there-no-fast-math-... and https://github.com/WebAssembly/design/blob/main/Nondetermini....
  • Requiem for a Stringref
    4 projects | news.ycombinator.com | 19 Oct 2023
    > To work with GC, you need some way to track if the GC'd object is accessible in WASM itself.

    I've never heard of a GC with that kind of API. Usually any native code that holds a GC reference would either mark that reference as a root explicitly (eg. https://github.com/WebAssembly/design/issues/1459) or ensure that it can be traced from a parent object. Either way, this should prevent collection of the object. I agree that explicitly checking whether a GC'd object has been freed would not make any sense.

    > The reason why you probably need a custom string type is so you can actually embed string literals without relying on interop with the environment.

    WASM already has ways of embedding flat string data. This can be materialized into GC/heap objects at module startup. This must happen in some form anyway, as all GC-able objects must be registered with the GC upon creation, for them to be discoverable as candidates for collection.

    Overall I still don't understand the issue. There is so much prior art for these patterns in native extensions for Python, PHP, Ruby, etc.

  • The Tug-of-War over Server-Side WebAssembly
    12 projects | news.ycombinator.com | 24 Mar 2023
    Giving you a buffer that grows is the allocation approach I am talking about. This is not how your OS works. Your OS itself works with an allocator that does a pretty good job making sure that your memory ends up not fragmented. Because WASM is in between, the OS is not in control of the memory, and instead the browser is. The browser implementation of "bring your own allocator" is cute but realistically just a waste of time for everybody who wants to deploy a wasm app because whatever allocator you bring is crippled by the overarching allocator of the browser messing everything up.

    It seems like the vendors are recognizing this though, with firefox now having a discard function aparently!

    https://github.com/WebAssembly/design/issues/1397

  • How do Rust WebAssembly apps free unused memory?
    5 projects | /r/rust | 26 Feb 2023

What are some alternatives?

When comparing botnet and design you can also consider the following projects:

memory64 - Memory with 64-bit indexes

content - The content behind MDN Web Docs

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

wave - Realtime Web Apps and Dashboards for Python and R

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

interface-types

baghchal.net - Online Baghchal Issue Tracker

Chevrotain - Parser Building Toolkit for JavaScript

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

WASI - WebAssembly System Interface

Rhai - Rhai - An embedded scripting language for Rust.

iswasmfast - Performance comparison of WebAssembly, C++ Addon, and native implementations of various algorithms in Node.js.