Re: [Caml-list] Resources on OCaml's sharing

2010-03-10 Thread Peter Hawkins
Hi... Here are some comments for ML-like languages in general, not specific to OCaml. On Wed, Mar 10, 2010 at 1:45 AM, Matthias Puech pu...@cs.unibo.it wrote: shameful ignorance on that matter. Particularly, I'm trying to understand: - where architecturally it takes place in the compiler, It

Re: [Caml-list] gc overhead

2010-03-02 Thread Peter Hawkins
Hi... On Tue, Mar 2, 2010 at 12:11 PM, Warren Harris warrensomeb...@gmail.com wrote: On Mar 1, 2010, at 12:54 AM, Richard Jones wrote: On Sun, Feb 28, 2010 at 04:16:03PM -0800, Warren Harris wrote: I would like to determine what percentage of my application's cpu time is spent in the

Re: [Caml-list] gc overhead

2010-03-02 Thread Peter Hawkins
Hi... On Tue, Mar 2, 2010 at 3:08 PM, Warren Harris warrensomeb...@gmail.com wrote: Peter - gprof with ocaml works quite well: http://caml.inria.fr/pub/docs/manual-ocaml/manual031.html I'm fully aware of gprof and ocaml's support of profiling. OCaml's profiling support works by adding calls

Re: [Caml-list] Issues building batteries / installing camlzip

2009-05-21 Thread Peter Hawkins
Hi... See the README file in the Batteries distribution: Requirements You will need ... * Camlzip (http://cristal.inria.fr/~xleroy/software.html#camlzip) ( Note: By default, the distribution of Camlzip is note quite sufficient for actual use. We provide the missing files in

[Caml-list] Extending modules and signatures

2009-04-17 Thread Peter Hawkins
Hi... I have a quick question. I want to extend the List module with various functions that I want that aren't present in the standard library, much as the Batteries ExtList library does. I might write the following code in mylibrary.ml: module MyList = struct include List let foo x = ...

Re: [Caml-list] batteries, godi and OS X leopard

2009-03-09 Thread Peter Hawkins
Hi... Yes. The problem is to do with the case of Compilers.mli: http://forge.ocamlcore.org/tracker/index.php?func=detailaid=168group_id=17atid=151 I have no idea how you fix this if you're doing a GODI build. I gave up and built everything by hand. Cheers, Peter On Mon, Mar 9, 2009 at 6:38 AM,

Re: [Caml-list] Re: [ANN] OCaml Batteries Included, alpha 3

2009-02-09 Thread Peter Hawkins
Hi... On Mon, Feb 9, 2009 at 1:32 AM, Romain Bardou romain.bar...@lri.fr wrote: The wiki: http://brion.inria.fr/gallium/index.php/Ocamlbuild should answer all questions you have to compile simple projects. In fact, the user manual (first link on the wiki) should answer these questions. It