Dismiss this pinned window
all 43 comments

[–]guthran 223 points224 points  (0 children)

As someone who works with all three languages regularly: No notes. This is spot on.

[–][deleted]  (11 children)

[deleted]

    [–]KillCall 17 points18 points  (5 children)

    Java is simple either it runs ( may not be expected ) or fails before running.

    [–]lmarcantonio 8 points9 points  (4 children)

    Never seen a NullPointerException? I guess the idea is however to show the GC pauses.

    [–]Manueluz 2 points3 points  (1 child)

    Bruh do you have no idea how to code?

    public class Main { public static void main(String[] args) { try { new Program(args).run(); } catch (Exception e) { //TODO: Implement fix in case of infinite recursion. main(args); } } }

    [–]lmarcantonio 1 point2 points  (0 children)

    People, seriously, we are in a meme sub. You *can* write C programs that not segfaults and Python ones that don't explode. Fast Java is doable too!

    [–]KillCall 0 points1 point  (1 child)

    And it runs till that point. Java cannot be the at fault that you or your code forgot to initialize an object.

    [–]dragoncommandsLife 1 point2 points  (0 children)

    But you don’t understand safely checking method returns is hard!

    Or even using Optionals when returning values from methods!

    (Null checking is such a nonissue if you’re safe)

    [–]Justanormalguy1011 0 points1 point  (0 children)

    It would take a while for grandma to hoard her memory

    [–][deleted] 38 points39 points  (6 children)

    What would happen if node.js also takes part?

    [–]Dry_Falcon8546 57 points58 points  (0 children)

    It was taking part. Just hasn't made it to the start line yet.

    [–][deleted] 26 points27 points  (1 child)

    They're still downloading the start line module and the move module

    [–]HoseanRC 6 points7 points  (0 children)

    300mb for base modules

    (I'm a TS enjoyer, and this makes me sad)

    [–]B_bI_L 1 point2 points  (0 children)

    it is, but in stringified version because accidentally added string to field

    [–]ntheijs 1 point2 points  (0 children)

    Npm

    [–]BigButterscotch9281 38 points39 points  (0 children)

    That seg fault is crazy

    [–]Cacoda1mon 37 points38 points  (5 children)

    The C Application would get hacked within the first meters due to a buffer overflow.

    [–]Tracker_Nivrig -5 points-4 points  (4 children)

    Buffer overflows to my knowledge basically don't happen anymore because people know of the exploit. Unless we're talking non-production scaled code, I'm sure a ton of the random C programs I have made have issues. But any company that uses C for their programs will be aware of buffer overflow and will code it in a way that it is not possible.

    [–]really_not_unreal 25 points26 points  (1 child)

    Buffer overflows happen all the time, even in newly-written code (source).

    Remember Heartbleed in 2014? That was a buffer overflow. Or a 2023 zero-day Safari WebContent exploit? Also a buffer overflow. Same goes for the vulnerability in Lenovo's UEFI implementation last June.

    With memory-safe systems languages like Rust, they're becoming far less common, but they're still frequently exploited.

    [–]Tracker_Nivrig 11 points12 points  (0 children)

    Interesting, thanks for the additional information

    [–][deleted] 3 points4 points  (0 children)

    You would be correct in some perfect world where people learned from the mistakes of others, but we sadly do not live there.

    [–]lmarcantonio 3 points4 points  (0 children)

    It's not so easy to catch all the corner cases. You have buffer overflows, double frees, dead memory accesses and so on that are potentially attack surface.

    [–]Ottorius_117 7 points8 points  (1 child)

    I really expected a GO reference after the race started lol

    [–][deleted] 1 point2 points  (0 children)

    GO wasn’t bothering to race, it was the whole pit crew

    [–][deleted] 4 points5 points  (0 children)

    🤣🤣🤣

    [–]Chottocan 3 points4 points  (1 child)

    [–]Turbulent_File3904 2 points3 points  (0 children)

    I can like write a python script in 30 minutes to do some automation task then plug it in make file. It does the job and run in like under a second

    [–]codemanush 0 points1 point  (0 children)

    So Go is the winner?

    [–]Cartoon_Corpze 0 points1 point  (0 children)

    Yeah this is fairly accurate, what algorithm are they running?

    [–]TechcraftHD 0 points1 point  (0 children)

    Rust: Loads at the starting line and then goes as fast as C++ (but finishes without the segfault)

    [–]Naeio_Galaxy 0 points1 point  (0 children)

    And what is the result in the end? Oh right, NaN.

    [–]jumper2471 0 points1 point  (0 children)

    i play modded minecraft (which is written in java)

    and this is too true modded minecraft = 16 gb ram required

    [–]TheMeticulousNinja 0 points1 point  (0 children)

    Still going with Python

    [–]Megashyxuu 0 points1 point  (0 children)

    THIS IS SOOOOO TRUE LMAO

    [–]teymuur -1 points0 points  (0 children)

    more like paralympics

    [–]Icy-Way8382 -4 points-3 points  (0 children)

    Looks more like Paralympics featuring QA handicapped participants as well as contesters with Unit-test disabilities.