[erlang-questions] Erlang performance on Windows

Mikael Pettersson <>
Sun Nov 23 23:51:08 CET 2008


Jesper Eskilson writes:
 > On Sun, Nov 23, 2008 at 7:09 PM, Mikael Pettersson <> wrote:
 > > Jesper Eskilson writes:
 > >  > Hi all,
 > >  >
 > >  > I was doing some Project Euler stuff on my Windows machine at home,
 > >  > and realized that there does not seem to be any Hipe support on
 > >  > Windows. I found some notes from a year or two back about why there
 > >  > was no Hipe support on Windows (I didn't delve into the technical
 > >  > details, though), but I was wondering what the status is now.
 > >
 > > Still no HiPE support on Windows I'm afraid.
 > > I plan on implementing that, but it's not the highest priority
 > > item on my Erlang TODO list, and it's made problematic by the
 > > hackery in the Erlang build system for Windows. My initial goal
 > > is to make it work with mingw's gcc (as msvc doesn't support ISO C99).
 > 
 > Did you ever consider moving away from autoconf? I've actually been in
 > charge of maintaining exactly this kind of build system (cygwin +
 > mingw/msvc + autoconf) on windows, and it is really not very fun. At
 > my current job, we've successfully moved our previously windows-only
 > build system to CMake (http://www.cmake.org) in order to get
 > cross-platform support. Compared to autoconf, CMake is really nice to
 > work with.

Using autoconf or not is not my call, but the problems I had
trying to build the system in cygwin with a cross-compiler to
mingw had to do with various non-standard special case hacks
the otp team has put in the configure files.

The first thing I'll do on the Windows port is to make it possible
to build the system with cygwin+mingw in a clean way. Once that's
done a HiPE port should be easy.



More information about the erlang-questions mailing list