Our great sponsors
-
Makes sense about chasing down the performance problem. I think I have figured out what the source of the discrepancy is: Julia has a very tuned and sophisticated exp function, which (on my machine) is about 10ns faster than the zig exp (compare Julia vs zig). Maybe those other 2ns are meaningful as well, but this is already above my pay grade in terms of code micro-optimization. While it would be possible for somebody who really knows LLVM to go look at the emitted LLVM from the Julia vs the zig, it doesn't seem super worthwhile at this moment considering that the exp function is the likely culprit.
-
zig
General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
Makes sense about chasing down the performance problem. I think I have figured out what the source of the discrepancy is: Julia has a very tuned and sophisticated exp function, which (on my machine) is about 10ns faster than the zig exp (compare Julia vs zig). Maybe those other 2ns are meaningful as well, but this is already above my pay grade in terms of code micro-optimization. While it would be possible for somebody who really knows LLVM to go look at the emitted LLVM from the Julia vs the zig, it doesn't seem super worthwhile at this moment considering that the exp function is the likely culprit.
-
Scout APM
Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
Related posts
- A bit unjust but ok
- In my experience, Julia and its packages have the highest rate of serious correctness bugs of any programming system I’ve used, and I started programming with Visual Basic 6 in the mid-2000s.
- Upcomming language to try?
- Beginner at programming.
- Minimal extension to make trig work with a custom type