C# itjustwerks so much that nobody even talks about it
Java is better. Nobody talks about either.
Isn't C# just Java but by Microsoft?
>>109362272It is much worse, because it isn't cross platform.
>>109362238Its because this board is full of unemployable bums
Because Rust heems it.
>>109362238winslop
>>109362284>it isn't cross platform>t. last looked at c# in 2015my project compiles 3 times faster on linux than windows, tested via dual boot
>>109362238C# is the comfiest language to work with.
>>109362284Anon lives in 2010..NET is completely cross platform.
>>109362357>>109363421Yes, it is comfy, yes it is cross platform except GUI.Avalonia will probably become the new unity so ... no...
Beef is like the cozier version of C#.https://www.beeflang.org/
>some niggertranny wanted to use the 38th different way to initialize a struct that uses one less character than the previous method and was just introduced a week ago forcing you to have to upgrade visual studio if you want to compile this projectuseless shitlang
>>109364079Win32 is cross platform thanks to WINE
>>109365484Perfectly enterprise.
>>109362238>C# itjustwerks so much that nobody even talks about itBecause >>>/g/rifters only care about projecting, nothing more. Look at all of the retards promoting C/C++ for everything on this board and they will never tell you, you can compile C# to native making the speed argument meaningless unless you want to target an iot device where C++ has a small edge. So for the vast majority of programs/Apps C# AOT is good enough.If you want to do low level system programming then C/Rust is the most logical solution but, I bet my balls the average >>>/g/rifter doesn't do that at all instead try to do this communal circlejerk ascetic programming were they shit on electron/react and make you believe C is the only option because to them projecting > writing code, look no further than vibe coding where a few realized they can get to their end goal extremely fast and make it performant, the absolute meltdown it created here at the time just proofs this theory.
i dont want to install Visual Studio to check it "just werks" or not
>>109362267freemen dont talk about corpo-langs? what a discovery! hehehe. but wat about serfs? why cannot they present some intedesting detail of their stuff beside the boldest shilling?
>>109362238No reason to use it when D exists, which is superior in every way
>>109362238I applied for a government job and they write most of their backend in C# because they don't pay enough for competent nerds
>>109364340>>109366004Why is your hello world so verbose compared to C# one-liner?
>>109362238C# is cool but it still isn't F#
>>109366021what even are you mumbling about??
>>109362284>>109362267Wht are you even talking about? Literally every language is cross platform. But you try writing a decent UI and then none are. Especially not Java or C#.
>>109365991last time I checked C# AoT still meant you're giving up a lot of 3rd party libraries which are incompatible with AoT because they use reflection or whateverat this point just use Golang, at least that was made with aot compilation on mind from the very beginning so it's going to just work
>>109366816there's a big push to rewrite shit with source generators since couple of years so you can find some lib that works for most of use cases now.Golang has good tooling and maybe libs but the language itself is shit, huge downgrade compared to c#
>>109366021Java is the only language that allows you to target all 3 desktop platforms simultaneously including loonix.there's no better language for freetards.
>>109366492why? Jetbrains IDEs are written in Java. DBeaver, Ghidra.
>>109366916they all look like shitand ghidra is absolutely gigamogged by IDA, which you can just pirate for free
>>109366960if you're talking about looks, then you're retarded.nobody stops you from implementing any look you want. it's just a lot of work which is why most don't do that.also I disagree, Jetbrains looks nice and their look and feel is open source.>and ghidra is absolutely gigamogged by IDA, which you can just pirate for freeI don't use either. I just know about Ghidra.don't see why I would pirate shit if Ghidra is open source, though.
>>109367025>don't see why I would pirate shit if Ghidra is open source, thoughbecause Ghidra is worse, retardI tried using that NSA jeet shit and it just decompiled a bunch of spaghetti code with a billion pointers in it. Might as well just use the straight disassembler.IDA's decompiler is miles ahead.
>>109367036whatever. my point is if your UI looks like shit, that's up to you, not Java.
>>109366492Java is perfectly capable to do cross platform GUIs as proven by multiple good IDEs written in it.
>>109367080If C# gives you native-looking UI that doesn't look like shit without having to try too hard, then it's better. Simple as.Really tired of retared fucking freetard Java apps that use the worst fucking UI frameworks known to man.>non resizable file picker>NO THUMBNAILS IN FILE PICKER>laggy UI that looks and feels like it's being software-rendered on an PIC microcontroller emulator written in javascsriptgtfo with that shit
>>109367210C# doesn't give you a cross platform GUI at all.
>>109367223Win32 is cross platform GUI. Get over it.
>>109367210>>109367223C# Is not a UI framework or toolkit, yes you can use cross-platform ones like: https://avaloniaui.net/, GTK & QT-Quick.
>>109362284Every thread. Every fucking thread.
>>109367231it would be extremely silly to have a Win32 GUI exe call back to native command line program but I guess it could work.
any good books on C# with exercises? Microsoft docs are dogshit and written by AI
Absolute garbage
>you can compile C# to native making the speed argument meaningless unless you want to target an iot device where C++ has a small edgedisingenuous copeYes there's AOT, but unless you're forgoing the std-lib and GC and use something like bflat, then you're not getting C/C++ performance.
Csharp devs harp on about LINQ as if its some major innovation because they're a in bubble and have never heard of map, reduce before...But one aspect of C# that's genuinely great and I never see discussed is its meta-programming with roslyn analyzers and source generators.While not as powerful as zig or jai have, not many languages have that level of meta-programming at all without resorting to things like runtime reflection or equivalent things.
>>109367166>multiple good IDEs written in itThere's literally 1 (one) single good IDE written in it.
>>109367682can you query a json document or db using map filter reduce in java?
>>109367881>can you do thing in javaI don't know man, I stay away from cults.That said, ORMs are retarded and 90% of method chaining API's are tarded as well.
>>109362238the few times i've used it its actually been pretty pleasant. The combination of being a high level & managed language (so you dont have to worry so much about the efficiency in the first place, because its not going to be fast anyway) combined with how much effort they've put in to letting you express things very neatly like function bodies that can be reduced to a simple "=>" and then match statement, is pretty sweet.
>>109367925oh and actual great reflection support (both compiletime & runtime) is amazing, coming from c/c++ land.
>>109366906if Java was successful at targeting platforms, there would be software in Java everybody use, but nope. there must be something wrong with Java, hehehe
>>109367166>multiple good IDEsIDEs are for serfs, what else?
>>109367617>you can compile C#oh great, i thought it is a runtime.. ahaha, compile? what a joke
>>109368066dumb fucking animal haha
>>109368028I already mentioned Jetbrains IDEs that "everybody use", though, hehehe
>>109368112read here >>109368042 or here >>109366002 (is the first message!)IDE produces IDE, okay okay, what else can your IDE produce? producing IDEs when there is a little need for IDE? producing more developer tools when theres no developer left? are you guys retarded?
>>109368164java is not an IDE. learn to speak english, you subhuman.
>>109362238noone talks about it because it just werks and it's not some fancy meme heckernooz topic
>>109362238Man I fucking love C#
>>109367721Then let say popular.
>>109362238microslop slop
>>109368112I personally always liked Netbeans. But Eclipse was the basis for many custom tools.
>>109371109.NET is one of the few good things microsoft got right
>>109371101Still only 1 in 2k26
>>109371145Rider and Visual Studio only.Rider mogs Visual Studio.
>>109371167Visual Studio isn't written in Java. Rider is, but it's just a different flavor of IntelliJ.
I build web apps in C# everyday for my job. I'm quitting in 8 months to live in the woods
>>109371479>webapps>c#>asp.netGood choice anon
>>109362284retard
>>109371484It's so fucking boring. CRUD app after CRUD app. And I have no degree so I'm having trouble job hopping.
>>109362238>>109363388>>109363421>>109371080>>109371127damnit, don't just knowledge drop like this. keep the C# at whisper level downthread when you see a good anon that deserves to know
>>109362238no it is terrible. super slow. managing build dependencies is a nightmare. you really can't use it for anything except windows programming. visual studio just keeps getting worse. Java is so much better. Golang. Python. All better choices.Rust is part of the Linux kernel now. Definitely Rust is the future. PowerShell is terrible too. Bash is way much better. Manipulating strings is l33t haxor stuff. Linux scripts. Oh shit, you can use python scripts too. PowerShell uses some foul object model which is like bastardized C# objects. Yucky.Only boomers use C#. Fucking boomer language. Unc. Not bussin'C# is also racist. People who program C# are a bunch of C# supremacists.
>>109371479>quitting in 8 months to live in the woodsyour post inspired me to make a thread >>109373303why do many of us tech worker anons want to live in the woods? I've never heard anyone talk about seriously doing that IRL but when I read it on chins I know it is real talk.
>>109362238It's pretty nice, i'd say my favorite language to code medium level things. Python is nice for scripts and POC, once it gets big enough i move things to C#
>>109362272No, that was J#https://en.wikipedia.org/wiki/Visual_J_Sharp
>>109367881>can you obscure what is happening by writing 5 lines of code that get transformed by the compiler into 5 lines of api calls?luckily, no
>>109367682>Csharp devs harp on about LINQ as if its some major innovation because they're a in bubble and have never heard of map, reduce before.reduce is washed down the toilet long time ago, gramps. you dont updooot with the times (though i knew it was shit as soon as FP hype started)LINQ btw was a FoxPro's feature, a very pragmatic data-oriented language, so those SQL code inserts are quite normal in there but FoxPro is not a general purpose, so sucking too much from it makes any descendant the similar way. while its clear that Fox was DATA specific, i cannot even say what is C# specialization, and i didnt see a message here that would define its category (how about poor overall design language?). one thing for sure - it is not for general purpose.
>>109376627haha, noce cope :D>noooo, let me write my strings, I do not want to have my queries statically checked
Is C# a good first language or should I do Python first?
>>109377309Do c#. It has more object oriented concepts and statically typed, also compiled.
>>109376731why do you want to bring this outdated approach into the future:> The requirement to produce an intermediate binary format before execution is an old pattern with clear historical roots:> FoxPro & Clipper: Compiled source code into tokenized p-code binaries (.fxp). The runtime read these p-code files to execute database operations.> Visual Basic 1–6: Compiled down to P-Code executables (before VB6 introduced optional native code emission), which required the MSVBVM60.DLL runtime engine to interpret.> Pascal (P-System): Compiled source code into UCSD P-code in the 1970s to run across disparate microcomputer architectures via a runtime interpreter.> These early systems used intermediate compilation steps primarily to solve memory constraints, hide raw source code from end users, and speed up runtime execution relative to line-by-line source interpretation.
>>109362238I don't want retards butting in on my field of expertise, let me keep getting paid well for poorly writing enterprise software
>>109377407C# and alikes will descend as those FoxPro/Basic/Pascal - nobody compiles glue code, that is retarded. glue code just runs these days, just runs!
C# is pretty good if you just program web apps that talk to databases all day. Unfortunately those jobs are turbo gay and require like 5 rounds of interviews to get now.
>>109366876last i checked ef isnt even compatible with aot yet
>>109377819Dapper works
is it true dotnet-sdk has telemetry on linux?
>>109378564yes, if you download it from ms site.no, if you compile it from source or install from your package manager.also you can set environment variables:export DOTNET_CLI_TELEMETRY_OPTOUT=1export MSBUILD_TELEMETRY_OPTOUT=1