sieve icon indicating copy to clipboard operation
sieve copied to clipboard

Implementing the sieve of Eratosthenes in various languages to demonstrate power of GraalVM and Truffle

Results 4 sieve issues
Sort by recently updated
recently updated
newest added

Though there is interesting nondeterminism of optimalizations - GraalVM converges to either ~100 ms or ~250 ms per loop. (while `cargo run --release` is ~65 ms)

Trying to re-implement the [sieve.js](https://github.com/jtulach/sieve/blob/master/js/sieve.js) in Rust.

Since d9a30a9127548ad3 we are able to build and execute the generated `sieve` native executable: ![obrazek](https://user-images.githubusercontent.com/26887752/113987797-1493c900-984f-11eb-8ade-9918c9d9e09a.png) Make sure the project is set to use GraalVM 20.3 with native-image exectable installed and...

[boxed-sieve.zip](https://github.com/jtulach/sieve/files/124753/boxed-sieve.zip) [primitive-sieve.zip](https://github.com/jtulach/sieve/files/124754/primitive-sieve.zip)