caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: ligand@free.fr
To: caml-list@inria.fr
Subject: [Caml-list] Would it be possible to add automatic, region-based memory management to OCaml?
Date: Mon, 09 Apr 2018 14:20:10 +0900	[thread overview]
Message-ID: <1ecada996e0b0d0069daf03241622159@free.fr> (raw)

Dear list,

Would it be possible to have automatic, region-based memory management 
in OCaml?

Also, would it have a better run-time performance than using the current 
GC?

Would it completely replace the GC or would the two systems have to 
cohabit?

I have seen even optimized OCaml programs spend 20% of their time doing 
GC.
I wonder if parts of those 20% could go away.

This is an honest question, I am not a PL/compiler expert.

Here is some bibliography that I could find or that was advised
to me:

https://dl.acm.org/citation.cfm?id=268946.268949
http://www.elsman.com/mlkit/pdf/mlkit-4.3.0.pdf
http://www.elsman.com/pdf/pldi2002.pdf

Of course, I don't want to have to annotate source code in any way.
I am thinking about a static analysis pass.

Regards,
Francois.

-- 
Caml-list mailing list.  Subscription management and archives:
https://sympa.inria.fr/sympa/arc/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

             reply	other threads:[~2018-04-09  6:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-09  5:20 ligand [this message]
2018-04-09 12:26 ` Basile Starynkevitch
2018-04-15 16:16   ` David Teller
2018-04-16 15:31     ` Bruno Blanchet
2018-04-17 10:10     ` [Caml-list] Would it be possible to add automatic, region-based Oleg

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=1ecada996e0b0d0069daf03241622159@free.fr \
    --to=ligand@free.fr \
    --cc=caml-list@inria.fr \
    /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).