How does Julia compare to shell scripting using bash and its "friends" like bc on a Linux system?

Your example here, which is mostly measuring the overhead of spawning julia for individual small calculations, has already been extensively discussed in another thread: Python big integer vs. Julia big integer arithmetic - #24 by stevengj

Thread timers are there to avoid wasting everyone’s else’s time on repetitive discussions (such as you repeatedly posting similar benchmarks and forcing people to give the same answers over and over) or meandering unfocused threads (e.g. generalized discussions about reasons for relative popularity of programming languages, which we’ve had over and over on this forum).

6 Likes