Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Cross-compiling OCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Brandon J. Van Every <vanevery@i...>
Subject: RE: [Caml-list] Cross-compiling OCaml
The Caml Trade wrote:
>
> Well, I don't care about Windows and its users.  I don't have
> to care.
> I have a day job that pays the rent, and neither the Windows platform
> nor its users are a significant part of my personal lifestyle
> management strategy.

Ok, I suppose you're confident in the longevity of OCaml then.  I think
market mindshare has to be fought for, if one wants to continue to enjoy
good contracts.

> I think you have your priorities crossed.  Lots of good code migrates
> out of the Unix culture into the Windows development world, but it
> historically *never* happens when Unix-centric people push— only when
> Windows-centric people pull.

Mono
concept of installation packages
most commercial digital media editing software
most games

My stereotype of a UNIX guy is someone who likes to play with text
editors all day long.

> > Should I fault you for the public administration of your project?
> > I'll choose not to, if you choose not to blame 'Windows
> > whiners' for your project status.
>
> Arggh.  I'm not blaming "Windows whiners" for the status of *my*
> project.  I'm blaming them for the status of *YOUR* project.

And what is 'my project' ?  It certainly isn't a Linux-to-Windows OCaml
cross-compiler.


Cheers,                         www.indiegamedesign.com
Brand*n Van Every               S*attle, WA

Praise Be to the caml-list Bayesian filter! It blesseth
my postings, it is evil crap!  evil crap!  Bigarray!
Unboxed overhead group!  Wondering!  chant chant chant...

Is my technical content showing?

// return an array of 100 packed tuples
temps
  int $[tvar0][2*100]; // what the c function needs
  value $[tvar1]; // one int
  value $[tvar2]; // one tuple
  int $[tvar3] // loop control var
oncePre
eachPre
  $[cvar0]=&($[tvar0][0]);
eachPost
  $[lvar0] = alloc(2*100, 0 /*NB: zero-tagged block*/ );
  for(int $[tvar3]=0;$[tvar3]<100;$[tvar3]++) {
    $[tvar2] = alloc_tuple(2);
    $[tvar1] = Val_int($[cvar0][0+2*$[tvar3]]);
    Store_field($[tvar2],0,$[tvar1]);
    $[tvar1] = Val_int($[cvar0][1]);
    Store_field($[tvar2],1,$[tvar1+2*$[tvar3]]);
    Array_store($[lvar0],$[tvar3],$[tvar0]);
  }
oncePost

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