News for hackers. Stuff that matters.
Re:Making Python 100x faster with less than 100 lines of Rust by Yoric on Friday March 31, 2023 @01:59AM (#35383184)
Yeah, I need to try it.

But the parent was suggesting that metaprogramming could make readability issues go away and I can't wrap my head around how it would do that.

Re:Making Python 100x faster with less than 100 lines of Rust by rsfern on Friday March 31, 2023 @10:36PM (#35396477)
In Julia you can use https://juliaarrays.github.io/StructArrays.jl/stable/ which lets your code use the array of structs interface but internally it’s a structure of arrays
Re:Making Python 100x faster with less than 100 lines of Rust by Yoric on Saturday April 01, 2023 @05:16AM (#35398642)
Nice, thanks!