Better HN
topnewbestaskshowjobs
Log inSign up

pitrou

6 karma · joined Oct 15, 2019 (7y ago) · 4 submissions

Submissions

comment 3w ago · link · parent

>> How many Python JIT experiments have failed?

> Wait, how many? I'd say just this one.

I can name at least a couple others: Unladen Swallow, Pyston.

> The other that I know of, pypy, was massively successful for a single maintainer project.

PyPy had multiple active core developers during the 2000s.

comment 3w ago · link · parent

> The one aesthetic gripe I have is that the LLVM included is a fork.

It's not technically a fork, it's a standalone build of vanilla LLVM (ok, there are a couple patches: https://github.com/numba/llvmlite/tree/main/conda-recipes).

> It won't even try to work with the system LLVM and insists on installing a huge wheel with custom binaries.

Not only does LLVM not have a stable ABI, it doesn't even have a stable API. It's difficult to write code that works reliably against a non-trivial number of LLVM major versions.

For the record, here is the LLVM compatibility table for llvmlite versions (llvmlite is the Python-C++ shim that Numba uses to talk to LLVM): https://llvmlite.readthedocs.io/en/latest/#llvm-compatibilit...

If you want a Numba linked against your system LLVM, the solution would be for your distribution to provide a system package for Numba (and llvmlite).

comment 9mo ago · link · parent

Not the OP, but Parquet compatibility issues are usually due to the varying support of features across implementations. You have to take that into account when writing Parquet data (unless you go with the defaults which can be conservative and suboptimal).

Recently we have started documenting this to better inform choices: https://parquet.apache.org/docs/file-format/implementationst...

comment 9mo ago · link · parent

Hey, Arrow developer here. If you get a segfault with our codebase, then please report an issue on our GitHub issue tracker.

(if you have already done so and it wasn't resolved, feel free to ping me on it)