caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Erol Akarsu <eakarsu_33@yahoo.com>
To: Hendrik Tews <tews@tcs.inf.tu-dresden.de>, caml-list@inria.fr
Subject: Re: [Caml-list] Real Time Ocaml
Date: Thu, 15 Apr 2004 15:33:55 -0700 (PDT)	[thread overview]
Message-ID: <20040415223355.1345.qmail@web12403.mail.yahoo.com> (raw)
In-Reply-To: <16510.17663.1463.981075@ithif51.inf.tu-dresden.de>

Hello Hendrik,

Thanks for your advice,

How long does it take to write a specific garbage
collector for OCAML for real time environment?
This is beyond my knowledge. Do you know anyone who
can guide me on this project?

But your idea of writing GC in Ocaml seems to me a
cool idea. Writing in OCAML should be more quicker
than low level C,

Actually, I may target on hard-real time systems also
in the future, 
If we can get a real-time Ocaml, it can change the
speed and quality of the product easily,

Thanks

Best Regards

Erol Akarsu



--- Hendrik Tews <tews@tcs.inf.tu-dresden.de> wrote:
> Erol Akarsu writes:
>    
>    Have we tried to run Ocaml application on any
> real
>    time os?
>    
> I believe, in order to use Ocaml for real time
> applications you
> have to go (at least) the way sketched in Section
> 9.2 of Luca
> Cardellis "Typeful Programming" [1]:
> 
> - identify the subset of Ocaml that is heap
> allocation free
> - possibly modify the compiler to enlarge the heap
> allocation
>   free subset
> - make sure any programm in this subset does not
> invoke the
>   garbage collector
> 
> You also have to do something about signal delivery.
> 
> Then you can write your real time application in
> this heap
> allocation free subset. You could even write the
> ocaml garbage
> collector in Ocaml then.
> 
> 
> Of course as others pointed out, depending on your
> real time
> needs Ocaml might already be completely
> satisfactory. Another
> example of Ocaml code in a time critical environment
> is provided
> by the Ensemble project [2]. Garbage collection does
> not pose any
> problems there.
> 
> 
> Bye,
> 
> Hendrik
> 
> [1]
> http://citeseer.ist.psu.edu/cardelli89typeful.html
> [2]
>
http://www.cs.cornell.edu/Info/Projects/Ensemble/index.htm
> 
> -------------------
> 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



	
		
__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html

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


  reply	other threads:[~2004-04-15 22:33 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-14 16:12 Erol Akarsu
2004-04-14 17:07 ` Basile STARYNKEVITCH
2004-04-15  6:51   ` Kenneth Knowles
2004-04-15 18:44     ` Brian Hurt
2004-04-16  7:55       ` Basile Starynkevitch
2004-04-16 12:33         ` Erol Akarsu
2004-04-16 15:12           ` skaller
2004-04-20  0:20         ` Brian Hurt
2004-04-20  0:31           ` Karl Zilles
2004-04-20  1:50             ` skaller
2004-04-14 18:21 ` Jon Harrop
2004-04-15  8:17 ` Hendrik Tews
2004-04-15 22:33   ` Erol Akarsu [this message]
2004-04-20  8:04     ` Hendrik Tews
2004-04-20 13:44       ` Eric Dahlman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040415223355.1345.qmail@web12403.mail.yahoo.com \
    --to=eakarsu_33@yahoo.com \
    --cc=caml-list@inria.fr \
    --cc=tews@tcs.inf.tu-dresden.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).