Tag

wasm-pack

0 views collected around this technical thread.

JD Tech Talk
JD Tech Talk
Oct 28, 2024 · Frontend Development

Integrating Rust with WebAssembly and JavaScript: A Step‑by‑Step Guide

This guide explains how to set up a Rust toolchain, compile Rust code to WebAssembly, use wasm‑bindgen and wasm‑pack, write the necessary Rust and JavaScript glue code, and run the resulting Wasm module in a web page with a Web Worker, providing a complete workflow for front‑end developers.

JavaScriptRustWebAssembly
0 likes · 16 min read
Integrating Rust with WebAssembly and JavaScript: A Step‑by‑Step Guide
JD Retail Technology
JD Retail Technology
Dec 1, 2023 · Frontend Development

Using Rust and WebAssembly to Optimize 3D Model Vertex Merging in Frontend Development

This article explains how to create, compile, and integrate a Rust‑based WebAssembly component for accelerating 3D model vertex merging in the browser, covering tool installation, code examples, data transfer techniques, performance tuning with hashing, and compatibility adjustments for both webpack and Vite.

RustWebAssemblywasm-pack
0 likes · 11 min read
Using Rust and WebAssembly to Optimize 3D Model Vertex Merging in Frontend Development