[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / 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


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: 1762560831783240.png (479 KB, 1920x1080)
479 KB PNG
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?
>>
>>109362272
It is much worse, because it isn't cross platform.
>>
>>109362238
Its because this board is full of unemployable bums
>>
Because Rust heems it.
>>
>>109362238
winslop
>>
>>109362284
>it isn't cross platform
>t. last looked at c# in 2015
my project compiles 3 times faster on linux than windows, tested via dual boot
>>
>>109362238
C# is the comfiest language to work with.
>>
>>109362284
Anon lives in 2010.

.NET is completely cross platform.
>>
>>109362357
>>109363421
Yes, 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 project
useless shitlang
>>
>>109364079
Win32 is cross platform thanks to WINE
>>
>>109365484
Perfectly enterprise.
>>
File: ps.jpg (301 KB, 1920x1920)
301 KB JPG
>>109362238
>C# itjustwerks so much that nobody even talks about it
Because >>>/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
>>
File: 1775814855704509.png (710 KB, 1920x1080)
710 KB PNG
>>
>>109362267
freemen 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?
>>
>>109362238
No reason to use it when D exists, which is superior in every way
>>
>>109362238
I applied for a government job and they write most of their backend in C# because they don't pay enough for competent nerds
>>
>>109364340
>>109366004
Why is your hello world so verbose compared to C# one-liner?
>>
>>109362238
C# is cool but it still isn't F#
>>
>>109366021
what even are you mumbling about??
>>
>>109362284
>>109362267
Wht 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#.
>>
>>109365991
last 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 whatever
at 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
>>
>>109366816
there'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#
>>
>>109366021
Java is the only language that allows you to target all 3 desktop platforms simultaneously including loonix.
there's no better language for freetards.
>>
>>109366492
why? Jetbrains IDEs are written in Java. DBeaver, Ghidra.
>>
>>109366916
they all look like shit
and ghidra is absolutely gigamogged by IDA, which you can just pirate for free
>>
File: flat_light.png (50 KB, 1638x869)
50 KB PNG
>>109366960
if 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 free
I 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, though
because Ghidra is worse, retard
I 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.
>>
>>109367036
whatever. my point is if your UI looks like shit, that's up to you, not Java.
>>
>>109366492
Java is perfectly capable to do cross platform GUIs as proven by multiple good IDEs written in it.
>>
>>109367080
If 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 javascsript
gtfo with that shit
>>
>>109367210
C# doesn't give you a cross platform GUI at all.
>>
>>109367223
Win32 is cross platform GUI. Get over it.
>>
>>109367210
>>109367223
C# Is not a UI framework or toolkit, yes you can use cross-platform ones like: https://avaloniaui.net/, GTK & QT-Quick.
>>
>>109362284
Every thread. Every fucking thread.
>>
>>109367231
it 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 edge
disingenuous cope
Yes 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 it
There's literally 1 (one) single good IDE written in it.
>>
>>109367682
can you query a json document or db using map filter reduce in java?
>>
>>109367881
>can you do thing in java
I 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.
>>
>>109362238
the 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.
>>
>>109367925
oh and actual great reflection support (both compiletime & runtime) is amazing, coming from c/c++ land.
>>
>>109366906
if 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 IDEs

IDEs are for serfs, what else?
>>
>>109367617
>you can compile C#

oh great, i thought it is a runtime.. ahaha, compile? what a joke
>>
>>109368066
dumb fucking animal haha
>>
>>109368028
I already mentioned Jetbrains IDEs that "everybody use", though, hehehe
>>
>>109368112

read 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?
>>
>>109368164
java is not an IDE. learn to speak english, you subhuman.
>>
>>109362238
noone talks about it because it just werks and it's not some fancy meme heckernooz topic
>>
>>109362238
Man I fucking love C#
>>
>>109367721
Then let say popular.
>>
>>109362238
microslop slop
>>
>>109368112
I 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
>>
>>109371101
Still only 1 in 2k26
>>
>>109371145
Rider and Visual Studio only.
Rider mogs Visual Studio.
>>
>>109371167
Visual 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.net

Good choice anon
>>
>>109362284
retard
>>
File: 1781389551300204.jpg (47 KB, 720x840)
47 KB JPG
>>109371484
It's so fucking boring. CRUD app after CRUD app. And I have no degree so I'm having trouble job hopping.
>>
File: snake-oil-solutions.jpg (412 KB, 1408x768)
412 KB JPG
>>
>>109362238
>>109363388
>>109363421
>>109371080
>>109371127
damnit, don't just knowledge drop like this. keep the C# at whisper level downthread when you see a good anon that deserves to know
>>
>>109362238
no 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 woods
your post inspired me to make a thread >>109373303
why 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.
>>
>>109362238
It'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#
>>
>>109362272
No, 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.
>>
>>109376627
haha, 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?
>>
>>109377309
Do c#. It has more object oriented concepts and statically typed, also compiled.
>>
>>109376731
why 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.
>>
>>109362238
I don't want retards butting in on my field of expertise, let me keep getting paid well for poorly writing enterprise software
>>
>>109377407
C# 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.
>>
>>109366876
last i checked ef isnt even compatible with aot yet
>>
>>109377819
Dapper works
>>
is it true dotnet-sdk has telemetry on linux?
>>
>>109378564
yes, 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=1
export MSBUILD_TELEMETRY_OPTOUT=1



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