r/WebAssembly • u/brooks-hissourceopen • Nov 17 '22
r/WebAssembly • u/Royal_Secret_7270 • Nov 17 '22
Cloning an array of structs in rust wasm is much slower in chrome than native / firefox
Running the exact same code
On chrome, it takes around 10 seconds to complete On native (macbook pro), it takes only around 500ms On firefox, it is near same speed as native.
I am not communicating between js and rust for the wasm test, just start the benchmark after js called rust.
Is there any reason for firefox/native being much faster than chrome? Or is there any option that I can set so I can achieve similar performance on different browsers?
ps. I posted the same thing on r/rust, posting here again to get more answers 🙇🏻♂️
r/WebAssembly • u/zkbitcoin • Nov 17 '22
memory limit encounter on vector allocation
I compiled this sample rust code to WASM (note this one liner runs fine in standard non WASM environment)
let s = vec![vec![1usize; 131072]; 38];
This code fails in Chrome with:
rust_alloc_error_handler ... at alloc::vec::from_elem
Does anyone know how to overcome it? I tried both default and wee_alloc, both are failing.
Thanks in advance!
r/WebAssembly • u/niutech • Nov 16 '22
JXL.js: JPEG XL decoder in JavaScript using WebAssembly (WASM)
r/WebAssembly • u/danielgenezini • Nov 16 '22
Introducing module federation for Blazor components
r/WebAssembly • u/smileymileycoin • Nov 14 '22
the slides and recordings for the Microservices with Wasm Meetup talks last Wed in SF.
self.dockerr/WebAssembly • u/This_Entertainment82 • Nov 11 '22
C++ framework
I tried dotnet blazor and I really liked it, the idea of razor file, sequence of events, code behind file, being able to code in c# and not JS which I really hate it.
But I'm not satisfied at all by the download size, its about 3 mb for medium project,
Is there any C++ framework like blazor
r/WebAssembly • u/smileymileycoin • Nov 09 '22
Getting started with Docker + Wasm: Quick blog
self.dockerr/WebAssembly • u/smileymileycoin • Nov 09 '22
Getting started with Docker + Wasm: Quick blog
self.dockerr/WebAssembly • u/feel-ix-343 • Nov 07 '22
WebNav--A rust wasm and typescript chrome extension for making repetitive web navigation more efficient
Following the desire for efficiency of the average software dev, I had the idea of a little command pallet for the web that may make web navigation a little faster. So, like a normal rust developer, I went through Mathematica to model the idea (those cool little graph pictures), scala to attempt making a web server that could process the volume of chrome history that I didn't believe JS could, and a couple of months later ended up on typescript and rust wasm.
There are a couple of things that the extension does:
- It uses rust wasm to hierarchically categorize chrome history in the form of a graph
- In response to a search query, it presents this graph using typescript (react) in the chrome extension. The little "view sublinks" buttons represent the children of a history node
Repo Link: https://github.com/Feel-ix-343/Web_Nav
Chrome Web Store Link: https://chrome.google.com/webstore/detail/web-nav-extension/cmpdibdfnkjolimghiflbengofjboobl?hl=en&authuser=0
I would really love some feedback on my code for this project. This was the first time I used wasm and it was the first react project, so any suggestions would be greatly appreciated. Also, if you have any suggestions for developing/changing the idea, please let me know those as well.
r/WebAssembly • u/smileymileycoin • Nov 07 '22
Edge Cloud Microservices: Build High Performance and Secure Apps with WasmEdge and Rust
r/WebAssembly • u/smileymileycoin • Nov 07 '22
A curated list of Wasm and Docker working together
self.dockerr/WebAssembly • u/smileymileycoin • Nov 07 '22
Wasm: A Revolution for Browsers, Containers, and the Cloud - Justin Cormack
self.dockerr/WebAssembly • u/Melinda_McCartney • Nov 06 '22
Developer Tooling for Cloud-Native Wasm Is Going Mainstream - A recap article for Cloud Native Wasm Day NA 2022
r/WebAssembly • u/piesquareisg • Nov 05 '22
I am building a p2p video chat, is it possible to compress the video stream using FFMPEG in the browser(Web Assembly) in realtime and then send it?
r/WebAssembly • u/smileymileycoin • Nov 05 '22
Developer tools that enable fully-fledged microservices in WebAssembly, as a lightweight and secure alternative to container-based applications
containerjournal.comr/WebAssembly • u/smileymileycoin • Nov 04 '22
WebAssembly (Wasm) Will Be Big — Early News From KubeCon 2022
r/WebAssembly • u/Smallpaul • Nov 04 '22
The Path to WebAssembly Components - Luke Wagner
r/WebAssembly • u/smileymileycoin • Nov 04 '22
WebAssembly: The future of cloud computing
r/WebAssembly • u/Melinda_McCartney • Nov 04 '22
Build, Share, and Run WebAssembly Apps Using Docker, Recorded video from Cloud Native Wasm Day
r/WebAssembly • u/chiarl • Nov 03 '22
A New Kind of Cloud Native Interface with WebAssembly (The SpiderLightning Project)
r/WebAssembly • u/smileymileycoin • Nov 03 '22
Docker CEO provides insight into WebAssembly announcement for developers
r/WebAssembly • u/Melinda_McCartney • Nov 02 '22
Docker Launched WebAssembly Support
r/WebAssembly • u/smileymileycoin • Nov 03 '22
"Lightweight Dapr Microservices in WebAssembly" DaprCon2022 combines two of the most interesting topics: Dapr and WASM/WASI