Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] ocaml and large development projects
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: David Brown <caml-list@d...>
Subject: Re: [Caml-list] ocaml and large development projects
On Sat, May 17, 2003 at 10:32:54PM -0700, Chris Hecker wrote:
> 
> >One issue to be aware of: if you build native code, when you change a 
> >module, then all dependent modules must be recompiled.  This can be 
> >surprising when a small change to a utility module causes a near full 
> >recompile of the project.  The byte-code compiler does not have this 
> >issue, and is sufficient for testing in most cases.
> 
> Uh, isn't this a major flaw in the compiler?  Why does this happen?  This 
> seems like a vital part of scaling native code projects that's broken...I 
> was certainly counting on it working correctly quite soon.

Inlining.  Inlining is an important optimization, especially for
functional languages, where many functions are typically short.

However, inlinign causes a dependency on the bodies that are being
inlined.

These dependencies are correctly displayed by ocamldep, though.

Dave

-------------------
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