Skip to content
DevMeme
4983 of 7590
Languages Post #5450 · source on Telegram

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

41
Anonymous ★ Top Pick 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
  1. Anonymous ★ Top Pick

    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

  2. Anonymous

    Fine, call Python a framework - just remember every time you forget a `Py_DECREF`, you’re technically leaking memory in your ‘frontend.’

  3. Anonymous

    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

  4. Anonymous

    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

  5. Anonymous

    Python as a C framework? Only if 'import' is your FFI and the GIL your global mutex - check the flamegraph

  6. Anonymous

    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

  7. Anonymous

    CPython: the framework that hides C so well, until your hot loop begs for extensions

  8. Deleted Account 2y

    one of those posts that should have comments disabled

  9. @ygerlach 2y

    C is a Python framework

  10. Deleted Account 2y

    And C is framework for assembly

    1. Deleted Account 2y

      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

      1. @LennyLizowzskiy 2y

        > Man its really good when i have some small or webproject we have that thing called nodejs (bun lol)

        1. Deleted Account 2y

          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

  11. @LennyLizowzskiy 2y

    expressjs for example

  12. @VaniLLLaCaramel 2y

    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

    1. @RiedleroD 2y

      that's incredibly wrong in ways I don't care to explain right now

    2. @lavolpenoire 2y

      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"

    3. @MLXProjects 2y

      More like the exact opposite, since iOS is mostly native and Android uses Java & lots of abstraction layers :P

  13. @VaniLLLaCaramel 2y

    Developers who are using C have no friends

    1. @sylfn 2y

      my gf uses C for her projects sometimes

    2. @endisn16h 2y

      i still use c for my projects, but since im technically not a developer i am allowed to have friends still😁

  14. dev_meme 2y

    Also > gf uses C

  15. @sylfn 2y

    let it be more impossible in your eyes We are both programmer girls

    1. @RiedleroD 2y

      > has a gf > is a gf

      1. @sylfn 2y

        cc @purplesyringa

        1. @purplesyringa 2y

          thanks for the cc btw

  16. @chupasaurus 2y

    Only if each framework translates the code to it's own bytecode (yes, Python has it)

    1. @LennyLizowzskiy 2y

      no, python doesn't have its own "bytecode" it's called IR (intermediate representation)

      1. @chupasaurus 2y

        I heard it from Guido.

      2. @RiedleroD 2y

        that's exactly what bytecode is

        1. @LennyLizowzskiy 2y

          IR translates to bytecode

          1. @RiedleroD 2y

            IR is bytecode

  17. @scout_ca11sign 2y

    Any programming language is a C framework if you stretch your imagination wide enough

    1. @RiedleroD 2y

      tell me how fortran is a C framework

  18. @SamsonovAnton 2y

    Probably meant grandfather. 👨‍🦳

    1. @sylfn 2y

      lmao

  19. @endisn16h 2y

    yes way, getting girlfirends is not that hard, but the part about C is definitely cap

    1. @callofvoid0 2y

      I beg to differ

      1. @endisn16h 2y

        y

    2. @purplesyringa 2y

      yeah i mostly prefer rust these days

  20. @V0W4N 2y

    as a python user can confirm that it indeed is

Use J and K for navigation