Hacker News new | ask | show | jobs
by jrochkind1 759 days ago
This is kind of fun.

A random nit as we like:

> I needed to somehow create a function that performs a single step of the algorithm, then gives back control to the main loop (which ironically sounds just like an OS' preemptive scheduling)

That sounds more like cooperative scheduling, no?

1 comments

You're right! I rephrased that.