Most Nim problems originate from its Runtime. Basically, it works well only for one time run, single treaded programs. Anything else requires expert knowledge of Nim and wasting lots of time on all sort of problems.
You can use Nim as: 1. Compile Nim to JS and use JS Runtime (Bun, Deno, Node). 2. Use NGinx proxy + N single treaded, short-lived stateless Nim Runtimes (N single treaded Nim processes) and Process Manager to kill and restart it say every min or so (because there will be all sorts of memory and connection leaks, hangs, crashes etc.). Similar to how PHP/Ruby etc scripts works.
