Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] cygwin performance
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Xavier Leroy <xavier.leroy@i...>
Subject: Re: [Caml-list] cygwin performance
> As I've never used O'Caml under Cygwin, I'm curious: are compiling and 
> linking with ocamlopt.opt as fast as they are under Linux? How about the 
> resulting programs?

Computations run essentially at the same speed, since the same x86 code
generators are involved under Linux and Cygwin (that of gcc for the
OCaml runtime system, and that of ocamlopt for native compilation of
OCaml code).

I/O and other system calls are noticeably slower under Cygwin, due to
the overhead of the Unix emulation layer.  That doesn't make Cygwin
unusable, but large compiles feel "snappier" under Linux (on identical

- Xavier Leroy
To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: