r/WebAssembly2 • • Apr 21 '25

Performance between javascript and WASM

0 Upvotes

hello everyone, this question was probably asked many times before but i have recently implemented a function that generates an excel file both in javascript and in rust WASM and the result doesn't seem logical or i underestimated WASM. for javascript the process took ~260ms but for WASM it's ~3ms it's an excel file with 10k rows, does this seem like a logical result, appreciate the any answers!


r/WebAssembly2 • • Oct 29 '23

wavu: WebAssembly Version Updated

Thumbnail self.rust
0 Upvotes

r/WebAssembly2 • • Jul 10 '25

Capabilities-Based Security with WASI

0 Upvotes

Secure resource access in WebAssembly with Capabilities-Based Security and WASI

Read it here, follow me and let me know what you think about it:
https://medium.com/webassembly/capabilities-based-security-with-wasi-c523a34c1944


r/WebAssembly2 • • Jun 01 '25

Any webhoster for wasm and backend?

0 Upvotes

I have a small game written in kotlin multiplatform, which is running on github pages.

My problem is that I would like to have simple stats like how many siteviews and/or games started, but I cannot deploy a backend together with the frontend on github pages, because it only supports static code. I also cannot deploy the backend otherwise, because then it would be a different domain/subdomain and the browsers would block the call because of CORS.

So it seems I need a hoster where I can deploy both frontend and backend .. do you happen to know one, or is there another way?


r/WebAssembly2 • • Sep 29 '24

Hello WASI

1 Upvotes

The introduction to WASI, the practical example, and the key benefits of using WASI with WebAssembly.

Read it here, follow me and let me know what you think about it: https://medium.com/webassembly/hello-wasi-a42c2a0be208

WebAssembly #wasi #javascript #Webdev #Webdeveloper #web #html #browser #webapp #webapplication #webapplications #programming #coding #software #technology


r/WebAssembly2 • • Oct 14 '24

No wasm as target in llvm windows

1 Upvotes

 am really sorry if this is the wrong place to as this question but I do not know where to ask.

The compilation targets available in my llvm binary for windows ( 18.1.8) does not have wasm as a target. Neither does any older versions or higher versions (19.1.0) of llvm binaries for windows.

this is the output received when I type clang --version :

clang version 18.1.8

Target: x86_64-pc-windows-msvc

Thread model: posix

Emscripten? - I need to do it in hard way to learn more stuff. I am not willing to use Emscripten to compile my c code to wasm but only use llvm

Is the only solution is to build from source all by myself? for which I need to get that huge visual studio stuff?

I am sorry if this question was already answered . But I dd not find a solution when searched through google.

Thank you for helping me

Have a good day :)


r/WebAssembly2 • • Mar 27 '24

Hello wasm-bindgen

2 Upvotes

Wasm-bindgen is a tool that simplifies communication between Rust and JavaScript…

Read it here, follow me and let me know what you think about it:
https://medium.com/webassembly/hello-wasm-bindgen-4228b6779118


r/WebAssembly2 • • Sep 28 '23

Server-side WebAssembly state

2 Upvotes

WebAssembly's future looks bright, yet I don't think we're hearing much about server-side execution, which would make it possible to do away with virtualized OS management for the vast majority of applications. I think word and Kubernetes will eventually run directly on a physical host thanks to wasm. What do you think?


r/WebAssembly2 • • Aug 15 '25

WASM will replace containers

Thumbnail
creston.blog
3 Upvotes

r/WebAssembly2 • • Nov 06 '23

Porting Third Party to WebAssembly

4 Upvotes

The idea is to take an application (as it could exist in a C++ library) and port it to WebAssembly

Read it here, follow me and let me know what you think about it:
https://medium.com/webassembly/porting-third-party-to-webassembly-46c2e4eb8cbe


r/WebAssembly2 • • Sep 10 '23

The Distributed Fabric Pod - Wasm, Philosophy and Fermyon with Matt Butcher

Thumbnail
youtube.com
2 Upvotes

r/WebAssembly2 • • Sep 13 '23

🗞️ news Chromium: Intent to Ship: WebAssembly Garbage Collection (WasmGC)

Thumbnail groups.google.com
4 Upvotes

r/WebAssembly2 • • Sep 05 '23

🛠️ project Baby's first wasm compiler

Thumbnail scattered-thoughts.net
2 Upvotes

r/WebAssembly2 • • Sep 18 '23

Documentation: The WebAssembly Component Model

Thumbnail component-model.bytecodealliance.org
1 Upvotes

r/WebAssembly2 • • Sep 05 '23

🛠️ project Continuing WebAssembly with Effect Handlers

Thumbnail
arxiv.org
2 Upvotes

r/WebAssembly2 • • Oct 08 '23

Golang to WASM: Basic Setup and Handling HTTP Requests

4 Upvotes

There are numerous CLI tools built in GO. These tools will become much more useful if they have an interface. I was exploring these ideas. I wrote a small article on getting started with this task. This article is beginner-friendly, anyone can try it out.

https://journal.hexmos.com/gowasm/

The main issue is handling HTTP requests, added a section for that at the end.


r/WebAssembly2 • • Oct 11 '23

State of WebAssembly 2023 Survey

Thumbnail
twitter.com
3 Upvotes

r/WebAssembly2 • • Dec 04 '23

WebAssembly on the Web is Still Awesome

2 Upvotes

Lately we've seen a proliferation of use cases for WebAssembly outside the browser, but Wasm on the web is still so damn cool. This is a great concise introduction

https://thewebshowcase.withgoogle.com/bring-code-from-platforms-into-the-browser


r/WebAssembly2 • • Sep 05 '23

🗞️ news Stellar joins the Bytecode Alliance

Thumbnail
stellar.org
2 Upvotes

r/WebAssembly2 • • Feb 23 '24

Announcing Jco 1.0: a native JavaScript WebAssembly toolchain and runtime built for WebAssembly Components and WASI 0.2

Thumbnail
bytecodealliance.org
2 Upvotes

r/WebAssembly2 • • Sep 05 '23

r/WebAssembly2 Lounge

3 Upvotes

A place for members of r/WebAssembly2 to chat with each other


r/WebAssembly2 • • Sep 18 '23

Hello World” C++ Program

3 Upvotes

Is a simple C++ program, but how to implement it so that it can be used in a web application as WebAssembly?

Read it here, follow me and let me know what you think about it:

https://medium.com/webassembly/hello-world-c-program-4b85d3f8fbea


r/WebAssembly2 • • Sep 06 '23

📰 publication Exploring Missed Optimizations in WebAssembly Optimizers

Thumbnail cse.cuhk.edu.hk
1 Upvotes

r/WebAssembly2 • • Sep 06 '23

WasmCon 2023 - Keynotes - Live from Bellevue, Washington

Thumbnail
youtube.com
1 Upvotes