Skip to content
Open navbar menu
Sign UpLog In
Profile icon

Umar Sharief

Hacker
@UMARismyname
Blackburn
GitHub
YouTube
Website
  • Language Speed Comparison - Primes

    Cover page
    Made with Nix

    This 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)
    hilkin2008
    hilkin2008
    7 months ago

    I KNOW WHERE U LIVE, IT SAYS YOU ARE IN BLACKBURN

    hilkin2008
    hilkin2008
    7 months ago

    Did me ASK?! HAHAHAHHAHHjajaja

    UMARismyname
    UMARismyname
    1 year ago

    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!

    UMARismyname
    UMARismyname
    2 years ago

    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.

    UMARismyname
    UMARismyname
    2 years ago

    It uses an algorithm similar to rwh_primes for all implementations.

    UMARismyname
    UMARismyname
    2 years ago

    Uh for some reason it shows repl waking up... when you run it. Just use the embed link for now

    UMARismyname
    UMARismyname
    2 years ago

    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.

  • TiB1HS

    Cover page
    Made with HTML, CSS, JS

    fake 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)
    hilkin2008
    hilkin2008
    7 months ago

    DEAD SCHOLL

    UMARismyname
    UMARismyname
    8 months ago

    some changes to animations, new animation, removed contradictory 'accessible' animation, shadows, padding, link transitions

All Repls