C# VS Java Speed Comparison. Programming Language Speed Comparison
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
You shouldn't pring anything on benchmarks because printing slows down your program
Yes, agreed. In this case printing into stdout is also part of the benchmark. The same amount of printing for both languages))
@@neonspotlight8034 But you should run on Linux as well if you are testing for console stuff.
Who ever uses the "// import the XXX class" comments!????? It's useless!
Chatgpt
For java. Around half of the time went by printing...
Try to reduce the prints to no more than one per second
Try--> Rust vs C++ vs Java vs C#
This video was generated by AI
Only voice over. My english pronunciation is not good enough))
@@neonspotlight8034 what are you using for the AI voice?
benchmarksgame is broken - java is actually faster, but these benchmarks are not equal to each other
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.
Lol it's exactly the same code he's running how is it broken?