unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Jeremiah@pdp10.guru
To: Jan Nieuwenhuizen <janneke@gnu.org>
Cc: guile-user@gnu.org, epsilon-devel@gnu.org, matt.wette@gmail.com
Subject: Re: You missed my later work
Date: Sun, 30 Apr 2017 21:02:24 -0400	[thread overview]
Message-ID: <87d1btcrtr.fsf@ITSx00.pdp10.guru> (raw)
In-Reply-To: <8760hqui0i.fsf@gnu.org> (message from Jan Nieuwenhuizen on Thu, 27 Apr 2017 14:55:41 +0200)


> That could open up new possibilities.  However, there are so many
> choices, is this going to help us get forward right now?
You are right, it might not be an ideal step

> Thanks for the pointers!  I just released Mes 0.5, which is now fully
> self hosting.  We would need to investigate.  However, if we restrict
> the boostrapping path to either Mes or stage0+Mes, how could this help?

The idea is to make a sub-C compiler that supports only enough of the C
language required to bootstrap your MES, which I then could hand convert
to assembly and thus solve your lower bootstrapping problem.

> Compiling tcc is near the top of my priority list -- just below
> releasing Mes 0.5 (done) and discussing the next step (doing that now).
> So if nothing changes, I'll be working to compile tcc, any help or
> insights to make that easier are much appreciated.

Use the tests included in tcc, as once you can compile all of them your
compiler should support everything required to compile tcc.

> Posibly.  Christopher Webber mentioned PreScheme to me so I guess he's
> a fan.  Mes is currently prototyped in C, if we could move that to
> [Pre]Scheme that would be great!
>
> However, my first priority is to close the bootstrap loop, i.e. get
> either GCC or Guile compiled from what's Mes now. 

Absolutely agreed. And in the mean time, I'll be making tools to help
your bootstrap become ever easier. I'm looking at following the C
evolutionary path and implementing the META II compiler compiler and a
couple similiar tools.

> The one thing holding me back to attempt glueing your stage-N LISP to
> Mes is performance (and well, being terribly busy working to release Mes
> :-).  Currently mescc takes 2h30' to compile itself.  Compiling tcc is
> still a lot of work and is 10x as big...
>
> I fear that running mes on stage-N's LISP adds another 2 factors of
> perfomance penalty...

How about an easier problem? If your mes was written in lisp, why not
write a lisp compiler capable of compiling the lisp and thus solving the
performance problem.

As once an interpreter is made, you are already 30% done writing a
working compiler.

> It seems you're asking all the right questions...THANK!  However,
> although this full source bootstrapping endeavor has been a lot of fun
> until now, one of the biggest difficulties has been to reduce the number
> of open questions...almost anything seems possible.  So I was hoping to
> get more answers and all I get is more questions ;-)

How is this for some answers.
We are not smarter than all of the great minds of computer science that
have used teams of hundreds to create the foundation of tools upon which
we now stand.

But we have something they didn't... The answers of what worked well.

From that I assert that the correct course of action for us is the
following:
Build simple, easy and fun tools that simplify the task of solving the
problem.

Your lisp interpreter, actually is closer to becoming a lisp compiler
than mine is. Should that interest you, it would solve your performance
problems.

Thank you as always,
-Jeremiah



  parent reply	other threads:[~2017-05-01  1:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-31 20:28 You missed my later work Jeremiah
2017-03-31 21:48 ` Jan Nieuwenhuizen
2017-03-31 23:17   ` Jeremiah
2017-04-27 12:55     ` Jan Nieuwenhuizen
2017-04-27 23:51       ` Matt Wette
2017-05-01  1:02       ` Jeremiah [this message]
2017-05-02  6:17         ` Next steps for Mes, stage0+? -- " Jan Nieuwenhuizen
2017-05-02 18:26           ` Jeremiah

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

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d1btcrtr.fsf@ITSx00.pdp10.guru \
    --to=jeremiah@pdp10.guru \
    --cc=epsilon-devel@gnu.org \
    --cc=guile-user@gnu.org \
    --cc=janneke@gnu.org \
    --cc=matt.wette@gmail.com \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).