---
title: "Discussion on \"WebAssembly is not a magic shield: Wasm vs JS VM protection for hiding client logic\" | Hashnode"
description: "Discussion on \"WebAssembly is not a magic shield: Wasm vs JS VM protection for hiding client logic\". A recurring piece of advice in \"how do I hide my front-end logic\" threads is: rewrite it in Rust or C, compile to WebAssembly, and ship a binary instead of readable JavaScript. It sounds convincing. A"
url: "https://hashnode.com/posts/webassembly-is-not-a-magic-shield-wasm-vs-js-vm-protection-for-hiding-client-logic/6af511e5b8c643330b189af4"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [WebAssembly is not a magic shield: Wasm vs JS VM protection for hiding client logic](https://veilvm.hashnode.dev/webassembly-is-not-a-magic-shield-wasm-vs-js-vm-protection-for-hiding-client-logic?utm_source=hashnode&utm_medium=feed)

A recurring piece of advice in "how do I hide my front-end logic" threads is: rewrite it in Rust or C, compile to WebAssembly, and ship a binary instead of readable JavaScript. It sounds convincing. A

6d ago · 7 min read · veilvm.hashnode.dev  
Read the article

-   [#webassembly](https://hashnode.com/tag/webassembly)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#security](https://hashnode.com/tag/security)
-   [#webdev](https://hashnode.com/tag/webdev)

## Written by

[VEILVM](https://hashnode.com/@veilvm)

@veilvm

  
[View profile](https://hashnode.com/@veilvm)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
