joshwrn / wasm-app

Home Page:https://wasm-app.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tests the speed difference between rust & javascript.

In rust we loop through an array 1 billion times before updating mouse position. In Javascript we do the same thing except we only loop through an array of 10 million.

You can easily see the difference when switching between the two.

demo: https://wasm-app.vercel.app/

About

https://wasm-app.vercel.app


Languages

Language:Makefile 92.7%Language:TypeScript 2.6%Language:CSS 2.5%Language:JavaScript 1.9%Language:Rust 0.3%