Hacker News new | ask | show | jobs
by xiphias2 2551 days ago
I have nowhere experienced more looking under the hood feeling then when I am using Julia.

The source code of the packages sit on my computer, I can (and sometimes do) modify it, and I can still compile the same function to SIMD or GPU.

1 comments

Although I have never used Julia, this is something that is possible in Ruby, and I think this feature is seriously underrated – i.e. to be able to jump quickly to the definition of external code, modify it and run it. When you work with multiple libraries/repo this is very valuable when debugging, saves a lot of time.

It should also be possible with Node.js I think (node_modules).

Don't get me wrong, I love Ruby, and my code was originally in Ruby, but the 20x speedup and better math libraries in Julia without sacrificing the speed of development too much made the switch for me very easy.

Actually translating Ruby code to Julia was much easier than I thought (the only real difference is the indexing).

The 1 based indexing really sucks in the PTX assembly output of Julia as well, I see a lot of useless increment and decrement operations when I don't expect it.