kdb
Companion files to kdb+ and q (by KxSystems)
cinder
Cinder is Meta's internal performance-oriented production version of CPython. (by facebookincubator)
Our great sponsors
kdb | cinder | |
---|---|---|
7 | 43 | |
402 | 3,375 | |
1.5% | 0.8% | |
4.0 | 9.4 | |
16 days ago | 1 day ago | |
HTML | Python | |
Apache License 2.0 | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
kdb
Posts with mentions or reviews of kdb.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-09-28.
-
Function Composition in Programming Languages – Conor Hoekstra – CppNorth 2023 [video]
> And later array languages have mostly abandonned the crazy names in favour of actual words
Sharing this without comments:
https://github.com/KxSystems/kdb/blob/master/c/c/k.h
- Want cleaner code? Use the rule of six
-
If risc-v is successful, no need of those backdoor injectors which are compilers anymore (and absurd and grotesque bloats). Just write risc-v assembly without abusing the macro preprocessor.
ah, I see you too are a disciple of the kdb school
-
if you code in J for 6 months, you will no longer think in loops, and if you stay with it for 2 years, you will see that looping code was an artifact of early programming languages, ready to be displayed in museums along with vacuum tubes
Ah, after all these years, you've finally found it: a worthy opponent for kdb source code.
- An oral history of Bank Python
-
Breaking into q/kdb+
I am an experienced developer with 10+ years in various other languages (c++/python/ some scala). I am interested in getting into q/kdb+ after a recommendation from a friend in the industry. Does anyone out there have any suggestions on how to break into the industry Ive done the courses on https://code.kx.com/ and read a few suggested books but cant find any officially recognised certs I could get, and practical experience is limited ! Im not sure even id hire myself into such a role
-
Are you interested in learning about low latency zero allocation programming?
For the curious, when I first ran into it it looked like this. That is not minified code, it's how people who write K write Java code. It was expected you would take that file and include it in your sources somewhere. The KDB protocol is actually very simple, basically writes out the types with a type tag, length and then the data in binary.
cinder
Posts with mentions or reviews of cinder.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-08.
-
Meta Used Monolithic Architecture to Ship Threads in Only Five Months
Meta is actually contributing directly to upstream cpython. If you really wanted to, the internal fork is also open source: https://github.com/facebookincubator/cinder
- Meta pledges Three-Year sponsorship for Python if GIL removal is accepted
- Back end of Meta Threads is built with Python 3.10 with some interesting tweaks
-
Lessons from Mojo for PHP 10+ ?
Just one example: last year Meta open-sourced Cinder, which powers Instagram and provides sizeable speedups compared to CPython.
- Python true static typing
-
Best book on writing an optimizing compiler (inlining, types, abstract interpretation)?
I used to work on the Cinder JIT and can help document any passes you find interesting or confusing.
-
Python-based compiler achieves orders-of-magnitude speedups
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.
-
beartype: It has documentation now. It only took two years, my last hair follicle, precious sanity points (SPs), and working with Sphinx. Don't be like @leycec. Go hard on documentation early.
I think Cinder's Static Python, which also performs runtime type checking, is more ambitious. Though it's not production ready yet.
-
If there’s gonna be a Python 4.0 one day, what’s a breaking change you’d like to see? Let’s explore the ideas you have that can make Python even better!
Here's a fork that implements that https://github.com/facebookincubator/cinder - it might be nice to one day get that up streamed but obviously it'll be controversial and it certainly needs more time to bake. Hopefully at some point we can make it a pip installable extension though.
-
Is it time for Python to have a statically-typed, compiled, fast superset?
The other thing that was interesting to me, was the potential of type annotations to help make for a faster, safer experience on the compiler end of things. One example is seen in Meta’s Cinder project, on the docs it explains how typing can be used to reduce the number of steps for the compiler ([cinder/static_python.rst at cinder/3.8 · facebookincubator/cinder · GitHub](https://github.com/facebookincubator/cinder/blob/cinder/3.8/CinderDoc/static_python.rst)), making it more effective.
What are some alternatives?
When comparing kdb and cinder you can also consider the following projects:
arctic - High performance datastore for time series and tick data
faster-cpython - How to make CPython faster.
sqlite_http_csv - simulation kdb+ http behavior for sqlite.
Pyjion - Pyjion - A JIT for Python based upon CoreCLR
Agrona - High Performance data structures and utility methods for Java
Pyjion
jsource - J engine source mirror
graalpython - A Python 3 implementation built on GraalVM
javakdb - Using Java with kdb+
MonkeyType - A Python library that generates static type annotations by collecting runtime types
crapbenchmarks
hpy - HPy: a better API for Python