cowasm VS dash

Compare cowasm vs dash and see what are their differences.

cowasm

CoWasm: Collaborative WebAssembly for Servers and Browsers. Built using Zig. Supports Python with extension modules, including numpy. (by sagemathinc)

dash

Mirror of Debian Almquist shell https://git.kernel.org/pub/scm/utils/dash/dash.git without the autotools dependency (by sagemathinc)
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
cowasm dash
8 1
462 2
1.5% -
3.9 10.0
4 months ago over 1 year ago
C C
BSD 3-clause "New" or "Revised" License 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.

cowasm

Posts with mentions or reviews of cowasm. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-02.
  • bsdutils: Alternative to GNU coreutils using software from FreeBSD
    10 projects | news.ycombinator.com | 2 Mar 2023
    For fun, I ported much of BSDutils to WebAssembly. Code [1] and live demo [2]. It was much, much easier porting BSDutils than GNU coreutils, since the source code is often much smaller, and hence easier to read and understand with simpler dependencies.

    [1] https://github.com/sagemathinc/cowasm/tree/main/core/coreuti...

  • Wasi-JS: a JavaScript library for interacting with WASI Modules
    1 project | news.ycombinator.com | 29 Jan 2023
  • active now: Commits ยท sagemathinc/cowasm
    1 project | /r/browserPOSIX | 4 Dec 2022
  • SQLite 3.40.0 with WASM Support
    2 projects | news.ycombinator.com | 21 Nov 2022
    For what it is worth, I also care about building this with zig. https://github.com/sagemathinc/cowasm/blob/main/packages/sql...
  • Adding Python support using Pyodide to our low-code framework which supported only JavaScript.
    2 projects | /r/Python | 4 Nov 2022
    If it fits your needs and is working, then fine. Please remain aware of a different approach to what pyodide is doing based on perceived weaknesses in pyodide.
  • CoWasm: An alternative to Emscripten, based on Zig (demo: Python in the browser)
    9 projects | news.ycombinator.com | 29 Oct 2022
    CoWasm supports WASI right now via this library https://www.npmjs.com/package/wasi-js, which I actually develop as part of CoWasm . One unusually thing I did, which goes beyond what emscripten does, is I implemented a quite a bit of posix functionality, often by writing extension code to nodejs and calling it from Javascript, because there's a lot of POSIX that Node.js doesn't expose. This only works on Mac and Linux and is also available standalone in this library https://www.npmjs.com/package/posix-node, which is implemented in Zig. You can get a sense of the scope of POSIX functionality that goes beyond what WASI defines here: https://github.com/sagemathinc/cowasm/tree/main/packages/ker...

    One motivation for doing this is to try to get the full Python test suite to pass, including all the functionality that involves subprocesses, posix calls, etc. I've only got to about 85% at this point. It can be a ton of tedious work, but at least Zig helps impose some discipline (e.g, it doesn't let you ignore handling errors until later), and makes it easy to test compilation for all supported targets on every change (due to excellent cross compilation support).

dash

Posts with mentions or reviews of dash. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-29.
  • CoWasm: An alternative to Emscripten, based on Zig (demo: Python in the browser)
    9 projects | news.ycombinator.com | 29 Oct 2022
    I am using the Python ecosystem (with full support for dynamic loading of C extension modules) as an initial motivating project. Also, the Python test suite is extremely useful to root out problems. I certainly hope that this can provide a more complete alternative to Emscripten to the community eventually. That said, Emscripten is huge, and the problems involved in creating a more maintainable modular WASM build tool are subtle. For example, when implementing a custom module loader for Python-wasm last week, I discovered several bugs in the memfs and unionfs Javascript libraries (https://github.com/streamich/memfs/pulls?q=is%3Apr+author%3A... and https://github.com/streamich/unionfs/pulls?q=is%3Apr+author%...). I had to learn the code sufficiently to fix all these bugs, submit PR's, etc. Emscripten has its own analogue of memfs, which is optimized specifically for WebAssembly in the browser, where memfs is a more general widely used library (with 10M+ downloads/week).

    CoWasm has no support for asyncify. Where I've run into setjmp/longjmp so far, I've been rewriting the code instead. E.g., the dash shell uses setjmp/longjmp, and I'm rewriting that to use return error codes instead (see, e.g., https://github.com/sagemathinc/dash/commit/7117e1f6496728af0...).

    > how would I go about porting a simple C->WASM w/ Typescript library project to CoWasm?

    That's a great question, which I'm not sure how to quickly answer, so I've created a discussion item here https://github.com/sagemathinc/cowasm/discussions/40

What are some alternatives?

When comparing cowasm and dash you can also consider the following projects:

coreutils - Mirror of https://gitlab.redox-os.org/redox-os/coreutils

memfs - JavaScript file system utilities

coreutils - Cross-platform Rust rewrite of the GNU coreutils

bat - A cat(1) clone with wings.

unionfs - Use multiple fs modules at once

bsdutils - Alternative to GNU coreutils using software from FreeBSD

wasi-sqlite - sqlite3 CLI for a-Shell on iOS

broot - A new way to see and navigate directory trees : https://dystroy.org/broot

exa - A modern replacement for โ€˜lsโ€™.

zqlite.zig - A thin SQLite wrapper for Zig

PowerShell - PowerShell for every system!

ToolJet - Low-code platform for building business applications. Connect to databases, cloud storages, GraphQL, API endpoints, Airtable, Google sheets, OpenAI, etc and build apps using drag and drop application builder. Built using JavaScript/TypeScript. ๐Ÿš€