🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.functional
Article #1131

Re: Haskell Virtual Machine?

#1131
From: Steffen Haugk
Date: Mon, 09 Jun 2003 07:54
45 lines
3146 bytes
I know it is not a virtual Haskell machine, but have a look at Peyton
Jones' baby C--, a portable assembly language.

http://www.cminusminus.org/



hth,
Steffen


On 8 Jun 2003 13:56:33 -0700, golubovsky@mail.ru (Dimitry Golubovsky)
wrote:

>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: <44f8evgdaj6j1der2skgb2hkbmce3afca7@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!btnet-peer1!btnet-feed3!btnet-peer0!btnet-feed5!btnet!news.btopenworld.com!not-for-mail
References: <f45cab03.0306081256.169d5a74@posting.google.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 107f24,66c6c633c3b962dd
X-Google-Attributes: gid107f24,public
X-Google-Thread: 10707f,66c6c633c3b962dd
X-Google-Attributes: gid10707f,public
X-Google-ArrivalTime: 2003-06-09 00:55:10 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!btnet-peer1!btnet-feed3!btnet-peer0!btnet-feed5!btnet!news.btopenworld.com!not-for-mail
From: Steffen Haugk <stef.fen@cushat.com>
Newsgroups: comp.lang.functional,fa.haskell
Subject: Re: Haskell Virtual Machine?
Date: Mon, 9 Jun 2003 07:54:14 +0000 (UTC)
Organization: BT Openworld
Lines: 46
Message-ID: <44f8evgdaj6j1der2skgb2hkbmce3afca7@4ax.com>
References: <f45cab03.0306081256.169d5a74@posting.google.com>
Reply-To: stef.fen@cushat.com
NNTP-Posting-Host: host213-120-127-25.in-addr.btopenworld.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: hercules.btinternet.com 1055145254 14750 213.120.127.25 (9 Jun 2003 07:54:14 GMT)
X-Complaints-To: news-complaints@lists.btinternet.com
NNTP-Posting-Date: Mon, 9 Jun 2003 07:54:14 +0000 (UTC)
X-Newsreader: Forte Agent 1.93/32.576 English (American)