News for hackers. Stuff that matters.
Re:How to Make Python Run as Fast as Julia by JupiterMoon on Wednesday December 16, 2015 @02:33PM (#10746641)
> It's almost a literal translation of the Julia code.

Therein lies your problem. If I took some of my python code and literally translated it to Julia would it run like a pig as well? Could I even do a literal translation?

Re:How to Make Python Run as Fast as Julia by Veedrac on Wednesday December 16, 2015 @04:52PM (#10747636)
It'll probably translate, and it'll probably run fine.

Julia's like scientific Python, but where the naïve implementation also runs fast. "Fast by default.", perhaps.

Re:How to Make Python Run as Fast as Julia by Nrpf on Wednesday December 16, 2015 @06:20PM (#10748160)
Actually no. Naive Julia is often slower than python. Vectorized Array expressions are on par with numpy and slower than numba.

"type unstable", IO and text processing code is also slower.

Re:How to Make Python Run as Fast as Julia by Veedrac on Wednesday December 16, 2015 @06:52PM (#10748377)
Although Numba might beat Julia, that's far from saying Julia would "run like a pig".
Re:How to Make Python Run as Fast as Julia by Nrpf on Wednesday December 16, 2015 @07:55PM (#10748694)
Type unstable Julia is often slower than python.