Need advice on a project involving Webassembly+ web_sys + webgl

This page summarizes the projects mentioned and recommended in the original post on /r/rust

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • wasm-bindgen

    Facilitating high-level interactions between Wasm modules and JavaScript

  • 3- Also, I do not like that i have to use npm to serve the app (wasm-bindgen uses it in examples). Any better and easier option here ?

  • trunk

    Build, bundle & ship your Rust WASM application to the web.

  • For 3. have a look at trunk. It's a very nice alternative for building your app. It also has built in support for wasm-opt so you can further shrink your output binary.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • min-sized-rust

    šŸ¦€ How to minimize Rust binary size šŸ“¦

  • To further minimize the binary size you might want to take a look at this. These tweaks optimize the binary output even before wasm-opt runs over it.

  • wee_alloc

    The Wasm-Enabled, Elfin Allocator

  • Last thing that comes to mind is switching the allocator to wee_alloc. I use it most of the time for wasm projects and it doesn't make too much of a difference in binary size but that always depends on the project and usually saves at least a few kB.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Rust + WASM + Typescript [+ React]

    7 projects | /r/rust | 18 Jul 2023
  • Looking to create a backend service for a website in Rust and Iā€™m wondering on how to best do it

    2 projects | /r/rust | 28 Jun 2023
  • āš™ļø Built a small demo project of WASM with RUST

    2 projects | /r/wasm | 30 May 2023
  • I'm trying to compile my rust code to wasm but wasm_bindgen says the trait bound `(Vec<i32>, Vec<i32>): IntoWasmAbi` is not satisfied.

    1 project | /r/rust | 12 Feb 2023
  • What do you think about NAPI (native bindings) vs. WebAssembly?

    1 project | /r/rust | 6 Sep 2022