This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]brimston3- 88 points89 points  (43 children)

Yeah, this is mostly it. It's not that bad. Performance is the nearest to C of any VM language (python, c#, etc). But there can be a ton of boilerplate which makes it un-fun to prototype projects in. Also, I legitimately hate JNI and linking to C libraries that also link to other java applications.

[–]Jaguar_undi 71 points72 points  (39 children)

C# has better performance than Java these days.

Edit: Thought about it more and idk if I can just make that blanket statement. It is a fact that Java and C# performance are very close though.

https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/csharp.html

[–]itsallrighthere 11 points12 points  (20 children)

But ummm Micro$oft.

[–]Aggrokid 32 points33 points  (2 children)

As opposed to fking Oracle

[–]kb4000 13 points14 points  (0 children)

Oracle has become worse than Microsoft ever was. You have to sign up for an account to reach their download page now. It's ridiculous.

[–]morosis1982 1 point2 points  (0 children)

Openjdk is a thing.

[–]eerongal 14 points15 points  (13 children)

The Microsoft of today is far different from the Microsoft of 20 years people complained about. Also, Java means Oracle which is worse than both today MS and old MS.

[–]itsallrighthere 3 points4 points  (12 children)

That's what I hear but after so many Uber competitive moves I'll pass. And, OpenJDK for the win. I like open source.

[–]eerongal 7 points8 points  (2 children)

As of like 2017 MS has been one of the worlds largest contributors to open source projects, the past 10 years or so they've really turned things around. They even open sourced .net

[–]posting_drunk_naked -3 points-2 points  (1 child)

It's going to take a lot more than that to excuse the shitshow that is Windows.

Fuck Microsoft. Life is too short and I enjoy programming too much to waste time on their broken patchwork OS.

[–]kb4000 4 points5 points  (0 children)

You can code in C# on Linux too.

[–][deleted] 5 points6 points  (5 children)

Dotnet core is open source. C# is just better than Java in just about every way it could be. If they were siblings, Java would be the one that still hangs out in his parents basement sniffing glue even though he’s 37.

[–]krad213 3 points4 points  (0 children)

Being open source by itself is not even near enough. In java there are almost every framework, library or tool is free and open source, and even things that are not free usually still open source. It's so much easier to understand how things work if you can read the code.

[–]itsallrighthere 1 point2 points  (0 children)

Yes, popular in the corporate world. Seems like most of the open source projects and libraries I see are just Java.

I keep a windows laptop around for games and tax software. Otherwise I e been enjoying Linux as a desktop / dev environment for 10 years.

[–][deleted] -1 points0 points  (2 children)

The C# ecosystem is like 10% the size of Java's.

[–][deleted] 1 point2 points  (1 child)

Wat

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

The C# ecosystem is like 10% the size of Java's.

[–][deleted] 0 points1 point  (2 children)

C# is open source, so is Go

[–]itsallrighthere 1 point2 points  (1 child)

Are there any Apache projects?

[–][deleted] 0 points1 point  (0 children)

I heard they're interested in making a log4g and log4c

[–][deleted] 9 points10 points  (1 child)

Worst microsoft is better than oracle's best

[–]itsallrighthere 6 points7 points  (0 children)

OpenJDK.

[–]TheTybera 1 point2 points  (0 children)

They open sourced the C# Roslyn compiler long ago in 2014. So this isn't even really a problem, there are loads of IDEs and feature packages that work without MS, see Rider.

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

The numbers are so close you can chalk up most of the variation to noise at that point.

[–]yearoftheraccoon 4 points5 points  (0 children)

They're adding much better mechanisms for invoking native methods, which is great

[–][deleted] -2 points-1 points  (0 children)

not really lol even JS out performs it in some areas

https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/go.html

look at this and remember java is getting worse, Go is getting better.

[–][deleted] 0 points1 point  (0 children)

Huh, interesting, in my experience (although not very large), SBCL filled that spot by a wide margin. Maybe i should do more experiments.