Hacker GitHub

← All repos

facebookincubator/MetaPython

View on GitHub ↗ ★ 3,792 Python

This is Meta's fork of the CPython runtime. The name "cinder" here is historical, see https://github.com/facebookincubator/cinderx for the Python extension / JIT compiler.

39 mentions on Hacker News by 31 people: 2 stories, 37 comments · first 2021-05-04 · latest 2025-09-29

Mentions per year 39 mentions · busiest year 2021 (17)
20082026
  1. …For example, Cinder, Meta's internal version of CPython, supports what they call "static classes": https://github.com/facebookincubator/cinder?tab=readme-ov-fi... .
    comment by ngrilly · 2025-09-29 · in Why we develop EloqDB mainly in C++
  2. …similar to what Cider is enabling with their opt-in strict modules and static classes: https://github.com/facebookincubator/cinder .
  3. Is anyone familiar with Instagram's cinder? https://github.com/facebookincubator/cinder cinder includes changes for immutable module objects. I wonder if the implementation is similar? Or is cinder so old that it would be incompatible with…
  4. …all the Python code they have with something else was worth it, they'd have done it already. [0] https://github.com/facebookincubator/cinder
  5. Cinder's benchmarks don't seem "like Java" performance, given they aren't that far off cython. https://github.com/facebookincubator/cinder/blob/cinder/3.8/...
  6. …directly to upstream cpython. If you really wanted to, the internal fork is also open source: https://github.com/facebookincubator/cinder
  7. …resources are magnitudes more than mastodon, the lessons from Meta might not be very applicable. https://github.com/facebookincubator/cinder
    comment by thewataccount · 2023-09-14 · in The inside story of Threads
  8. …is largely due to Meta maintaining an internal performance-oriented production version of CPython: https://github.com/facebookincubator/cinder .
    comment by Mxbonn · 2023-09-14 · in The inside story of Threads
  9. https://github.com/facebookincubator/cinder Instagram (and presumably threads) runs on Cinder which is Meta's fork cpython with GIL removed.
  10. …had to choose between the two 3 months ago). Meta has its own production fork of CPython, Cinder: https://github.com/facebookincubator/cinder
  11. They’ve kind of done that with Cinder https://github.com/facebookincubator/cinder . Threads and Instagram lie on top of this and it’s essentially a fork of Python 3.10. I think the problem there is even a company like Meta wants to rest on…
  12. https://github.com/facebookincubator/cinder
  13. That is just CPython fork from instagram https://github.com/facebookincubator/cinder/
  14. You might enjoy Cinder then. It's based on CPython so it is nearly 100% compatible. https://github.com/facebookincubator/cinder/ Disclaimer: I used to work on it.
  15. Have a look at Cinder - https://github.com/facebookincubator/cinder - it's Meta's performance oriented fork of CPython that they use to run Instagram (which is a big Django app).
  16. …typing.TypeVar() and typing.NewType() - Wrap type aliases inside a TYPE_CHECKING conditional block https://github.com/facebookincubator/cinder/blob/cinder/3.8/... Caveat emptor (buyer beware). Python at scale doesn't sound fun at all.…
    comment by metadat · 2022-09-20 · in Python Lazy Imports with Cinder
  17. Would recommend checking out https://github.com/facebookincubator/cinder
  18. …That's why Facebook are putting so much work into running a more performant fork of CPython - https://github.com/facebookincubator/cinder
  19. This article captures a lot of the rationale behind why we're building Static Python within Cinder: https://github.com/facebookincubator/cinder#static-python
  20. …right data structures, inlining is possible. For example, I add an inliner to our Python JIT here: https://github.com/facebookincubator/cinder/commit/f3c50b393... The SSA IR makes this reasonably straightforward. The harder part was…
    comment by tekknolagi · 2022-03-31 · in Discovering Basic Blocks
  21. And Instagram have their own CPython fork called Cinder - https://github.com/facebookincubator/cinder
    comment by jstx1 · 2022-01-23 · in Faster CPython (2021) [pdf]
  22. Exactly. Facebook literally maintains a python fork: https://github.com/facebookincubator/cinder Google invented "NoSQL" before anyone else knew what it was, and all those "cloud" tools they used internally were obviously proprietary…
    comment by hnfong · 2021-11-05 · in An oral history of Bank Python
  23. Cinder ( https://github.com/facebookincubator/cinder ) has Static Python bundled with it, which is pretty useful for replacing Cython. [disclaimer: I work on Cinder]
    comment by tekknolagi · 2021-10-07 · in Faster Python with Guido van Rossum
  24. …is actually 100% compatible with C extensions (by virtue of being a fork of CPython). [1]: https://github.com/facebookincubator/cinder
    comment by czardoz · 2021-10-07 · in Faster Python with Guido van Rossum
  25. …. Instagram is working on a performance-oriented CPython fork https://github.com/facebookincubator/cinder . Twitter, from what I understand, went back to Java, going through Scala first (which is another example of "bett
  26. …Or Cinder [1] which was started by Facebook. Or PyPy [2]. [0] https://github.com/pyston/pyston [1] https://github.com/facebookincubator/cinder [2] https://www.pypy.org/
  27. …the work done as part of https://blog.pyston.org/2020/10/28/pyston-v2-20-faster-pytho... or https://github.com/facebookincubator/cinder ?
  28. …a lot. It is neither Python or C and I am happy with that. use proper tool for the job at hand e to https://github.com/facebookincubator/cinder reply
    comment by ThinkBeat · 2021-05-06 · in Pyston v2.2: faster and open source
  29. …interesting to see how all these things play out in time. [0] https://blog.pyston.org/2014/09/ [1] https://github.com/facebookincubator/cinder
    comment by dr_zoidberg · 2021-05-06 · in Pyston v2.2: faster and open source
  30. How does this compare to https://github.com/facebookincubator/cinder
    comment by akmittal · 2021-05-06 · in Pyston v2.2: faster and open source
  31. > correction: the documentation does mention the lock: https://github.com/facebookincubator/cinder/blob/f60897df9f6 ... That's unchanged from the upstream CPython repo.
  32. We need some benchmarks to validate these bold claims. Edit: found them at https://github.com/facebookincubator/cinder/blob/cinder/3.8/...
  33. …offer any improvements in terms of locking/GIL ? I didn't see any mention in the documentation. https://github.com/facebookincubator/cinder/search?q=gil correction: the documentation does mention the lock:…
  34. …be fairly generic. Did they need to change Django to better benefit from Cinder? Edit: intriguing… https://github.com/facebookincubator/cinder/blob/f60897df9f6...
  35. …pages via refcount changes. Here's the BPO issue [1] that tracks the upstreaming attempt. [0] https://github.com/facebookincubator/cinder/blob/9de726349eb... [1] https://bugs.python.org/issue40255
  36. Benchmarks: https://github.com/facebookincubator/cinder/blob/cinder/3.8/... There are some perf hits, as well as all the improvements.
  37. …2004 Steps to Reproduce Install docker from docker.com docker run -t -i fedora:32 bash git clone https://github.com/facebookincubator/cinder.git yum install zlib-devel openssl-devel ./configure make make altinstall This error is occurs…