Python is just a C framework. Change my mind
Description
This meme uses the popular 'Steven Crowder's Change My Mind' format. The image features a man in a blue long-sleeved shirt sitting confidently at a black table outdoors on a brick patio, holding a mug. On the table is a large white sign with bold black text that reads, 'Python is a C framework'. Below this, in a smaller font and underlined, is the phrase 'CHANGE MY MIND'. The meme template is typically used to present a controversial or debatable opinion as a challenge. The technical joke here lies in the nuanced truth of the statement. The most common Python implementation, CPython, is written in the C programming language. This means the Python interpreter itself is a C program, and all Python code is executed by this C application. For senior developers, this is a humorous oversimplification that blurs the lines between a programming language, its implementation, and a framework, sparking a classic semantic debate about software abstractions
Comments
41Comment deleted
Saying Python is a C framework is like saying a car is just a gasoline framework. It's not wrong, but it completely misses the point and is guaranteed to annoy the purists
Fine, call Python a framework - just remember every time you forget a `Py_DECREF`, you’re technically leaking memory in your ‘frontend.’
After 20 years of explaining to executives why our Python microservices need more RAM than the entire Apollo program, I'm starting to think maybe we should just admit we're running a very elaborate C interpreter with really nice syntax sugar and a garbage collector that kicks in right when you're demoing to the board
The provocative claim that 'Python is a C framework' brilliantly captures a truth that makes Pythonistas uncomfortable: beneath all those elegant list comprehensions and duck typing lies thousands of lines of C code doing the heavy lifting. It's the programming equivalent of discovering your artisanal coffee shop sources beans from the same supplier as the gas station down the street - technically accurate, philosophically devastating, and guaranteed to start arguments at any tech meetup
Python as a C framework? Only if 'import' is your FFI and the GIL your global mutex - check the flamegraph
If Python is a C framework, the GIL is the built-in global mutex decorator and pip is just a dependency injector for .so files
CPython: the framework that hides C so well, until your hot loop begs for extensions
one of those posts that should have comments disabled Comment deleted
C is a Python framework Comment deleted
And C is framework for assembly Comment deleted
I mean C and C++ they both good if they have real package manager but python ? Man its really good when i have some small or webproject Comment deleted
> Man its really good when i have some small or webproject we have that thing called nodejs (bun lol) Comment deleted
No i mean for backend i use django very good and straight framework i didnt work with js but people told me go type script instead Comment deleted
expressjs for example Comment deleted
C and C++ is like Android and Python is an iPhone. It's all you need to know. If you wanna be cool use an iPhone Comment deleted
that's incredibly wrong in ways I don't care to explain right now Comment deleted
Apple comparsion, as usual, sound more like "If you dumb enough to listen sales manager who tell you that you're cool just when you use their product...and that enough for you to trust them and believe on yourself and what you use" Comment deleted
More like the exact opposite, since iOS is mostly native and Android uses Java & lots of abstraction layers :P Comment deleted
Developers who are using C have no friends Comment deleted
my gf uses C for her projects sometimes Comment deleted
i still use c for my projects, but since im technically not a developer i am allowed to have friends still😁 Comment deleted
Also > gf uses C Comment deleted
let it be more impossible in your eyes We are both programmer girls Comment deleted
> has a gf > is a gf Comment deleted
cc @purplesyringa Comment deleted
thanks for the cc btw Comment deleted
Only if each framework translates the code to it's own bytecode (yes, Python has it) Comment deleted
no, python doesn't have its own "bytecode" it's called IR (intermediate representation) Comment deleted
I heard it from Guido. Comment deleted
that's exactly what bytecode is Comment deleted
IR translates to bytecode Comment deleted
IR is bytecode Comment deleted
Any programming language is a C framework if you stretch your imagination wide enough Comment deleted
tell me how fortran is a C framework Comment deleted
Probably meant grandfather. 👨🦳 Comment deleted
lmao Comment deleted
yes way, getting girlfirends is not that hard, but the part about C is definitely cap Comment deleted
I beg to differ Comment deleted
y Comment deleted
yeah i mostly prefer rust these days Comment deleted
as a python user can confirm that it indeed is Comment deleted