Past HN discussion on Julia for particle physics: https://news.ycombinator.com/item?id=38512793
Past HN discussion on Julia for particle physics: https://news.ycombinator.com/item?id=38512793
But this particular problem (per row computation) have different options to tackle now in hep-python ecosystem. One approach is to leverage array programming with NumPy to vectorize operations as much as possible. By operating on entire arrays rather than looping over individual elements, significant speedups can often be achieved.
Another possibility is to use a library like Awkward Array, which is designed to work with nested, variable-sized data structures. Awkward Array integrates well with uproot and provides a powerful and flexible framework for performing fast computations on i.e jagged arrays.
For the record, vector-style programming is great when it works, I mean Julia even has a dedicated syntax for broadcasting. I'm saying when the irreducible complexity arrives, you don't want to NOT be able to just write a for-loop
Just a recent example, a double-for loop looks like this in Awkward array: https://github.com/Moelf/UnROOT_RDataFrame_MiniBenchmark/blo... -- the result looks "neat" as in a piece of art.
Later, even when Pytorch added support for 3.12, nothing changed (so far) in Taichi.
how is this a lame excuse
>but it fails on a bunch of PyTorch-related tests. We then figured out that PyTorch does not have Python 3.12 support
they have a dep that was blocking them from upgrading. you would have them do what? push pytorch to upgrade?
>Later, even when Pytorch added support for 3.12, nothing changed (so far) in Taichi.
my friend that "Later" is feb/march of this year ie 2-3 months ago. exactly how fast would you like for this open source project to service your needs? not to mention there is a PR up for the bump.
I stand by my original comment.