Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Real Time Ocaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-04-14 (18:21)
From: Jon Harrop <jdh30@c...>
Subject: Re: [Caml-list] Real Time Ocaml
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.


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: