[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is it possible to write program only in Guile?
From: |
tomas |
Subject: |
Re: Is it possible to write program only in Guile? |
Date: |
Fri, 20 Oct 2023 06:35:45 +0200 |
On Thu, Oct 19, 2023 at 01:18:14PM +0200, wolf wrote:
> On 2023-10-19 06:52:40 +0200, tomas@tuxteam.de wrote:
[...]
> > In Linux, for example, a "C executable" [...]
> > [...] says "I want to be loaded
> > by /lib/ld-linux.so" (the dynamic loader) or something similar.
>
> Most of the time you would do static binary with musl as a libc.
Hm. I guess you mean: "most of the time when you build a static
executable", because the "normal" thning to do is to build a
dynamic executable these days, and for good reasons.
There are good reasons for making static executables as well, of
course.
> That way (and
> utilizing static libraries) you can produce *very* portable native programs.
The price your users pay is that they have to keep track of a huge
numbers of library versions (and perhaps build variations of those)
because each executable carries its own little world. In the Windows
world this phenomenon is known as "DLL hell".
My Debian laptop has ~2300 packages. Let's assume one fourth of
those depend on libc. All of them depend on the same instance.
Whenever a bug of libc becomes known, just installing that one
package (and restarting those binaries, if necessary) fixes the
problem.
Now imagine asking myself which one of those ~500 packages carries
which version of libc.
Another solution, of course, would be to have a "radical source
distro", the way Guix or NixOS do. They come with a price tag,
too :-)
Cheers
--
t
signature.asc
Description: PGP signature
- Re: Is it possible to write program only in Guile?, (continued)
- Re: Is it possible to write program only in Guile?, Basile Starynkevitch, 2023/10/18
- Re: Is it possible to write program only in Guile?, CToID, 2023/10/18
- Re: Is it possible to write program only in Guile?, Basile Starynkevitch, 2023/10/18
- Re: Is it possible to write program only in Guile?, Greg Troxel, 2023/10/18
- Re: Is it possible to write program only in Guile?, CToID, 2023/10/18
- Re: Is it possible to write program only in Guile?, Hans Ã…berg, 2023/10/18
- Re: Is it possible to write program only in Guile?, Janneke Nieuwenhuizen, 2023/10/18
- Re: Is it possible to write program only in Guile?, Thompson, David, 2023/10/18
- Re: Is it possible to write program only in Guile?, tomas, 2023/10/19
- Re: Is it possible to write program only in Guile?, wolf, 2023/10/19
- Re: Is it possible to write program only in Guile?,
tomas <=
Re: Is it possible to write program only in Guile?, Olivier Dion, 2023/10/18
Re: Is it possible to write program only in Guile?, Zelphir Kaltstahl, 2023/10/18