1 Feb 2001 04:13
make and large projects
Juergen Pfitzenmaier <pfitzen <at> informatik.uni-tuebingen.de>
2001-02-01 03:13:25 GMT
2001-02-01 03:13:25 GMT
Dear ocaml users, the following is loosly connected with the discussion a few days ago on structuring large projects and the use of make in this list. 2 years ago I evaluated several tools that claim to replace make. Two of them seemed the most promising: cook and cons; but I wasn't content with them. So I considered writing my own. But then my interests shifted and the people I was working with at that time didn't seem too interested and so the project died. I still have some of the papers from that project and I believe that a group of 3-4 could write a good replacement for make in reasonable time. Q: So what is missing ? A: Programmers with experience in building large, complex projects who want to change the way projects are build. I need someone to talk to to clarify my ideas. You will say these people are easy to find. I have met many programmers complaining about make but the pain was not deep enough to make them really think about alternatives. If someone wants to discuss make replacements please write to me. -- pfitzen
Second, on a register-poor architecture such as the IA32, spilling and
reloading (moving values between registers and stack locations)
happens often and has a significant performance impact. Since OCaml
follows a callee-save model, function calls act as natural spill hint,
forcing all live registers to be spilled to the stack before the call,
then reloaded on demand after the call.
In your "main3" test, the function "step" runs in exactly the 7
available registers, thus the call to "step" causes a nearly perfect
RSS Feed