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
Road to native windows OCaml...
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-10-15 (09:42)
From: David Allsopp <dra-news@m...>
Subject: RE: Re : [Caml-list] Re: Re : Road to native windows OCaml...
Kuba Ober wrote:
> > As for terminal slowness, my computer boots in 16 seconds under linux.
> > I recompiled my kernel yesterday and activated PRINTK_TIME/Show timing
> > information on printks, it gives you the time a kernel message was
> > emitted, related to startup. At the end of the boot, the kernel was
> > giving times 3 seconds better than an independent chronometer. There
> > had been enough things to write on the console for message to take 3
> > seconds to be displayed. Displaying on a terminal is slooow
> > everywhere, not just windows.
> >
> > Also, I don't think cygwin is bad. I just think it is not the
> > appropriate answer for most of us. 
> Cygwin is an answer if you can't code natively. If you insist on
> using Unix mindset, then sure Cygwin is easiest. I don't see a problem
> with OCaml doing things the Windows way on Windows, and Unix way on
> Unices.

Not quite clear what you mean by this - are you referring to the Cygwin
*port* of OCaml or the MinGW port *built* in Cygwin? (though I'm aware that
you don't have to use Cygwin to build this any more)

While it's not a major issue (especially once OCaml 3.11 comes along and
just about everything that can be done in bytecode is possible in native
code...), the bytecode interpreter in the MSVC port is considerably slower
than in the MinGW port (as documented in the readme) which is the reason I
chose it years ago over MSVC...

That said, I'd quite like to take advantage of my shiny new x64 quad-core
Dell so perhaps it is time to switch 8-)