From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id UAA25977; Wed, 14 Apr 2004 20:21:47 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id UAA24323 for ; Wed, 14 Apr 2004 20:21:45 +0200 (MET DST) Received: from ptb-relay02.plus.net (ptb-relay02.plus.net [212.159.14.213]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i3EIMkjq004757 for ; Wed, 14 Apr 2004 20:22:46 +0200 Received: from [80.229.56.224] (helo=chetara) by ptb-relay02.plus.net with esmtp (Exim) id 1BDp16-0006h4-CH for caml-list@inria.fr; Wed, 14 Apr 2004 18:21:44 +0000 From: Jon Harrop Organization: University of Cambridge To: caml-list@inria.fr Subject: Re: [Caml-list] Real Time Ocaml Date: Wed, 14 Apr 2004 19:21:35 +0100 User-Agent: KMail/1.5.4 References: <20040414161227.14830.qmail@web12404.mail.yahoo.com> In-Reply-To: <20040414161227.14830.qmail@web12404.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200404141921.35044.jdh30@cam.ac.uk> X-Miltered: at nez-perce by Joe's j-chkmail ("http://j-chkmail.ensmp.fr")! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 2004:99 ocamlopt:01 tweak:01 chop:01 compiler:01 ocaml:01 ocaml:01 garbage:01 binary:02 binary:02 compile:02 compile:02 collector:02 laser:97 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk X-Status: X-Keywords: X-UID: 344 On Wednesday 14 April 2004 5:12 pm, Erol Akarsu wrote: > I would like to run the required Ocaml application on > a Real Time Operating System. I think Ocaml generates > an intermediate C code and compile it into binary code > or maybe directly into binary one. Directly into binary (using the "ocamlopt" compiler). > We have so many real time OSs that support C language. > In this case, I don't know Ocaml can compile on Real > time OS. This issue is very critical for the project. > > Have we tried to run Ocaml application on any real > time os? I have used ocaml for real-time (interactive) applications and it works extremely well. Many people have concerns about the garbage collector but I haven't even needed to tweak it to get it to work with my code. However, it is not clear if you mean hard real-time (as in, if some code in your application decides to take more time than expected then the laser it is controlling might accidentally chop someone in half). If this is the case then ocaml is likely to be unsuitable and you'll be wanting to look for specialised tools and OSs. Cheers, Jon. ------------------- 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