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.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.