C# VS Java Speed Comparison. Programming Language Speed Comparison

Sdílet
Vložit
  • čas přidán 26. 07. 2024
  • Which programming language is faster? Let's do programming language speed comparison and benchmarks test for Java and C# speed comparison with processing of large and complex operations.
    #csharp #java

Komentáře • 13

  • @bader5823
    @bader5823 Před 4 měsíci +20

    You shouldn't pring anything on benchmarks because printing slows down your program

    • @neonspotlight8034
      @neonspotlight8034  Před 4 měsíci +4

      Yes, agreed. In this case printing into stdout is also part of the benchmark. The same amount of printing for both languages))

    • @FilipCordas
      @FilipCordas Před 4 měsíci

      @@neonspotlight8034 But you should run on Linux as well if you are testing for console stuff.

  • @gargamel3478
    @gargamel3478 Před 3 měsíci +4

    Who ever uses the "// import the XXX class" comments!????? It's useless!

  • @alfonsoesteves5090
    @alfonsoesteves5090 Před 4 měsíci +1

    For java. Around half of the time went by printing...
    Try to reduce the prints to no more than one per second

  • @_afridi
    @_afridi Před 4 měsíci +1

    Try--> Rust vs C++ vs Java vs C#

  • @bity-bite
    @bity-bite Před 4 měsíci +4

    This video was generated by AI

    • @neonspotlight8034
      @neonspotlight8034  Před 4 měsíci +2

      Only voice over. My english pronunciation is not good enough))

    • @IncomingLegend
      @IncomingLegend Před 4 měsíci

      @@neonspotlight8034 what are you using for the AI voice?

  • @liskardev
    @liskardev Před 4 měsíci +3

    benchmarksgame is broken - java is actually faster, but these benchmarks are not equal to each other

    • @FilipCordas
      @FilipCordas Před 4 měsíci +2

      not really you can't say 'x is faster than y' it depends on many things. Java and c# pretty much the same when it comes to speed 99% of the time if you spend time to optimize properly, in fact in terms of optimization c# gives you more options with unsafe code and other features.

    • @user-wc3tz3be1j
      @user-wc3tz3be1j Před 10 dny

      Lol it's exactly the same code he's running how is it broken?