r/csharp • • Sep 22 '21

Java vs C#

https://techbiason.com/java-vs-c-sharp/

[removed] — view removed post

0 Upvotes

5 comments sorted by

•

u/FizixMan Sep 22 '21

Removed: Spam.

5

u/tester346 Sep 22 '21 edited Sep 22 '21

C# is a successor of C++ languages that Microsoft creates

Is it?

It has the best memory management and garbage collection support.

Java seems to be better than C#/.NETs when it comes to GC/Memory Management e.g due to many, various, purpose specific implementations.

There's work to improve this called Local GC initiative

https://github.com/dotnet/runtime/issues/8061

https://tooslowexception.com/zero-garbage-collector-for-net-core/

https://tooslowexception.com/zero-garbage-collector-for-net-core-2-1-and-asp-net-core-2-1/

C# has a limited support of IDE i.e. Visual Studio, MonoDevelop

Outdated.

C# is one of the leading programming languages to develop games and mobile applications.

Is it actually? here in Eastern EU C# is mostly used for web apps, tooling (e.g integrating systems) and desktop apps

I never felt like it was popular for games here, but who knows?

C# libraries that are being shipped with .NET framework with IDE like Visual Studio.

that VS part sounds weird/outdated.


Overall whole comparison seems to be messy with many random things less or more relevant and definitely does not represent current state.

2

u/[deleted] Sep 22 '21

"weird/outdated"

I just came here for this, but when i saw:

" The latest version of C# is 7.2 that was released in the year 2017."

Seems like this is an odd article to post if it is 4-ish years old.

2

u/Splintting Sep 22 '21

"The latest version of java is version 12". Version 17, the new LTS released a few weeks ago.

1

u/[deleted] Sep 22 '21

I don't keep up on Java, so I missed that bit. So another indicator that this is older. From the wiki page, Java 12 came out in mid-2019.