Re: multi-core / multi-machine compiling?

Matthew Fluet <[email protected]> Thu, 8 Nov 2012 06:28:33 -0500
Newsgroups gmane.comp.lang.ml.mlton.devel
Message-ID <CAMrhFL5svV9_VPJRJU3vHMzjjUsfgS_pJj1+QXfHasDxzMBTbw@mail.gmail.com>
On Sun, Oct 28, 2012 at 12:05 PM, Adam Goode <[email protected]> wrote:

> Has anyone thought about how to make the mlton compiler run in a
> distributed fashion? Some other languages have implementations that
> can compile very fast and can do so in parallel. I know mlton is doing
> complex whole-program analysis, but surely there are parts in the
> process that could be parallelized?
>

There are certainly some parts of the compilation that could be
parallelized.  Many of the optimizations work on a per-function basis, so
could be parallelized on that granularity.  Some optimizations do
whole-program analysis, followed by per function transformation, which also
has some opportunities for parallelism.

Of course, I think the biggest speedup for day-to-day compilation with
MLton would come from caching the type-checking and elaboration of the
basis library.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov

_______________________________________________
MLton-devel mailing list
[email protected]; [email protected]
https://lists.sourceforge.net/lists/listinfo/mlton-devel