[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: sharpie.jpg (62 KB, 1920x673)
62 KB
62 KB JPG
How come C# isn't more popular when it's basically Java but better? Is it because people distrust a language maintained by Microsoft, or does the JVM have non-obvious but crucial advantages over the CLR?
>>
It is popular, faggot. Stardew Valley and Terraria are examples of this.
>>
File: 1763925815643166.webm (2.7 MB, 1280x720)
2.7 MB
2.7 MB WEBM
>>107834144
Because the vocal majority on the net consists of low IQ bandwagoning contrarians unable to think for themselves.

C# can even be compiled to native binary btw.
>>
.NET framework did not support cross-platform - until .NET Core came out, Windows Server is the only thing you could deploy .NET app to.
Then IDE used to be sucked ass. Java has Eclipse, then even Sublime Text supported Java syntax highlight. Visual Studio was borderline bloatware, and even in 2025 Microshit only provides Visual Studio for Windows. And don't even ask me about all the cost for licenses and books
Aside from gov and banks, no one stepped close to .NET not until 2014 when Ballmer got his ass kicked and suddenly Microsoft got smart with Github and OSS
>>
>>107834144
>How come C# isn't more popular
What are you smoking? I see people shilling this language fervently like they're paid to. C# and Rust-trannies probably dilate together
>>
>>107834260
Eclipse is a slow ass dinosaur, fucking terrible.
VisualStudio ia pretty lit.
>>
>>107834144
Regular programmers are driven away because Microsoft has awful documentation and naming conventions on purpose. They want C# users to be big companies who pay for their consultants.
>>
>>107834144
java came earlier and had better cross-platform support for a long time (maybe still does). as a result it had more momentum and developed a larger, more mature ecosystem (maybe still has). c# is obviously more popular in gaming.
>>107834207
the low IQ bandwagoning contrarians on the net hate java, though.
>>
>>107834283
>Terrible documentation
No really, the lingo reference is on the point.
What you mean is terrible tutorials as they tend to scatter everything everywhere with zero continuity .

>band naming conventions
C# and its libs have by far best naming conventions I have ever witnessed in a lingo to date.
>>
>>107834273
C# is pushed by people who actually work for a living. theres a reason why when people from java/c++ get a C# job, they tend to stay with C# jobs. + the people in C# aren't asking you to come use C#. the rust trannys jesus christ "we have to rewrite this C++ in rust!" bro kys no one wants your fucking panic anxiety attack language

first job was in C on microprocessors, second job c++ (quit that jesus christ c++ is a mess), third job C again, 4th C# + sql, 5th java, 6th C#. it's an extremely convenient language and visual studio can not be compared to any other IDE it's insane. languages like C didn't need complex ides, you mostly wrote everything from scratch, but with js/ts/java/c#/c++/python theres so many god damn libraries these days that having an ide like vs just makes a world of difference.
>>
>>107834274
both are ass compared to jetbrains IDEs
>>
>>107834357
NetBeans > Jetbrains
>>
>>107834144
Because of Microsoft, yes. C# for a pretty long time was not multiplat and tied to Microsoft's shit. You also have to ask yourself where you expect it to be popular. On the server / backend side that mostly runs Linux it DEFINITELY got fucked over due to not being multiplat and open from the get go. Those people just use Java or other things which are open. There's .NET Core now but they missed the start by an eternity and some shop which has been using Java or something forever isn't really going to make the decision to delete everything they have and move to another language.

On the desktop, where exactly? The "desktop program" almost seems to be going extinct as a lot of devs are just shipping absolute trashware with Electron and rendering fucking web pages rather than making a normal GUI program. There are of course more performance-intensive use cases, but those tend do just go straight to C/C++. The obvious example here would be lots of video games (though some are written in C# too, probably more than Java I'd guess).
>>
Among Us is written in C#
>>
>>107834274
I am talking about early 2010s, or at least before Visual Studio Express was merged into Visual Studio Community. From 2010 to 2015, we never used latest VS version since they kept fucked up with performance. Latest version VS 2025 however is a blessing compared to 2023.
And Eclipse was passable for a free IDE. Also, if you hate IDE, you could always use vim/bash to write and compile Java code as a masochist. .NET app used to be compilable only on Visual Studio until Dotnet cli was introduced
>>
>>107834283
wut
I'm more than happy to criticize microsoft, but their documentation used to be *way* better than any other language, with most things having examples right in the docs
Now I'm sure it's all AI slop
>>
>>107834486
It's less the docs and more finding the docs and knowing which docs you're supposed to use and which ones are for an almost identically named legacy framework that you should ignore. It's navigable once you understand what the deal is, but for new learners doing it on their own it's awful.
>>
>>107834144
Because of the association with Microslop. That's it.
>>
>>107834207
You can compile Python to native code but that still won't make it any faster because it still has to use the languages slow runtime and garbage collection
>>
>>107834144
>C# can even be compiled to native binary btw.
>C# can even be compiled to native binary btw.
Use case? Use Beef then.
>>
>>107834144
Because it's not "Java but better".
It's Java with async/await spaghetti and function pointers and namespaces which don't need to respect the folder structure on disk.
Even the "reified generics" and value types shit is barely useful except for slightly nicer API when using arrays... which you don't because lists are more consistent.
>>
>>107834207
>C# can even be compiled to native binary btw.
Java can too with Graalvm.
>>107834357
Jetbrains IDEs are more bloated than Eclipse now. Idea gets fatter with every version, I noticed 2016 being bloated and each new version worse. On the other hand Eclipse started getting better after they reworked it so the render thread doesn't freeze other parts. If you want much less bloated Eclipse get Eclipse Platform and add only the components you want. I've used it for years and it feels less bloated than Idea. I've used both, but never thought it was worth paying for Idea so I never did use it if I had no license. Later I stopped using it at all, because it got bloated.
>>
>>107834144
It's just another oop slop lang. Even Microsoft have moved away from it in favour of Rust, Go and Javascript which is a damning condemnation of the language. OOP is a technical deadend that was enabled by the exponential growth in speed of hardware. Now that era is over it's inefficiencies have been laid bare for all to see and you would be utterly insane to use it for any use where code quality matter. Its only possible usecase in 2026 is calling C++ code in Unity and for another shitty todo webapp that no one needs.
>>
>>107835082
C#'s and Java's complication to native is a fucking joke. Not only are the binaries massive, the majority of the ecosystem does not support aot compilation meaning it doesn't work for anything beyond basic hello world level shit.
>>
>>107834201
>>107834273
I meant popular compared to Java. I know it's not an unpopular language in absolute terms, but there seem to be a lot more Java jobs, especially backend jobs at interesting companies. Meanwhile, C# has fewer jobs and more of these jobs seem to be at non-tech companies where programmers are a cost center. That seems strange given that C# is the more advanced language of the two. You'd figure that it would be the reverse, with more C# being used at interesting tech companies.
>>
>>107835082
I don't care about /g/'s obsession with "bloat".
it's "bloated" because it has a gorillion features.
if you don't need them, fine, but I have no performance issues on my crappy laptop, so I'd rather have them.
>>107835222
of course the binaries are relatively large because they need to incorporate the runtime.
if 50 MB or whatever the size is, is too much for you, then it doesn't fit your use case.
most people using those languages don't need compilation to native.
>>
>>107835461
The more technical companies probably don't want to be on Microsoft platforms
>>
File: 1748190450678907.jpg (47 KB, 779x888)
47 KB
47 KB JPG
>>107834144
C# is a bad language because it's a bloated mess with too many proper nouns.
>>107834260
See this post? Too many proper nouns.
Every single proper noun is a dependency, an obstacle, a liability, and a paid subscription.
>>
>>107834144
>Java but better
Kotlin, or not using Java 8 when 25 LTS is available
C# is good if you don't mind having the official UI framework getting deprecated every 3 years, though
>>
>>107835594
But C# runs on Linux these days. Do you think they aren't using it because the consequences of C# being cross-platform haven't propagated yet, or they distrust Microsoft enough that they wouldn't have chosen C# even if it had always been cross-platform?
>>
>>107835911
>But C# runs on Linux these days
with a fully-featured cross-platform UI library?
>>
>>107836370
There are a few I think, Avalonia is one, and I think Xamarin had some as well. And you can always use IMGUI or something, it’s relatively easy to call C libraries from C#
>>
>>107835911
Companies don't just change their tech stack because another tech stack happens to be as good or slightly better.
There's a tremendous cost involved with changing core technologies.
>>
>>107836370
>with a fully-featured cross-platform UI library?
What can Godot do?
>>
>>107835911
What benefit do I get rewriting all of my Apache camel/springboot in C#? And that's just before I have to deploy it anywhere, after that I need to rewrite parts of my CI/CD
>>
the only reason C# exists is so people can easily crack it open with a fucking hammer and mod out whatever dogshit the initial dev did
>>
>>107834144
It has nothing to do with "le distrust", real life has nothing to do with /g/'s schizophrenia, and all people spouting this crap ITT never had a job.
It is just that most companies you're thinking of are either older than C#, or C# was not fully fleshed out by the time they finished establishing themselves.
It costs more than you imagine to rewrite the entire company's project to another language, it is simply not convenient at all, even if it is a better language.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.