Lightweight parallel code execution, local or distributed across the network. Designed for simplicity, a 'mirai' evaluates an arbitrary expression asynchronously, resolving automatically upon completion. Built on 'nanonext' and 'NNG' (Nanomsg Next Gen) scalability protocols, defaults to the optimal choice of abstract sockets, Unix domain sockets or named pipes in addition to TCP/IP.

Notes

For local mirai processes, the default transport for intra-process communications is platform-dependent: abstract sockets on Linux, Unix domain sockets on MacOS, Solaris and other POSIX platforms, and named pipes on Windows.

This may be overriden if required by specifying a custom client URL in the daemons interface, and starting server processes manually with server on the same machine.

Author

Charlie Gao charlie.gao@shikokuchuo.net (ORCID)