News for hackers. Stuff that matters.
Re:The unreasonable effectiveness of the Julia programming l... by goatinaboat on Friday October 09, 2020 @09:54AM (#24729916)
Really? My only experience with Julia was porting a simulation from Python and the speedup was incredible.

The bang-for-your-buck of adding Numba to existing Python code is why we passed on Julia. Give it a try.

Re:The unreasonable effectiveness of the Julia programming l... by jakobnissen on Friday October 09, 2020 @09:59AM (#24729959)
The problem with Numba is that it only really works in small, limited usecases. Good for e.g. Numpy arrays, but can it provide these massive speedups with custom classes? Arrays of strings? Sets? Probably not, since both Julia and Numba relies on inferring the data types of all objects, and on them being stored efficiently in memory. The Julia type system allows easy type inference, and all custom structs are stored efficiently in memory. In Python, neither of those are true.
Re:The unreasonable effectiveness of the Julia programming l... by vslira on Friday October 09, 2020 @01:27PM (#24732237)
hijacking this discussion to raise the banner of seamless interoperability between numba (quick numerical code) and pypy (quick algorithmic code + business logic).

My dream python is pypy+mypy+numba. Alas, pypy doesn't play nice with the others "(