Version française
Home     About     Download     Resources     Contact us    
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
hardware).

- Xavier Leroy
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners