<br><br><div class="gmail_quote">On Mon, Nov 21, 2011 at 10:22 PM, ocaml-core <span dir="ltr"><<a href="mailto:ocaml-core%2Bmsgappr@googlegroups.com">ocaml-core+msgappr@googlegroups.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

  
  <div>

  
<table cellpadding="0" cellspacing="0"">


    <tbody><tr><td><p>
    
    A message has been sent to the 
  
    <a style="color:15c;text-decoration:none" href="http://groups.google.com/group/ocaml-core?hl=en_US" target="_blank">ocaml-core</a>
  
 group and is awaiting approval. 
    We've included this message for your review.</p>

   <p>
   The message requires moderation because the user does not have permission to post.</p>

    <p>You can <a style="color:15c;text-decoration:none" href="http://groups.google.com/group/ocaml-core/pendmsg?hl=en_US" target="_blank">approve or reject</a> this message
    or you can approve this message by replying to this email.</p>

  
  <div style="margin:30px 25px 20px 24px">
   <a style="float:left;padding-right:20px">
       <img height="25px" src="https://www.google.com/intl/en_US/images/logos/groups_logo.png" alt="Visit Google Groups">
   </a>
   <p style="padding-top:4px;font-family:arial,sans-serif;color:#636363;font-size:11px">
      <a style="color:15c;text-decoration:none" href="https://groups.google.com/groups/create?hl=en_US&src=email" target="_blank">Start</a> your own group,
      <a style="color:15c;text-decoration:none" href="http://groups.google.com/support/?hl=en_US&src=email" target="_blank">visit</a> the help center,
      or <a style="color:15c;text-decoration:none" href="https://groups.google.com/groups/abuse?hl=en_US&src=email" target="_blank">report</a> abuse. 
   </p>
</div>

  </td></tr></tbody></table></div>

<br><br>---------- Forwarded message ----------<br>From: Stephen Weeks <<a href="mailto:sweeks@janestreet.com">sweeks@janestreet.com</a>><br>To: Yaron Minsky <<a href="mailto:yminsky@janestreet.com">yminsky@janestreet.com</a>><br>
Date: Mon, 21 Nov 2011 22:22:25 -0500<br>Subject: Re: Making Async play better with others<br><br>
> Stephen, what do you think about Markus' proposal for how to organize<br>
> it?<br>
<br>
I am highly skeptical of the approach of propagating Linux submodules and<br>
conditional compilation throughout the codebase.  I think it would be preferable<br>
to design a platform-agnostic interface at the OCaml/C boundary, implemented on<br>
the C side using platform-specific C files with minimal conditional compilation<br>
at the C level and no conditional compilation at the OCaml level.  Platforms<br>
that are unable to implement particular aspects of the interfaces should provide<br>
functions that raise exceptions.  Then all OCaml code compiles everywhere, and<br>
it one gets on each platform the maximum ability to run what is actually<br>
implemented.<br>
<br></blockquote></div><br>