wasm-pack VS black-hat-rust

Compare wasm-pack vs black-hat-rust and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
wasm-pack black-hat-rust
38 48
5,923 3,044
2.0% 1.5%
7.0 4.3
4 days ago 7 months ago
Rust Rust
Apache License 2.0 MIT License
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-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.

black-hat-rust

Posts with mentions or reviews of black-hat-rust. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-20.
  • Cloudflare for Speed and Security
    2 projects | /r/CloudFlare | 20 Oct 2023
    Bonuses: If you purchase Cloudflare for Speed and Security before November 4, 2023, you'll get my bestseller, Black Hat Rust, for free! Yes, you read it right, two books for less than the price of one!
  • Show HN: I'm writing a book – Cloudflare for Speed and Security
    1 project | news.ycombinator.com | 18 Oct 2023
    Hey HN,

    I'm so excited to finally share with you what I've been working on recently.

    One month ago I asked my audience what they wanted to learn about Websites, APIs and Servers security [0].

    From the feedback, I've identified a few recurring pain points that I've started to address (and many more) in this new book.

    From theory to practice, you will learn how low-level network and security protocols work. How to configure Cloudflare to secure and scale your web applications. How to create serverless applications and which database to chose with serverless functions. How to optimize your caching policies. How to distribute videos globally. And a lot of other things, all of that while significantly reducing your cloud bill.

    Today, the book is far from ready, but I still wanted to release it as "Early Access". First, to enable you to start learning today and, secondly, to garner feedback and refine the book's content.

    Between writing, editing, and technical reviewing, it can take some time to complete a book. That's why I release my books before they are fully completed - so you can commence learning before the book is 100% ready, provide feedback, and help shape the content. Rest assured, all future updates are free of charge.

    The final publication date is set for mid-January 2024.

    Bonuses: If you purchase Cloudflare for Speed and Security before November 4, 2023, you'll get my bestseller, Black Hat Rust [1], for free! Yes, you read it right, two books for less than the price of one!

    Furthermore, all early-access supporters will receive the checklist I use to quickly set up a new domain on Cloudflare, ensuring the right balance between security, performance, and user experience.

    Lastly, the price is likely to increase once the book transitions out of Early Access, so don't postpone getting your copy.

    Sylvain

    [0] https://kerkour.com/what-do-you-want-to-learn-about-web-and-...

    [1] https://kerkour.com/black-hat-rust

  • Black Hat Rust
    1 project | /r/savedForMS | 1 May 2023
  • The EU Suppressed a 300-Page Study That Found Piracy Doesn’t Harm Sales
    1 project | news.ycombinator.com | 25 Apr 2023
    The best way I have found to prevent the piracy of my book (https://kerkour.com/black-hat-rust) is to inundate pirate platforms with only the first chapter and with a discount inside for those who can't afford the original price.

    So far it worked really well.

  • [Question] Does Rusts safety features make it less useful for pentesting?
    3 projects | /r/rust | 5 Mar 2023
    Black Hat Rust
  • Offensive Rust
    2 projects | /r/redteamsec | 8 Jan 2023
    You mean like this? https://kerkour.com/black-hat-rust
  • Position Independent Shellcodes in Rust (PIC)
    1 project | dev.to | 14 Dec 2022
    As usual, you can find the code on GitHub: github.com/skerkour/black-hat-rust (please don't forget to star the repo 🙏).
  • How to Write and Compile a Shellcode in Rust
    1 project | dev.to | 12 Dec 2022
    This post is an excerpt from my book Black Hat Rust
  • Learn Rust, Offensive Security and Applied Cryptography
    3 projects | dev.to | 11 Nov 2022
    This is why I dedicated the past months to write a book about the topic: Black Hat Rust - Applied offensive security with the Rust programming language.
  • Backdooring Rust crates for fun and profit
    5 projects | dev.to | 9 Nov 2022
    Want to learn more Rust, Offensive Security and Applied Cryptography? Take a look at my book Black Hat Rust Get 42% off until Friday, November 12 with the coupon 1311B892

What are some alternatives?

When comparing wasm-pack and black-hat-rust you can also consider the following projects:

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

sn0int - Semi-automatic OSINT framework and package manager

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

zero-to-production - Code for "Zero To Production In Rust", a book on API development using Rust.

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

yakuza-freecam - Yakuza Freecam Tool made in Rust

wasmtime - A fast and secure runtime for WebAssembly

dirble - Fast directory scanning and scraping tool

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

rust-windows-shellcode - Windows shellcode development in Rust

cargo-generate - cargo, make me a project

CVE-2022-0337-PoC-Google-Chrome-Microsoft-Edge-Opera - 🎩 🤟🏻 [P1-$10,000] Google Chrome, Microsoft Edge and Opera - vulnerability reported by Maciej Pulikowski - System environment variables leak - CVE-2022-0337