Re: use fork() to speed up compilation testing.

2018-03-30 Thread cblake
@twetzel59 - I use fork (and even vfork) all the time. They work just fine. @Krux02 - I have never used compiler-as-a-service mode which seems originally targeted at IDEs, but that feature may apply to testing as well. See `compiler/service.nim` and `tests/testament/caasdriver.nim`..maybe search

Re: use fork() to speed up compilation testing.

2018-03-30 Thread twetzel59
Not having worked on the compiler, I can't guarantee anything, but here would be my first 3 questions: * Has anyone successfully used `fork()` from Nim? * Does this memmapping mess up the GC? * What about handling dead processes? Before too many tests are executed the compiler would need t