memory-control VS noah

Compare memory-control vs noah and see what are their differences.

memory-control

A proposal to introduce finer grained control of WebAssembly memory. (by WebAssembly)

noah

Bash on Ubuntu on macOS (by linux-noah)
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
memory-control noah
5 2
19 1,860
- -
0.0 0.3
over 1 year ago almost 4 years ago
WebAssembly C
GNU General Public License v3.0 or later GNU General Public License v3.0 or later
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.

memory-control

Posts with mentions or reviews of memory-control. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-04.
  • Extism Makes WebAssembly Easy
    13 projects | news.ycombinator.com | 4 Oct 2023
    Indeed, webassembly is moving extremely slowly. I started a project years ago expecting https://github.com/WebAssembly/memory-control/blob/main/prop... and https://github.com/WebAssembly/memory64 to be fixed at some point. Neither are yet, and the project still suffers from it to this day.

    I think wasm is still great without these fixes, but I have lost confidence in the idea that wasm will reach its full potential any time soon.

  • The Tug-of-War over Server-Side WebAssembly
    12 projects | news.ycombinator.com | 24 Mar 2023
    Additionally, googlers are championing memory control https://github.com/WebAssembly/memory-control/blob/main/prop..., which provides memory protection.
  • How do Rust WebAssembly apps free unused memory?
    5 projects | /r/rust | 26 Feb 2023
    But researching it a bit I found this issue, so it clearly seems to be a problem for a bunch of people out there. And apparently both V8 and Spidermonkey have already addressed this quite recently, see this issue.
  • WebAssembly and C++
    6 projects | news.ycombinator.com | 27 Jun 2022
    FWIW there is a proposal in the works to add page-based protection, which will allow unmapping the 0 page, restoring the trap-on-null-deref behavior that is important for many languages with safety checks.

    https://github.com/WebAssembly/memory-control

noah

Posts with mentions or reviews of noah. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-24.
  • The Tug-of-War over Server-Side WebAssembly
    12 projects | news.ycombinator.com | 24 Mar 2023
    The other day I came across an interesting "alternative" to WASM which gives you OS portability using fully native code, without CPU portability, the latter seeming not that big of a deal these days anyway as cross compilers have got quite good and there are only two CPU archs in wide usage anyway.

    The idea is to simply run normal Linux binaries on macOS and Windows. How? You create a virtual machine using the Mac/Windows APIs without any OS inside, in fact without even any virtual hardware. It's literally just a new address space and some trivial min-viable VM configuration. Then you map the ELF binary and a ld.so into the VM with a minimal ELF interpreter, kick off execution and anytime there's a syscall you trap it and translate to the host OS syscalls. It can work quite well on macOS because the syscall interface is so similar.

    Note that this sort of VM is not:

    • A sandbox

    • A hardware abstraction

    Apps run this way hold all their data in the filing system of the host OS, they use the network stack of the host OS, etc. The VM is only being used to allow trapping and emulation of the syscall interface. The app isn't aware that it's being run in a special CPU mode on top of an emulated kernel.

    Advantages: lightweight, simple, apps can use all CPU features, can run at native speed, the Linux syscall interface is highly stable, based on POSIX specifications and you can easily pick a subset of it to standardize.

    Disadvantages: requires the emulator, apps exposed to missing features or quirks of the host OS e.g. Windows file system performance is much lower than Linux.

    WSL1 sort of worked that way, albeit without the VM aspect that lets userspace apps do it. They abandoned it partly for performance reasons and users expected all existing Linux apps to just work. But WASM doesn't target existing apps. It expects developers to bend and do things the WASM way, and accepts that not all apps are compatible with it, so that's not necessarily a problem.

    An example of how to implement this is NOAH:

    https://github.com/linux-noah/noah/

  • Lima: Linux-on-Mac (“macOS Subsystem for Linux”, “Containerd for Mac”)
    8 projects | news.ycombinator.com | 14 May 2021
    There was an attempt, but it was archived https://github.com/linux-noah/noah

What are some alternatives?

When comparing memory-control and noah you can also consider the following projects:

multi-memory - Multiple per-module memories for Wasm

lima - Linux virtual machines, with a focus on running containers

asm-dom - A minimal WebAssembly virtual DOM to build C++ SPA (Single page applications)

HomeBrew - 🍺 The missing package manager for macOS (or Linux)

sycamore - A library for creating reactive web apps in Rust and WebAssembly

Docker-OSX - Run macOS VM in a Docker! Run near native OSX-KVM in Docker! X11 Forwarding! CI/CD for OS X Security Research! Docker mac Containers.

wajic - WebAssembly JavaScript Interface Creator

yabai - A tiling window manager for macOS based on binary space partitioning

interface-types

workers-wasi

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

browser_wasi_shim - A WASI shim for in the browser