[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

C# vs C++ which is better?

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 36
Thread images: 5

File: 1452127171215.png (8KB, 398x293px) Image search: [Google]
1452127171215.png
8KB, 398x293px
C# vs C++

which is better?
>>
C++ with extern c.
>>
C with classes
>>
MASM
>>
Rust
>>
>>57194443
correct answer
>>
>>57194483
Samefag
>>
>>57194247
C# is fine when all below combined is fine:
>it runs on windows stuff only
>you don't mind installing 9+GB stuff on your windows just to compile in VS
>you develop on Windows
>you don't mind 10% to 25% slower execution time and possible wasting memory
>your customer has to install .Net to run it
>your product isn't critical / real time / needs any certificate which claims it runs every time all time right

So yeah, C# wins in like 99% of any Windows software you will ever need
>>
>>57195521
so what you're saying is C# is garbage
>>
>>57194247
Go (golang)
here, learn it: https://tour.golang.org
>>
try C$
>>
File: reply-chan.png (470KB, 700x775px) Image search: [Google]
reply-chan.png
470KB, 700x775px
>>57195521
>C# is windows only

what did he mean by this?

>what is mono
>what is coreclr
>>
>>57196597
its a meme u dip
>>
>>57195521
>execution time

managed btfo native ages ago
https://blogs.msdn.microsoft.com/jonathanh/2005/05/20/optimizing-managed-c-vs-native-c-code/

>has to install .net
clr can compile to native, and with .net and runtime statically linked

>your product isn't critical / real time / needs any certificate which claims it runs every time all time right

managed is easier to write stable code for, and performance with monosimd and ryu is excellent

but thanks for the FUD, stallman
>>
desu if they offered a good Lisp and supported it, I'd jump ship right away. As it is, Racket is my main language. F# seems pretty well supported, but I've never been a big fan of ML-like languages and it's not as well supported as C#, which would be the only thing to really make it stand out among that crowd.
>>
>>57194309
>c++ with extern c.
u wot m8
>>
>>57196851
It's essentially C.
>>
>>57194247
>which one is better?
which one is worse?
>>
>>57196597
mono is shit
it was designed to be shit
that way retards like you could claim c# runs everywhere while microshit makes sure it only runs well on their software preventing developers from supporting anything other than windows
>>
>>57194247
See sharp, because of unrivaled documentation, ide and support
>>
>>57196644
What IDE would you recommend? Also what Linux IDE
>>
>>57194247
>C#

This is b8.
>>
>>57197671
But anon, hasnt mono seen a great deal of progress?
>>
>>57194247
>C#
you mean C++++
>>
Guess I'm learning c# now huh
>>
F# is superior to both, functional is the future.OOP only languages are for filthy enterprise street shitters.
>>
>>57194361
Why not use a subset of C++ at this point?
>>
>>57196644
>statically link .net runtime
Jesus, how large binaries are these?
>>
File: 85667843.jpg (14KB, 232x217px) Image search: [Google]
85667843.jpg
14KB, 232x217px
>proprietary Java that only works well on winblows and requiters an 10gb IDE
>>
c# is awesome, as a beginner it took me one hour to put together a 4chan image downloader with a nice gui and without using the 4chan api. it would probably have taken me months in C.
>>
>>57201283
python is much better for writing webcrawlers
>>
File: 1477203247102.jpg (258KB, 2048x1536px) Image search: [Google]
1477203247102.jpg
258KB, 2048x1536px
>>57194247
Lisp
>>
>>57201283
Most HTTP interfaces are broken as hell. Yet, it might have taken at least a week in C.

One year to actually learn enough to do it properly. I gotta know. I went that path.
>>
>>57194247
how can you even compare the two? c# is just so great. literally very good. the best, even.

donald.jpg
>>
>>57201380
C# is a clusterfuck. But I wish the Win32 API would have been structured like .NET.
>>
>>57194361
Classes are the main reason to pick C over C++
Thread posts: 36
Thread images: 5


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
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.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.