From: Jon Harrop <jon@jdh30.plus.com>
To: caml-list@yquem.inria.fr
Subject: Re: MinCaml English Documentation
Date: Tue, 8 Mar 2005 04:12:33 +0000 [thread overview]
Message-ID: <200503080412.33653.jon@jdh30.plus.com> (raw)
In-Reply-To: <20050307.220107.85397271.eijiro_sumii@anet.ne.jp>
On Tuesday 08 March 2005 03:01, Eijiro Sumii wrote:
> I've uploaded a (rather quick) translation of my MinCaml compiler
> tutorial:
>
> http://min-caml.sourceforge.net/index-e.html
Fantastic, thank you!
> From: "Jon Harrop" <jon@jdh30.plus.com>
> I'm not sure if MinCaml by itself can make any money:-) but I've
> always been wondering if it is possible to sell the "programming
> language processing technology" (which is the killer application of
> ML). I heard Galois Connection has been doing something like that by
> using Haskell, focusing on security in particular.
I think companies would be willing to spend a bit of money (~1000UKP) to buy a
working shell of a compiler so that they could develop it however they
wanted. If our company could afford a copy (and it was more complete) then we
would use it to develop a custom language for graphics programming. An
interpreter might also be commercially viable.
> Actually, I feel a little reluctant to use byte code in the back end,
> because (for the original educational purpose) it hides some important
> details - such as garbage collection!
Yes, ideally you want an elegant demo GC. But isn't having a hidden GC
preferable to having no GC? Using an existing byte-code is probably also the
most preferable way to make your compiler cross-platform, short of writing
multiple assembler back-ends. Another option is C-- or maybe Java bytecode.
From what I hear, C-- is stable enough now.
You could always write a demo OCaml-compatible GC in OCaml for educational
purposes. Then people could use whichever GC they wanted.
> On the other hand, if
> supporting (not teaching) GC is important, I believe Boem's GC does a
> good job even though it is conservative.
IMHO, Boem's GC would put people off. As OCaml's GC is already available,
efficient and non-conservative, I'd go for that.
--
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
Objective CAML for Scientists
http://www.ffconsultancy.com/products/ocaml_for_scientists
next prev parent reply other threads:[~2005-03-08 4:11 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-03 22:26 MinCaml: an educational compiler for tiny ML subset (documented in Japanese) Eijiro Sumii
2005-03-05 8:32 ` [Caml-list] " Jon Harrop
2005-03-05 14:37 ` Eijiro Sumii
2005-03-05 14:48 ` Eijiro Sumii
2005-03-07 0:20 ` Jon Harrop
2005-03-08 3:01 ` MinCaml English Documentation Eijiro Sumii
2005-03-08 4:12 ` Jon Harrop [this message]
2005-03-08 7:09 ` [Caml-list] " Ken Friis Larsen
2005-03-08 18:59 ` David MENTRE
2005-03-08 19:15 ` Eijiro Sumii
2005-03-08 20:13 ` Xavier Leroy
2005-03-08 22:32 ` Eijiro Sumii
2005-03-14 17:31 ` Looking for an efficient implementation of simply typed lambda calculus Sébastien Hinderer
2005-03-15 20:59 ` [Caml-list] " Manos Renieris
2005-03-05 9:46 ` [Caml-list] MinCaml: an educational compiler for tiny ML subset (documented in Japanese) Corey O'Connor
2005-03-05 12:01 ` Oliver Bandel
2005-03-05 16:45 ` Eijiro Sumii
2005-03-05 17:19 ` OT: " Richard Jones
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=200503080412.33653.jon@jdh30.plus.com \
--to=jon@jdh30.plus.com \
--cc=caml-list@yquem.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