unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Arne Babenhauserheide <arne_bab@web.de>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: Andy Wingo <wingo@pobox.com>, guile-devel@gnu.org
Subject: Re: Logo baseline
Date: Sun, 19 Jan 2020 15:11:28 +0100	[thread overview]
Message-ID: <87wo9n4ju7.fsf@web.de> (raw)
In-Reply-To: <87lfq3u1x6.fsf@gnu.org>


Ludovic Courtès <ludo@gnu.org> writes:
> Like I wrote, Guile remains an extension language, no argument here.
>
> However, describing it as “just” an extension language seems odd to me.
> It doesn’t take into account what many have been doing with Guile, and
> it doesn’t match the efforts that have gone into Guile since 2.0.

I don’t think that it is described as "just" an extension language. The
website makes it very clear that Guile is also a viable application
language.

Where do you get the impression that Guile is described as "just" an
extension language?

>> That Guile takes effort to make extending easy distinguishes Guile
>> from all the just-scripting languages out there, and also from many
>> other Schemes.
>
> I don’t find embeddability to be that much of a salient feature.  After
> all, CPython, Script-Fu, Lua, ECL, GJS, etc. all fit into that category.

CPython isn’t really nice to embed. Blender managers, but otherwise I
don’t see much good integration.

Isn’t Script-Fu a tinyscheme — with much fewer capabilities than Guile?

Lua does hit the same, but has less default functionality.

> Other adjectives I proposed (fast, functional) don’t quite apply to
> these, though.

Functional doesn’t apply to Guile much better than to CPython.

>> Actually I’d love to see Guile become better at this: to make it easier
>> to deploy an application that uses Guile in a statically compiled
>> binary.
>>
>> Basically to generalize what LilyPond is doing.
>
> In what ways could it become “better” for this use case?

Currently the default way to embed assumes that Guile is provided as a
shared library. But that can be problematic when you want to ship a
binary people can test easily.

For example I’d like to be able to add Guile to a Godot-game and then
simply ship it.

It would also be nice to have an easy option to embed Guile in Android
apps. "If you use Guile, you cannot turn your program into a mobile app"
isn’t a strong pitch.

> Personally, I encourage people to write more Scheme and less C, there
> are lots of good reasons for that.  As a corollary, I encourage moving
> from “embedding” Guile (linking your C/C++ program against libguile) to
> “extending” Guile (having your main program written in Guile Scheme and
> calling out to C/C++ bits as needed).  That’s been my position since the
> 2.0 days.

I do the same, but I see that this is no viable way forward for existing
programs.

And having Guile in make has already proven useful to me.

Best wishes,
Arne
--
Unpolitisch sein
heißt politisch sein
ohne es zu merken



  reply	other threads:[~2020-01-19 14:11 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-18 14:08 Logo baseline Ludovic Courtès
2020-01-18 14:33 ` Amirouche Boubekki
2020-01-18 15:08 ` Linus Björnstam
2020-01-18 17:05 ` Matt Wette
2020-01-18 19:40 ` Nala Ginrut
2020-01-18 22:22 ` Arne Babenhauserheide
2020-01-18 22:57 ` Thomas Morley
2020-01-18 23:47   ` Arne Babenhauserheide
2020-01-19 11:21     ` Ludovic Courtès
2020-01-19 14:11       ` Arne Babenhauserheide [this message]
2020-01-19 14:59         ` Matt Wette
2020-01-19 17:40           ` Arne Babenhauserheide
2020-01-20  8:35         ` Ludovic Courtès
2020-01-19  8:14 ` Jan Nieuwenhuizen

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=87wo9n4ju7.fsf@web.de \
    --to=arne_bab@web.de \
    --cc=guile-devel@gnu.org \
    --cc=ludo@gnu.org \
    --cc=wingo@pobox.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).