🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.functional
Article #1129

Haskell Virtual Machine?

#1129
From: Dimitry Golubovsky
Date: Sun, 08 Jun 2003 20:56
31 lines
2503 bytes
Hi All,

I am looking into development of "Haskell virtual machine". Current
Haskell implementtaions usually compile Haskell source into some code
in C (containing description of the graph to reduce), and then it is
passed through a regular C compiler, combined with runtime and then a
pretty big executable is produced. What I am looking into: to strip
the runtime into a shared chunk of code (like Java virtual machine is
the same executable for every Java program), and store the pieces of
graph (functions) as something like loadable Java classes (binary
files also shared between different programs) with possibility of
loading on demand (so these files might be primary output from the
compiler). I haven't looked into details of each Haskell runtime
implementation; maybe there exist some papers decribing their
internals. I also hope that developers of Haskell implementations read
these newsgroups, so maybe some of them might suggest better ways of
conversion of their existing runtime into a virtual machine (or
totally discourage me from doing that).

What might be helpful: information how to understand the structure of
the C code generated to describe a graph.

I tried to search Google for "Haskell virtual machine", but results
were mostly related to bridging of Java VM and Haskell what is not I
am looking for.
Has anyone tried to do such a conversion? Maybe such a project already
exists?
I will appreciate any input.
PS If you want to contact me via e-mail please write to dimitry at
golubovsky dot org: the address found in this message's header is
indeed a spam trap.
Technical Details
Message-ID: <f45cab03.0306081256.169d5a74@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 107f24,66c6c633c3b962dd,start
X-Google-Attributes: gid107f24,public
X-Google-Thread: 10707f,66c6c633c3b962dd,start
X-Google-Attributes: gid10707f,public
X-Google-ArrivalTime: 2003-06-08 13:56:34 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
From: golubovsky@mail.ru (Dimitry Golubovsky)
Newsgroups: comp.lang.functional,fa.haskell
Subject: Haskell Virtual Machine?
Date: 8 Jun 2003 13:56:33 -0700
Organization: http://groups.google.com/
Lines: 31
Message-ID: <f45cab03.0306081256.169d5a74@posting.google.com>
NNTP-Posting-Host: 67.36.234.237
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1055105793 31585 127.0.0.1 (8 Jun 2003 20:56:33 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 8 Jun 2003 20:56:33 GMT