HaLVM and threads

I do not quite understand that, for example, HaLVM or similar technologies in relation to flows (OS).

I understand that when compiling code with the -threaded option, multi-threaded RTS Haskell will use OS threads to redistribute existing Haskell threads and thus avoid blocking the behavior of external calls. Now that you are using HaLVM, you probably do not need to make any external calls. However, I wonder how it all mixes up and how many workflows HaLVM runs. Are there other situations where the lack of OS workflows can lead to blocking or unwanted behavior?

+7
source share
1 answer

HaLVM uses a single-threaded GHC runtime.

Porting HaLVM to use a streaming runtime supported by multi-core Xen will be an interesting project.

+8
source

All Articles