Rust, wasm32, crypto mining


Suppose a website states upfront that it is doing crypto mining instead of displaying ads, so there is no moral/ethical issue – is it practical to do crypto mining via Rust/wasm32 ?

  1. Does using deploying a single wasm32 blob for the app get around ublock origin / ad blockers, or are curent ad blockers able to dive into wasm32 and rewrite the code?

  2. Is there any practical rust library for doing this? I want to compute the profit vs ads / micro payments.