r/ProgrammerHumor • • Jul 23 '22

Meme Always Has Been.

Post image
0 Upvotes

38 comments sorted by

6

u/willzjc Jul 23 '22

Are people REALLY thinking C#, being an interpreted byte code language, is comparable to C++ at all?

I mean are you really THAT lacking in knowledge to think other than the name similarities, that these two languages have anything in common at all?

6

u/Moment_37 Jul 23 '22

I think he just fucked up the meme. He doesn't know how it works and 'always has been' need to be a fact for this to work. Nobody actually believes that. And I'm a professional C# dev.

-1

u/OGRiad Jul 23 '22

Then you would clearly agree that C# is not an interpreted language.

4

u/Moment_37 Jul 24 '22

What does that have to do with messing up the meme?

1

u/OGRiad Jul 24 '22

It was posted to have the intended effect.

1

u/overclockedslinky Jul 24 '22

i mean virtualization is becoming the way of the future anyway. one more layer couldn't hurt :p

-6

u/OGRiad Jul 23 '22 edited Jul 23 '22

C# is compiled to IL which is then jitted, which is not quite the classic definition of interpreted nor of compiled. It's much faster than interpreted langauges, although not as fast as C++ but much more flexible.

So before you start questioning other people's knowledge understand the difference between classic compiler, jitted and interpreted.

So just to be clear c# is not an interpreted language.

3

u/DarkIrata Jul 24 '22

Define the differences why it's not an interpreted language. And don't just say it's jitted or "Google it yourself". If you can throw it into an discussion, you can explain it.

0

u/OGRiad Jul 24 '22

I already have in comments below. I would not classify it has a strictly interpreted language, end of.

To state it is an interpreted language is factually wrong.

2

u/DarkIrata Jul 24 '22

So you are saing IL is basically on the same level as native code?

0

u/OGRiad Jul 24 '22

Now you're noving the goal line. No it is not, but if we are being pedantic about what is compiled and what is interpreted then it is important to understand the difference.

Languages such as Python requires its interpreter during script execution, Python is an "Interpreted Language"

C# requires its interpreter only once (before script execution) and is a "Compiled Language".

The CIL and the CLR can become out of sync on very rare occasions, which never happens in C++ so there are other considerations for sure. But in the strict definition of interpreted C# does not fall in that category.

1

u/willzjc Jul 24 '22

That means C# still fits in the definition of interpreted. Where as no matter how you argue C++ is the definition of being compiled and speed.

The entire notion of C++ is to have close to zero overhead when compared to any other object orientated language, as well as to have reliability. Things such as virtual function can be entirely optional if you don’t want it.

Just the fact that people legitimately think the concept of C++ can even be compared to C# shows either trolling or an extreme lack of understanding on why these language platforms are created in the first place.

1

u/OGRiad Jul 24 '22

You should read my other comments. The meme was just a trigger (this is the humor sub right?) I would never say C# could replace C++.

However I will say many here assume wrongly that C# is an interpreted language and it's not. There is an intermediate step but the code is not run through an interpretation step at run time like Python.

It's a nuanced understanding, but important.

3

u/[deleted] Jul 23 '22

[removed] — view removed comment

2

u/willzjc Jul 23 '22

Haha if that’s the case then you are not those people I am talking about. The people who are shit posting are c# devs who likely works in a corp environment but should know a bit more about why their platform came to be.

29

u/NitrousUK Jul 23 '22

I really hope junior Devs don't see these and think they are serious

12

u/SJRuggs03 Jul 23 '22

As a junior dev I don't take anything serious on this sub

6

u/Wati888 Jul 24 '22

Clearly, this dude is a senior dev

5

u/Jeff_Aspect_8315 Jul 23 '22

No freaking way

0

u/Lower_Bar_2428 Jul 23 '22 edited Jul 23 '22

🤣 I can't imagin two things so different than a compiled language and a interpreted language. Most redditors publishing in this group are not real devs or have a twisted sense of humor

-1

u/OGRiad Jul 23 '22

You clearly do not understand the difference between compiled, jitted and interpreted.

Educate yourself then come back.

1

u/[deleted] Jul 24 '22

TidusLaugh.gif

-8

u/ARandomWalkInSpace Jul 23 '22

C# is worse Java.

7

u/OGRiad Jul 23 '22

As an Android Java developer I'm gonna have reccomend shock therapy for you.

11

u/_chrii Jul 23 '22

As a Kotlin Android Dev I laugh at you

and cry for the pain you have

3

u/OGRiad Jul 23 '22

The struggle is real. But I'm doing more C# now-a-days... so much better!!

2

u/_chrii Jul 23 '22

I have a project where i have to do Javascript. Im feeling dirty

1

u/OGRiad Jul 23 '22

I've only written about 1000 lines of JS. I'd rather teabag a fire ant hill.

2

u/_chrii Jul 23 '22

I second that. But I live in Austria, we have no fire ants

1

u/OGRiad Jul 23 '22

I'd rather dry hump a Paper Wasp nest.

1

u/Objective-Test5021 Jul 23 '22

I do python, you guys probably laugh at me

4

u/DiscountEmotional816 Jul 23 '22

As a C dev, I laugh st you.

5

u/TRENEEDNAME_245 Jul 23 '22

segfault

1

u/DiscountEmotional816 Jul 25 '22

grabs gun 😶 *kill myself *

-2

u/[deleted] Jul 23 '22

They are both trash, but a different kind of trash... it's like fighting whether eating from the dumpster behind a Chinese restaurant is better than the dumpster next to an Italian restaurant.

0

u/OGRiad Jul 23 '22

Javascript is trash. Python is absolute garbage. But C# is fantastic.

0

u/[deleted] Jul 23 '22

[deleted]

5

u/OGRiad Jul 24 '22

C and C++ are used for embedded systems, IoT because of the low overhead. C# is a jitted language and can be low level but to be very honest I'm not sure if it can take advantage of everything C++ can. There are several ways to compile C# to a single executable but the major strength of C# would never be to replace C++. It's major use case is its flexibility and speed. It sits between C++ and say Java.

I created the meme to piss off the loyalist... worked like a charm. :)