Hacker News new | ask | show | jobs
by beanjuiceII 80 days ago
dang and u did all that without a 10 year journey
1 comments

10 years represents going from

    maxJobs=$(nprocs)
    while read -r nn; do
      code_to_parallelize "$nn"
      (( $(jobs -p | wc -l) > maxJobs )) && wait -n
    done < inputs
to a NUMA-Aware Contention-Free Dynamically-Auto-Tuning Bash-Native Streaming Parallelization Engine. I dare say 10 years is about the norm for going from "beginner" to "PhD-level" work.
whoopsie...

    code_to_parallelize "$nn"
should be

    code_to_parallelize "$nn" &