I believe it's supposed to be written as C++, not C#
>>106926327Google would rather pay billions to Oracle than use an open standard made by Microsoft and all the linuxers naturally hated it.
>>106926345No, C#.
>>106926411Is Go able to replace C#?
>>106926974No, go targets native compilation first and c# target a virtual machine, both have benefits and drawbacks.
I work in a multinational and we use dotnet for most things.
>>106926327this guy is a bald baiting doomer babyliterally cannot find anything but dotnet jobs around meis he talking about fagman or what?
>locking yourself to windowslol, lmao even
>>106926411Why do they hate it? Is it about not trusting Microsoft?
>>106927207Yeah it was about M$.
>>106927186it's not locked to windows
>>106926958C# is just C ++ (see plus plus plus plus) ++
>>106927245Fuck your grabage formatting 4trans
>>106927207C# just has a reputation of vendor locking which they don't really enforce anymore but the thing is you don't know if Microsoft will rug pull you either.
>>106927253if it's 4trans then what does that make you as someone who posts on it
>>106926327what the fuck is this grifting jew even talking about? c# and java are still the two kings of enterprise software
>>106926327It is.Quite a lot of ENTERPRISE QUALITY software is C#
>>106927186retard
>>106926327.net was windows only until 2016 so a lot of enterprises picked java or C++
>>106926327First of all it's not really true, but the competition of C# is Java. The big reason is C# Windows locked for years so companies picked Java. There are also technical reasons. Java is more stable and backwards compatible, it has a better GC, it has more uniform libraries, and it's better documented. C# has more features and some libraries are more convenient but that's not enough for a switch. The only space that C# managed to get a big known presence is gaming and that's because of Unity. Gaming can be done in any programming language, there's not really a good technological reason for C# to be superior, but Microsoft heavily invested in Unity integration and that's why developers associate C# with game development.
>>106926327because retarded ballmer tried to use it to lock people into windows with .net framework, and the switch to cross platform core came about 10 years too late. I would say dotnet 8/9/10 is excellent, but why would companies switch from java when there is no monetary benefit? (developer happiness does not apply here)
>>106927531"backwards compatibility" is really a code phrase for companies not wanting to spend resources to update to anything newer than java 8
It's used by lots of companies in IIS/ASP.NET stacks. When they aren't using java that is kek
>>106927531I think like the "Java GC is better" is still someone using info from the framework days. I think they are about equal now.
>>106927545There's that but in my experience the trend has been to upgrade to 17 or 21. There's also the Jakarta package rename when you upgrade your framework, be it Spring, Quarkus, Java EE or something else.
Because all the enterprise C# and Java devs work 9 to 5 and then go home to their family. instead of shitposting about their languages
>>106927575It's still true. The best GC in Java is ZGC which is a mark and sweep implementation for low latency. Pauses are under 1ms. C# doesn't have a GC that guarantees low latency nor it is as configurable. That's not good for desktop or real time applications, which is kind of odd since that's very important for gaming.
>>106927618I believe this was about to be changed with .NET 10>>106926327Framework day deva are also making it hard to achieve optimal .net code these days, I've tried getting some co workers to learn the new world. Its a dusty place. Wondering if Go has it better in that regard
>>106927837If it does that's good for gaming. Java team invested a lot of time to have a good GC and Microsoft needs to catch up.
C# is peak comfy, you guys just don't like it because it isn't perceived as cool
there is a new major version and type of framework every 6 months or so. what a pain.
>>106928615actually they are on a yearly schedule with the even numbered versions being lts that have 3 years of support and odd numbered standard releases that have 2 years support
What language should I learn if I want to make my own tools?
>>106927077Net targets a virtual machine now.C# worked fine with Net Native before the jeet in charge saw something else to kill, so he could put all his eggs in the cloud basket.
>support only lasts 3 years>DUUUUUDE just UPDOOOOOOOOOT your framework every year what don't you have tests anyway it's ez literally just change the version numbe--ACK!! *nuget packages haven't been updooted you'd better wait until they are* oh wait you only have a few months of support left :^)Here's you are corporate framework, bruh.
>>106929169>nuget packages haven't been updooted you'd better wait until they aremy library WILL target netstandard and net6 in the current year, and you WILL like it
>>106930382Based
>>106928605C# has a problem of shoving glorified source generators into the language spec. records, for example (everytime i try to use records, i regret it later and just rewrite everything as classes). or a "new way" to do extension methods, or discriminated unions which are also implemented as source gen, basically.
>>106931674Yeah a lot of syntactic sugar is bad in the long run.
>>106926327Because Youtube "man" needs views so he lies.
>>106931674>records>discriminated unionsyes, the C# compiler has to bend around CIL somehow, what do you propose they do instead? I don't get this complaint, the F# compiler also does a lot of fuckery under the hoods for example
>>106928909Everyone I get back into projects that are multiple years old, several new revisions have between released. If I have to reinstall, I have to stuff around and find the target framework. To be fair, is not as bad as Python.
>>106928909It is absolutely too fucking fast. It feels like it's fucking node js where they keep pumping out le ebin shiny new thing all the time. 3 years is nothing. Calling it LTS is like calling a 10cm cock long
>>106932648>what do you propose they do instead?extend the runtime in tandem with new language features. sounds like an organizational problem to me if noodling around in the compiler, hacking around lack of runtime support is preferable to talking to people
>>106933346>sounds like an organizational problem to meit is, given the absolute fucking state of microsoft I'm not surprised things go this wayhonestly my only concern is the actual language bloat since it's the first thing I have to learn, I don't really give a fuck about the spec bloat or whatever the compiler does to achieve what I want
>>106933346They used to do that, and that's why adding features used to be a lot slower. They used to have to work with the F#, VB.NET, and CIL teams and coordinate to come to an agreement which took forever since those are skeleton crews compared to the C# team. Now they can just make it work in their compiler and move on to the next variation of how to init a field.
>>106933140>>106933274It's not that bad since there haven't been any major breaking changes since they dropped Core from the name. It also forces companies to plan to update regularly to the latest version instead ending up like .NET Framework 4.8 which people demand to be supported forever.
>>106932648>the F# compiler also does a lot of fuckery under the hoods for exampleYes, that's a shit language too.
>>106933789were you filtered by FP or are you going to say something about your favorite FP language?
>>106926327https://github.com/dotnet/sdk/issues/6145https://www.reddit.com/r/cpp/comments/4ibauu/visual_studio_adding_telemetry_function_calls_to/
i just started learning c#. its a bit autistic at times, but overall very pretty comfy. LINQ sounds fun, cant wait till i get to it in my course.
>>106929140The target is an intermediate language creatively named “IL” it’s like machine code for an imaginary machine, you could interpret it (a VM) or turn it into code for your processor (ngen.exe) which is what mostly and automatically happens in the real world.It’s not like C code though, it has a massive runtime and is pretty slow because of that.
>>106932648these are too large and ambiguous features to be implemented with a single keyword. as a result they're too opinionated and limited. they're like one-trick pony features.
>>106934659for example records are usesless outside of simple DTO use case.they plan to implement unions with inheritance, which is, again, not what i want. for my use cases i want c-like or rust-like struct unions.
>>106927531What abouts xna?!
>>106926327They hate it because it's standardized by both ISO and ECMA and big companies want barely working cobbled together non-standard shit like rust.https://radfiz.org.ua/share/molekularna_fizika/meh/Literature/C%23_ISO-23270.pdf
>>106926327Microsoft employee here.It is used, actually, tons of places.They've gotten way better at reducing vendor-locking, but they still offer better support for their cloud offerings in their libraries. It wouldn't make sense for them to lock other PaaS or SaaS from using .NET.The largest argument for not fully committing to .NET is redundancy: They don't want to go all-in on ONE company for their cloud infra and tech stack. Broader Java adoption makes a stronger case for perennity than in .NET's case. They're looking to fix that by moving into open-source.
>>106926327experian uses it
They hate us cuz they ain't us
>>106926327>C# Isn't Used By Any Big Companies?asp.net is used all over the place
We are in process migrating Larajeet code to .net core 8.
>>106935707congratulations on the upgrade
>>106935707Why change? What did you find to be different between the 2?