TeXitoi / keyseebee

KeySeeBee is a split ergo keyboard. It is only 2 PCB (so the name) with (almost) only SMD components on it. It's only a keyboard, no LED, no display, nothing more than keys and USB.
MIT License
317 stars 34 forks source link

The Computer Language Benchmarks Game (CLBG) #11

Closed evertondanilo closed 2 years ago

evertondanilo commented 3 years ago

Hi, TeXitoi. Hope you are keeping well. Did you contribute to port binary-trees algorithm to Rust in the CLBG project? I want to compile it to Wasm.

TeXitoi commented 3 years ago

A long time ago, yes https://github.com/TeXitoi/benchmarksgame-rs/blob/master/src/binary_trees.rs

evertondanilo commented 3 years ago

Hi @TeXitoi thanks for your quick reply. I'm working on a research project for my masters. The idea is to compare Wasm with JS in the browser. How fast it would be? Do you think CLBG algs can be compiled to Wasm?

TeXitoi commented 3 years ago

you can solve the benchmarkgames in wasm, but you may not be able to take directly the version on the site as they depend on features not availlable on wasm (simd, std...).

I suspect it will be faster than the js version, but a well written js and rust implementation might be of similar speed for some benchmarks.