upvote
Actually, trigonometric tables are still used in high performance computing, because calculating those functions it's slower than reading them from s table. But as ram gets much slower than cpu, direct calculation is being used more.
reply
When I was a kid programming in BASIC, this was true. Precomputing lookup tables for trig functions was a significant speedup.

But this hasn't been the case since at least the year 2000. A round-trip to main memory costs hundreds of clock cycles and it's just faster to recompute.

reply
No. Tables are still used.

If you need to use a table only once, then you have to wait hundreds of cycles. But "only once" doesn't affects performance.

When performance matter, you need to calculate it thousands of times, and the table stays in cache.

On intermediate cases, you use a tiny table to get an approximate value, and rapidly iterate on the ALU to reduce the error.

You never calculate the function without tabulation, because it consumes hundreds of cycles, and evicts registers/cache, or uses the stack which is a memory access anyways.

reply
He didn’t mean it was useless for anything ever, he meant it was useless for their very specific task of raining nuclear fire upon the Nazis (later Japanese).
reply
Although, that context does seem to be missing from the linked excerpt. That context changes the interpretation of the text pretty significantly I think.

Compared to a lot of things, producing a computer implementation of trig functions at the time could have been really useful. A well implemented library can justify itself by saving a lot of people a little time. And, given the era, the guy would probably be partially inventing the whole idea of doing the thing on the computer.

But nukes were also a pretty high priority.

reply