unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Massimiliano Gubinelli <m.gubinelli@gmail.com>
Cc: guile-user@gnu.org
Subject: Re: rfc: next guile 1.8.x release
Date: Mon, 01 Feb 2021 22:49:10 +0100	[thread overview]
Message-ID: <87k0rrh31l.fsf@gnu.org> (raw)
In-Reply-To: <B138465C-766D-43E8-AABC-0E5081FD004D@gmail.com> (Massimiliano Gubinelli's message of "Sun, 31 Jan 2021 18:35:58 +0100")

Hi Massimiliano,

Thanks for the needs of TeXmacs this clearly.  A few comments below…

Massimiliano Gubinelli <m.gubinelli@gmail.com> skribis:

> all these three features point to weakness of various possible solutions
>
> 1) we do not need a Scheme with a lot of OS interfaces, this duplicate functionalities in QT and in our own code. For example all the OS interaction is dealt with internal functions (also because TeXmacs has its own virtual filesystem). We do not need threads, GMP, etc... all these additional parts add bloat without providing real useful functionalities.

Threads and bignums (GMP) were already in 1.8 though, and overall
libguile exposes about as much functionality today than in 1.8.  But I
can see that Qt and Guile are “competing” feature-wise.

> 2) it is better for us to have a Scheme which is not picky wrt. encodings. 

You can use binary output for when you just want to write bytes (info
"(guile) Binary I/O").

> 3) compiled schemes or schemes without first-class modules are more difficult to adapt to our own flavour of scheme coding.

I don’t think this is necessarily the case.  Probably you’ll want a
.scm -> .go rule in your makefiles, but that’s about it.

> Currently I'm trying three different routes:
>
> - embed S7 (which is fast, dynamic and minimal and works everywhere)
> - go for Guile 3 (I've still problems with phasing of macro expansion and bootstrap of our codebase. Will it work on Windows? Do we really need to carry on all the code we do not use?)
> - go for Chez Scheme (like for Guile 3 problems with compilation phases and bootstrap of our codebase. I'm more confident it will work on Windows and on new architecture, it is more compact than Guile, essentially only the compiler, I've still problems with the garbage collector at the level of C++ interface).

It’s much easier to port from Guile to Guile than from Guile to
something else.  :-)

The extra “code you don’t use” in Guile can be seen as a weight, but
longer-term, it could also change the way you approach problems in
TeXmacs and the way you structure it.

Guile 3 can be embedded just like Guile 1, but it supports a much
broader range of applications by being faster and providing more tools.

Ludo’.



  reply	other threads:[~2021-02-01 21:49 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-10 21:54 rfc: next guile 1.8.x release Thien-Thi Nguyen
2021-01-11 14:51 ` Mike Gran
2021-01-12 10:55   ` Massimiliano Gubinelli
2021-01-16 22:55     ` Thien-Thi Nguyen
2021-01-16 22:48   ` Thien-Thi Nguyen
2021-01-29 21:35 ` Ludovic Courtès
2021-01-29 23:46   ` Dr. Arne Babenhauserheide
2021-01-30 12:31     ` Ricardo Wurmus
2021-01-30 14:49       ` Dr. Arne Babenhauserheide
2021-01-31 17:35       ` Massimiliano Gubinelli
2021-02-01 21:49         ` Ludovic Courtès [this message]
2021-02-07  6:59         ` John Cowan
2021-03-08 20:36 ` Andy Wingo
2021-03-09  7:14   ` Dr. Arne Babenhauserheide
2022-03-03  0:11     ` Thien-Thi Nguyen
2022-03-14 12:14       ` Thien-Thi Nguyen

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=87k0rrh31l.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guile-user@gnu.org \
    --cc=m.gubinelli@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).