5 ms·
Long time lurker here and 1st time participant. >The most ambitious is to try to do it automatically: to write a compiler that will parallelize our code for us
by sjtmbed 10y ago
Long time lurker here and 1st time participant.
>The most ambitious is to try to do it automatically: to write a compiler that will parallelize our code for us.
Does anyone know if this has been accomplished in any form or fashion by anyone/startup?
or is there anyone doing the below part atleast?
>An optimization marketplace would be a way to generate the sufficiently smart compiler piecemeal
I am very interested in finding a solution to these problems.
- zeptomu 10y agoWelcome to HN! :) > Does anyone know if this has been accomplished in any form or fashion by anyone/startup? There are compilers that are able to auto-parallelize specific kinds of software fragments, but most of them are not able to optimize general-purpose programs in a reasonable way. There were and still are research projects in many computer science departments that try to find ways to auto-parallelize C or Fortran code, but many believe that these low-level languages provide a too unconstrained memory and type system, which makes auto-parallelization efforts really hard, because a "sufficiently smart compiler" has to prove certain properties about the code to guarantee correctness of the optimization (parallelization). There are also people who think there's not much room for parallelization in general-purpose software development (business applications) that mostly wrap specific libraries. The libraries itself may exploit parallelization, but this is usually hand-crafted by their developers and not done using tools. I am not saying, it's not possible, but it has been tried many times, and building a new language (or improving one) may be less effort, than trying to auto-parallelize classic, old code (C, Fortran, etc.).