Umar Sharief
Language Speed Comparison - Primes
Made with NixThis 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!
Recent comments (7)hilkin20083 months agoI KNOW WHERE U LIVE, IT SAYS YOU ARE IN BLACKBURN
hilkin20083 months agoDid me ASK?! HAHAHAHHAHHjajaja
UMARismyname1 year agoFor 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!
UMARismyname1 year agoIs 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.
UMARismyname1 year agoIt uses an algorithm similar to rwh_primes for all implementations.
UMARismyname1 year agoUh for some reason it shows
repl waking up...
when you run it. Just use the embed link for nowUMARismyname1 year agoThis 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 numbers10, 20, 40, 80, 160
and so on.TiB1HS
Made with HTML, CSS, JSfake hydrogen fuel cell project made for https://www.firstlegoleague.org/. Learning a lot of CSS and having fun making this While this is tagged as a school project, I likely won't get it used officially because it's not clean or professional enough for my project manager and my teacher
Recent comments (3)hilkin20083 months agoDEAD SCHOLL
UMARismyname5 months agosome changes to animations, new animation, removed contradictory 'accessible' animation, shadows, padding, link transitions