Allusion VS wasm-pack

Compare Allusion vs wasm-pack and see what are their differences.

Allusion

A free and open source desktop application for managing your visual library (by allusion-app)

wasm-pack

📦✨ your favorite rust -> wasm workflow tool! (by rustwasm)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
Allusion wasm-pack
5 38
629 5,937
3.8% 2.3%
3.9 6.4
10 days ago 9 days ago
TypeScript Rust
GNU General Public License v3.0 only 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.

Allusion

Posts with mentions or reviews of Allusion. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-31.
  • Allusion is a tool built for artists, aimed to help you organize your Visual Library
    1 project | /r/DigitalArt | 22 Apr 2023
  • Digital asset management for design studio
    4 projects | /r/selfhosted | 31 Mar 2022
    Allusion? https://github.com/allusion-app/Allusion
  • How to manage state on the Rust side when using WASM?
    2 projects | /r/rust | 4 Mar 2022
    You can only block a web worker thread; blocking in the main thread is not allowed by browser vendors. If you want to synchronize two web workers, you can use the std primitives like Mutex and compile with atomics. If you want to synchronize the main thread and a web worker, you need to build this yourself. I have implemented this in one of my code bases (https://github.com/allusion-app/Allusion/blob/master/wasm/masonry/src/sync.rs) but the code is GPL licensed. Note this particular code only works in browsers that support Atomics.waitAsync. An alternative is to wrap a worker.onmessage callback in a Promise and await that. Also statics are used because I don't want the overhead of calling receive from JavaScript back to Rust in the web worker, not that they are required.
  • Anybody doing WASM state management in Rust?
    4 projects | /r/rust | 22 Feb 2022
    One idea that could work out is to move state management to a web worker and state changes are just messages between the main thread and web worker (JS example with Redux + React + Comlink. The Redux and Comlink would be reimplemented in Rust (requires atomics, WASM intrinsics and however Redux works). However, using atomics is not so nice. Atomic.waitAsync has so far been only stabilized in Chrome last time I used it and the Rust std library has no equivalent, so you still have to call that from Rust. I've implemented something similar to a channel/spinlock but with statics (github source).
  • Creating a Sleek Masonry Gallery with React and WebAssembly
    4 projects | dev.to | 18 Apr 2021
    The final implementation: Masonry algorithm in Rust, Webworker, Masonry renderer which makes use of the Virtualized renderer

wasm-pack

Posts with mentions or reviews of wasm-pack. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-18.
  • Rust + WASM + Typescript [+ React]
    7 projects | /r/rust | 18 Jul 2023
    For a much simpler but less flexible approach there's wasm-pack for creating JS packages from Rust, and wasm-bindgen for easy interop. Both have very good documentation.
  • Tower of Hanoi in P5.js + WASM
    5 projects | dev.to | 8 May 2023
    After four years, I found some time to pay that deb-tech (yes, quite a long time, eh). To make it fun I rewrote everything from scratch in SolidJS, which went smooth thanks to this amazing library p5js-wrapper. For WASM, C++ is still a good choice, but what about Rust? I did some research and found wasm-pack. A few lines in the cargo.toml file and we were ready to generate compiled + ready to import bytecode!
  • How to Use Rust Code in a JavaScript Worklet (Without wasm-pack)
    2 projects | dev.to | 28 Apr 2023
    Support using wasm-pack in Worklets (particularly AudioWorklet) #689
  • Hey Rustaceans! Got a question? Ask here (3/2023)!
    12 projects | /r/rust | 16 Jan 2023
    If you're looking to use it to interface with node/browsers, then try wasm-pack.
  • Rust WebAssembly (wasm) on Arch Linux with Webpack (Rust 1.66.0)
    6 projects | dev.to | 8 Jan 2023
    Webassembly: wasm-bindgen 0.2.83 / wasm-pack 0.10.3
  • Examples of Rust + SvelteKit + WASM
    2 projects | /r/rust | 6 Oct 2022
    wasm-pack has bugs - it publishes a module which declares itself as a commonjs module. (You can fix that by manually adding "type": "module" in package.json). Then the web build should work with other bundlers. I opened an issue about this over a year ago. There's a PR and everything, but no movement :/
  • Building a web application with Rust and WebAssembly
    4 projects | dev.to | 3 Oct 2022
    wasm-pack helps you build Rust-generated WebAssembly packages and use it in the browser or with Node.js.
  • A Look at Performance in Wasmtime and Cranelift
    9 projects | /r/rust | 6 Sep 2022
    Is the Rust WASM ecosystem being half dead better? wasm-pack and wasm-bindgen are barely maintained anymore, and trust me it's not because everything works flawlessly…
  • Ask HN: Should I learn Rust or Go?
    3 projects | news.ycombinator.com | 4 Jul 2022
    I've been learning Rust for the past few weeks and have been enjoying it a lot.

    - The community is very helpful on Discord (https://discord.com/invite/rust-lang-community).

    - The package ecosystem (crates.io) makes it very easy to find and import things, and they're consistently documented.

    - There's a path to compiling on web via WebAssembly (https://rustwasm.github.io/wasm-pack/)

    In a few weeks of learning the language, I managed to put together this visualization: https://twitter.com/admiralakk/status/1542560489091350529

    But realistically, either Go or Rust will be fine. You should pick the one you're more likely to stick with and learn, even when it gets tough. I've found the community aspect to be very helpful, because then at least I know I'm not the only idiot out there.

  • Integrating a Svelte app with Rust using WebAssembly
    4 projects | dev.to | 29 Jun 2022
    There are various ways to set up a web project that uses Svelte, Wasm, and Rust. For example, wasm-pack from the rust-wasm group provides a template for simple HTML-CSS-JS applications. There are also several project templates for React or Svelte with Rust and Wasm.

What are some alternatives?

When comparing Allusion and wasm-pack you can also consider the following projects:

yewdux - Ergonomic state management for Yew applications

trunk - Build, bundle & ship your Rust WASM application to the web.

bounce - The uncomplicated Yew State management library

wasm-bindgen - Facilitating high-level interactions between Wasm modules and JavaScript

comlink - Comlink makes WebWorkers enjoyable.

vite-plugin-rsw - 🦞 wasm-pack plugin for Vite

s3ql - a full featured file system for online data storage

wasmtime - A fast and secure runtime for WebAssembly

awesome-selfhosted - A list of Free Software network services and web applications which can be hosted on your own servers

capacitor - Build cross-platform Native Progressive Web Apps for iOS, Android, and the Web ⚡️

rust - Empowering everyone to build reliable and efficient software.

cargo-generate - cargo, make me a project