# Umar Sharief

@UMARismyname

UmarismynameandI'mquitelameandFortniteismyfavouritegameandI'musingnospacesbecauseI'mtiredofwastingspacewhenindentinginmyprograms.Same?

0

template popularity@rayhanadev's predictions for who will win Replit's Template Jam's second prize, put into a website so the up-to-date results can be loaded easily by anyone

0

0

0

1

Language Speed Comparison - PrimesThis test compares the speed of Python, Java, Node.js, C♯, C++, PHP, C, Go, Kotlin, Rust, Ruby, Dart, Swift, R and Visual Basic (the 15 most common languages that can output primes to a console) by comparing the speed of implementations of an algorithm similar to
rwh_primes. The output of the programs is not shown; you only see the time taken by each program.
Use my discord bot, which includes a command with this language benchmarker, and much more!

UMARismyname It uses an algorithm similar to [rwh_primes](https://stackoverflow.com/questions/2068372/fastest-way-to-list-all-primes-below-n/3035188#3035188) for all implementations.6 months ago

UMARismyname Is there any way to have pip package management in nix repls, like in Python repls? I want to use Python 3.10. I want to be able to link this repl to my discord bot. If I use Nix, I'll have access to the packages I need, but not pip packages, which I need for my discord bot. If I use a Python repl, I'll only get access to outdated versions of languages, for example, for some reason, the ruby installation on replit is 2.5.1, which is 1411 days old! I can't do a fair comparison of languages when half of the languages are seriously outdated.6 months ago

1

Language Speed Comparison - PrimesThis test compares the speed of Python, Java, Node.js, C♯, C++, PHP, C, Go, Kotlin, Rust, Ruby, Dart, Swift, R and Visual Basic (the 15 most common languages that can output primes to a console) by comparing the speed of implementations of an algorithm similar to
rwh_primes. The output of the programs is not shown; you only see the time taken by each program.
Use my discord bot, which includes a command with this language benchmarker, and much more!

Forgot to publish updates for aaages

For anyone who is actually using this, I have forgotten to publish updates. There're many changes, including moving to Rust, adding new languages, and adding a colour gradient scheme depending on speed relative to the fastest language. There's probably much more, considering how long it's been since I updated it, so see for yourselves!1

Language Speed Comparison - PrimesThis test compares the speed of Python, Java, Node.js, C♯, C++, PHP, C, Go, Kotlin, Rust, Ruby, Dart, Swift, R and Visual Basic (the 15 most common languages that can output primes to a console) by comparing the speed of implementations of an algorithm similar to
rwh_primes. The output of the programs is not shown; you only see the time taken by each program.
Use my discord bot, which includes a command with this language benchmarker, and much more!

Pip package management in Nix?

Is there any way to have pip package management in nix repls, like in Python repls? I want to use Python 3.10. I want to be able to link this repl to my discord bot. If I use Nix, I'll have access to the packages I need, but not pip packages, which I need for my discord bot. If I use a Python repl, I'll only get access to outdated versions of languages, for example, for some reason, the ruby installation on replit is 2.5.1, which is 1411 days old! I can't do a fair comparison of languages when half of the languages are seriously outdated.1

Now it uses a better, more memory-efficient algorithm.

It uses an algorithm similar to rwh_primes for all implementations.1

The *prime* benchmarker for 10 languages

This repl compares how long 10 languages take to find primes up to a number. You can specify the first amount of numbers tested, then the pattern to increase the amount of numbers tested each time. For example, if you input 10 as the initial amount and *2 as the pattern, it tests numbers 10, 20, 40, 80, 160 and so on.0

Prime Sieve of AtkinFind primes up to a number with incredible speed!

Add command-line arguments, executable for Windows PCs.

You can now download this as an exe from here. You will probably get anti-virus warnings until it is downloaded enough, which I don't think will ever happen, but we'll see! Just take a look through the code if you're suspicious, and understand Rust. Someone who looks at this will know Rust (chances increased because of the tag #rust) and report a virus if they see one.inyourface3445 @UMARismyname Yo, the GitHub page dose not exist anymore. Can you put it back up?5 months ago

UMARismyname @inyourface3445 oh sorry, I stopped working on this. For a prime sieve made in Rust, I have a language speed benchmarker [here](https://replit.com/@UMARismyname/Language-Speed-Comparison-Primes?embed=1) that uses a prime sieve to compare languages. Download the release for the Rust version [here](https://github.com/noneofyourbusiness1415252/Language-Speed-Comparison-Primes/releases/download/Rust/primes.exe). It now uses an algorithm based on [rwh_primes1](https://stackoverflow.com/questions/2068372/fastest-way-to-list-all-primes-below-n/3035188#3035188), not the sieve of Atkin. 5 months ago

0

Prime Sieve of AtkinFind primes up to a number with incredible speed!

Prime Sieve of Atkin

This program uses the Sieve of Atkin to tell you primes with incredible speed! It tells you long it took to calculate, not including the time it takes to print it out. So, for primes up to a million, it shows a number around 8ms, but it takes a relatively long time to print it out, so including the printing it takes about 5.9 seconds.This program tells you about primes, composites, squares and cubes within a range of numbers, and includes a quiz about primes/composites and squares/