[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: roblem.jpg (39 KB, 686x386)
39 KB
39 KB JPG
>>
I believe it's supposed to be written as C++, not C#
>>
>>106926327
Google would rather pay billions to Oracle than use an open standard made by Microsoft and all the linuxers naturally hated it.
>>
>>106926345
No, C#.
>>
>>106926411
Is Go able to replace C#?
>>
>>106926974
No, 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.
>>
>>106926327
this guy is a bald baiting doomer baby
literally cannot find anything but dotnet jobs around me
is he talking about fagman or what?
>>
>locking yourself to windows
lol, lmao even
>>
>>106926411
Why do they hate it? Is it about not trusting Microsoft?
>>
>>106927207
Yeah it was about M$.
>>
>>106927186
it's not locked to windows
>>
>>106926958
C# is just C ++ (see plus plus plus plus)
++
>>
>>106927245
Fuck your grabage formatting 4trans
>>
>>106927207
C# 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.
>>
>>106927253
if it's 4trans then what does that make you as someone who posts on it
>>
>>106926327
what the fuck is this grifting jew even talking about? c# and java are still the two kings of enterprise software
>>
>>106926327
It is.
Quite a lot of ENTERPRISE QUALITY software is C#
>>
File: 1756397390116585.jpg (560 KB, 2192x3274)
560 KB
560 KB JPG
>>106927186
retard
>>
>>106926327
.net was windows only until 2016 so a lot of enterprises picked java or C++
>>
>>106926327
First 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.
>>
>>106926327
because 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
>>
>>106927531
I think like the "Java GC is better" is still someone using info from the framework days. I think they are about equal now.
>>
>>106927545
There'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
>>
>>106927575
It'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.
>>
>>106927618
I believe this was about to be changed with .NET 10

>>106926327
Framework 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
>>
>>106927837
If 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.
>>
File: 1744352011670264.png (304 KB, 792x661)
304 KB
304 KB PNG
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.
>>
>>106928615
actually 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?
>>
>>106927077
Net 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 are
my library WILL target netstandard and net6 in the current year, and you WILL like it
>>
>>106930382
Based
>>
>>106928605
C# 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.
>>
>>106931674
Yeah a lot of syntactic sugar is bad in the long run.
>>
>>106926327
Because Youtube "man" needs views so he lies.
>>
>>106931674
>records
>discriminated unions
yes, 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
>>
>>106928909
Everyone 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.
>>
>>106928909
It 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 me
it is, given the absolute fucking state of microsoft I'm not surprised things go this way
honestly 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
>>
>>106933346
They 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
>>106933274
It'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 example
Yes, that's a shit language too.
>>
>>106933789
were you filtered by FP or are you going to say something about your favorite FP language?
>>
>>106926327
https://github.com/dotnet/sdk/issues/6145
https://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.
>>
>>106929140
The 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.
>>
>>106932648
these 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.
>>
>>106934659
for 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.
>>
>>106927531
What abouts xna?!
>>
File: wzt7u4o9x2me1.jpg (110 KB, 1070x1130)
110 KB
110 KB JPG
>>106926327
They 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
>>
>>106926327
Microsoft 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.
>>
>>106926327
experian uses it
>>
File: Fuuka_Kikuchi.png (946 KB, 1280x720)
946 KB
946 KB PNG
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.
>>
>>106935707
congratulations on the upgrade
>>
>>106935707
Why change? What did you find to be different between the 2?



[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.