Hacker News new | ask | show | jobs
by ChrisRackauckas 2942 days ago
>it's rare to be CPU bound.

Not when solving (partial) differential equations, which is what I am using Julia for.

1 comments

Also: CPU-bound problems used to be much more common. We spent a lot of effort making CPUs fast though, and memory access didn't keep up. It's why we have these deep caches, it's why we have out of order execution and speculative branch prediction -- to keep processors fed with data.

Used to be you could count cycles, now that's only really true in the simplest of cases with trivial memory access patterns. Now high-information branches are much more expensive than cycle counting would have us believe, ditto pointer-chasing.