MaxGraey / webassembly-examples-eratosthenes

webassembly examples which calculate prime by Sieve of Eratosthenes

Home Page:https://t-katsumura.github.io/webassembly-examples-eratosthenes/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

webassembly-examples-eratosthenes

MIT licensed Github pages available

Note
This project is just in progress.
Breaking changes will be made sometimes.

This repository provides some examples of WebAssembly implementation compiled from other languages.
Sample programs implement the Sieve of Eratosthenes and calculate max prime below "N" which is given by argument.

Run samples

Check my pages (https://t-katsumura.github.io/webassembly-examples-eratosthenes/).
How to compile or how to run the samples are briefly described there.

Demos

Demos are available for these languages.
To compare WebAssembly and JavaScript, there are also demos of JavaScript and TypeScript

Contributing

Any contributions are always be appreciated!

  1. Fork it
  2. Create feature branch (git checkout -b <your branch name>)
  3. Develop on the branch
  4. Commit your changes (git commit -m "<commit comment>")
  5. Push to the branch (git push -u origin <your branch name>)
  6. Create new Pull Request on Github

Git pages are created using docusaurus.
When updating the pages,

  • change or add markdown in website/docs/
  • resources of demos are in website/static/demos/
  • run npm run build to generate static pages in docs/

About

webassembly examples which calculate prime by Sieve of Eratosthenes

https://t-katsumura.github.io/webassembly-examples-eratosthenes/

License:MIT License


Languages

Language:HTML 48.9%Language:JavaScript 40.9%Language:TypeScript 2.6%Language:Java 1.7%Language:Go 1.2%Language:C++ 1.2%Language:C 1.1%Language:Rust 0.9%Language:Python 0.9%Language:CSS 0.5%