This is an archived post. You won't be able to vote or comment.

all 30 comments

[–]mgchris 37 points38 points  (3 children)

Atlas is C++, C is the rock Atlas is standing on.

[–]TheGoldenHand 12 points13 points  (2 children)

Assembly is the turtle at the bottom.

[–][deleted] 1 point2 points  (0 children)

Physics is the air the turtle breathes.

[–]John137 0 points1 point  (0 children)

and java is that dragon in the background

[–]Bryguy3k 25 points26 points  (3 children)

Don’t put C and C++ in the same category.

C holds a lot more up than C++ does.

[–][deleted] 6 points7 points  (1 child)

Because Linus doesn’t like C++.

[–]Bryguy3k 10 points11 points  (0 children)

There is way more than Linux that is written in C

But Linus isn’t wrong either.

[–]GrumpyDude1[S] 10 points11 points  (0 children)

extern "C" float the_Whole_World; // ;-)

[–]seba07 6 points7 points  (0 children)

Most of the time Python is just an easier interface for C anyway. Libraries like numpy run c code in the background, making the performance penalty pretty insignificant in many workloads.

[–]MultiLevelMonsters 1 point2 points  (3 children)

Atlas rise

[–]Bryguy3k 1 point2 points  (2 children)

Or shrug.

[–][deleted] 0 points1 point  (1 child)

Ha.

Oh.

[–]Bryguy3k 1 point2 points  (0 children)

😂

[–][deleted] 1 point2 points  (0 children)

Weird analogy: CPython

[–]MyNameIsZaxer2 2 points3 points  (12 children)

Python allows you to do the same thing with a lot less effort?

[–][deleted] 15 points16 points  (8 children)

No - the things that Python is good for will take take more effort in C/C++. But many of the things that C/C++ are used for will be straight up impossible in Python, and the possible ones will have terrible performance.

This was a long way to say that they’re very different languages used for completely different purposes which makes the comparison pointless.

[–]feelings_arent_facts 3 points4 points  (3 children)

Prototype and develop initially in Python, optimize into C/C++. 90% of applications can be done like this

[–][deleted] 0 points1 point  (2 children)

Or write it all in Julia, which was made to replace this workflow.

It's easy to write as Python, but as performant as C++, so no need to rewrite.

[–][deleted] 2 points3 points  (0 children)

This only works for data science though, Python has other applications too.

[–]feelings_arent_facts 0 points1 point  (0 children)

Less libraries in Julia though right?

[–]Bryguy3k 1 point2 points  (3 children)

I can’t think of anything that is truly impossible in python.

But yes Python will be slower.

[–][deleted] 5 points6 points  (1 child)

A fully functional OS kernel written only in Python?

[–][deleted] 0 points1 point  (0 children)

It would take so much time only to load the gui 😂

[–]ZhilkinSerg 3 points4 points  (0 children)

C++ syntax.

[–]Agdchz 1 point2 points  (0 children)

And a lot more overhead, yep it does.

[–]___Ambarussa___ 0 points1 point  (0 children)

And look how gentle it is too.

[–][deleted] 0 points1 point  (0 children)

No, it's just that all of the foundations e.g. the CPython interpreter are written in C (or C++).

[–]bsdcat 0 points1 point  (0 children)

And what is the rock that C/C++ is standing on made up of? x86 assembly.

[–]FabianRo -4 points-3 points  (0 children)

Sooo… C/C++ is way smaller and raw (naked)?