From: Jon Harrop <jonathandeanharrop@googlemail.com>
To: <caml-list@yquem.inria.fr>
Subject: RE: [Caml-list] about OcamIL
Date: Sat, 15 May 2010 01:48:25 +0100 [thread overview]
Message-ID: <019401caf3c8$5435ef30$fca1cd90$@com> (raw)
In-Reply-To: <AANLkTikhXrBI2vfiBFzLu1Cy9JUJUH0zWA6JoLNpcVsz@mail.gmail.com>
Ben Kuin wrote:
> technical:
> - in .NET everything is easy (from the surface): you have your source
> file (hello.cs) you take your compiler (cs.exe) and compile it to a
> msil bytecode file (hello.dll). You can run reflection tools to
> hello.dll or link it to a exe or generate back to source. This
> bytecodefile is your friend. You can run it on a bunch of runtimes
> like .net clr, or on mono, or rotor, or dotgnu. You can register
> libraries in a container to prevent versioning problems with future
> releases. I couldn't figure out those equivalents int hlvm or llvm.
They haven't been written yet. :-)
> - with HLVM things are complex (for me): What is the role of the big
> underlying llvm infrastructure.
LLVM provides the compilation to native code, both static and JIT.
> Why do even need hlvm if we have llvm plus ocaml bindings.
LLVM's intermediate representation is a low-level assembly language with no
memory safety and no automatic memory management. HLVM is a layer on top of
LLVM that provides a higher-level intermediate language that is memory safe
and garbage collected.
> Does hlvm has its own bytecode? If yes where is it specified?
HLVM's IR is evolving much too quickly to be worth specifying yet.
> Is hlvm a ocaml library or is it a free standing vm?
Today, HLVM is an OCaml library. In the future, HLVM will be a free standing
VM.
> Maybe for you these a trivial questions, but I still dont get it,
> while with .net I never had problem to get the idea.
Ultimately, HLVM should be just as easy to understand. The only reason it
appears complicated today is that HLVM is a set of evolving fragments that
are gradually stabilizing and being pulled together to form a progressively
more capable core VM.
> What if hlvm would really take off, could they set it free and move the
homepage to sourceforge?
HLVM is free. I would always keep the core (VM and standard library) open
source. I might write an "HLVM for Scientists" book, sell libraries or
implement features for a fee but nothing evil. :-)
In fact, one dream I have is to create a commerce-friendly platform for
tools and libraries. I think Linux has really suffered from being
anti-commerce rather than truly free.
Cheers,
Jon.
next prev parent reply other threads:[~2010-05-15 0:48 UTC|newest]
Thread overview: 77+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-05 12:06 ben kuin
2010-05-05 14:19 ` [Caml-list] " Alain Frisch
[not found] ` <i2sc0c8bc8b1005051446q34b07d37xc4021d2b4b23d4e2@mail.gmail.com>
[not found] ` <4BE28085.5090100@lexifi.com>
2010-05-06 10:59 ` ben kuin
2010-05-05 18:58 ` Eray Ozkural
2010-05-05 19:16 ` Ed Keith
2010-05-05 20:15 ` Eray Ozkural
2010-05-05 22:13 ` Vincent Aravantinos
2010-05-05 22:36 ` ben kuin
2010-05-05 23:13 ` Eray Ozkural
2010-05-06 10:45 ` ben kuin
2010-05-06 14:38 ` Tim Hanson
2010-05-05 22:18 ` ben kuin
2010-05-06 11:13 ` Ed Keith
2010-05-06 10:43 ` Dmitry Bely
2010-05-06 16:33 ` Peng Zang
2010-05-07 7:26 ` Dmitry Bely
2010-05-07 8:25 ` Sylvain Le Gall
2010-05-10 21:53 ` [Caml-list] " Jon Harrop
2010-05-11 11:22 ` ben kuin
2010-05-11 16:39 ` Peng Zang
2010-05-11 17:35 ` Raoul Duke
2010-05-11 23:47 ` ben kuin
2010-05-12 1:57 ` Peng Zang
2010-05-12 11:56 ` Jon Harrop
2010-05-11 17:38 ` Raoul Duke
2010-05-12 12:28 ` Jon Harrop
2010-05-12 13:11 ` forum
2010-05-14 10:40 ` Jon Harrop
2010-05-14 10:58 ` Eray Ozkural
2010-05-14 11:51 ` forum
2010-05-14 11:51 ` forum
2010-05-16 20:31 ` Jon Harrop
2010-05-17 7:53 ` forum
2010-05-19 0:17 ` Jon Harrop
2010-05-19 7:46 ` forum
2010-05-19 11:29 ` Michael Ekstrand
2010-05-19 13:27 ` [Caml-list] " Eray Ozkural
2010-05-19 13:35 ` David Allsopp
2010-05-19 15:23 ` Erick Tryzelaar
2010-05-19 16:49 ` Goswin von Brederlow
2010-05-19 16:48 ` Goswin von Brederlow
2010-05-20 2:03 ` [Caml-list] " Jon Harrop
2010-05-14 13:55 ` Ed Keith
2010-05-14 15:17 ` Goswin von Brederlow
2010-05-14 16:26 ` ben kuin
2010-05-14 16:32 ` Vincent Aravantinos
2010-05-14 20:08 ` ben kuin
2010-05-14 21:28 ` Sylvain Le Gall
2010-05-14 21:29 ` [Caml-list] " Vincent Aravantinos
2010-05-14 23:51 ` ben kuin
2010-05-15 0:48 ` Jon Harrop [this message]
2010-05-14 18:11 ` [Caml-list] " Raoul Duke
2010-05-14 18:59 ` ben kuin
[not found] ` <AANLkTik-EuZRmX8VKMdAIsO_t8JGHvS6F9TPVLkohed8@mail.gmail.com>
2010-05-14 21:42 ` Fwd: " Raoul Duke
2010-05-14 21:47 ` Vincent Aravantinos
2010-05-14 21:57 ` Raoul Duke
2010-05-15 0:16 ` ben kuin
2010-05-15 0:43 ` Erik de Castro Lopo
2010-05-15 2:16 ` Goswin von Brederlow
2010-05-15 21:27 ` Jon Harrop
2010-05-16 3:19 ` Goswin von Brederlow
2010-05-15 9:45 ` ben kuin
2010-05-15 12:07 ` Ed Keith
2010-05-15 12:17 ` Vincent Aravantinos
2010-05-15 13:21 ` ben kuin
2010-05-15 22:18 ` Erik de Castro Lopo
2010-05-15 23:39 ` ben kuin
2010-05-16 3:23 ` Goswin von Brederlow
2010-05-15 13:23 ` Goswin von Brederlow
2010-05-15 21:45 ` Erik de Castro Lopo
2010-05-15 21:44 ` Jon Harrop
2010-05-15 22:25 ` Erik de Castro Lopo
2010-05-16 2:04 ` Jon Harrop
2010-05-16 3:20 ` Goswin von Brederlow
2010-05-16 17:50 ` Eray Ozkural
2010-05-16 19:15 ` ben kuin
2010-05-05 21:59 ` ben kuin
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='019401caf3c8$5435ef30$fca1cd90$@com' \
--to=jonathandeanharrop@googlemail.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