What is spawn() best used for? What are it's drawbacks? Are there alternatives in some cases?
Most often I use it to run things in the 'background'. I've read byond is single threaded, so things can only run in order regardless.
I use that a lot for my infinite loops, or loops that run for a long time. I also use it when I want to run a proc passively, but I don't want to wait on it to finish before proceeding.