ooc-lang / rock

:ocean: self-hosted ooc compiler that generates c99
http://ooc-lang.org/
MIT License
403 stars 40 forks source link

Parallel C source generation #546

Open nddrylliog opened 11 years ago

nddrylliog commented 11 years ago

Should speed up a bit more the compilation process.

Look at this and tell me we couldn't do it in parallel:

https://github.com/nddrylliog/rock/blob/88a62ec45682b189e9bfd9851de30f7b17033f91/source/rock/frontend/drivers/SequenceDriver.ooc#L146

nddrylliog commented 11 years ago

Adding a TaskPool class to the SDK to handle this would be nice, similar to the JobPool we already have for external processes: https://github.com/nddrylliog/rock/blob/master/sdk/os/JobPool.ooc - job would be for processes, task for threads.

nddrylliog commented 11 years ago

669 is a blocker for this issue - can't play with TaskPool on Win32 until this is solved.

nddrylliog commented 11 years ago

Post-poned to 0.9.8