* Using Guile 2.2 modules with Guile 3
@ 2022-08-06 15:11 Olivier Dion via General Guile related discussions
2022-08-06 15:29 ` Maxime Devos
0 siblings, 1 reply; 4+ messages in thread
From: Olivier Dion via General Guile related discussions @ 2022-08-06 15:11 UTC (permalink / raw)
To: guile-user
Hi,
Say I want to use guile-dbi wich use Guile 2.2. Is there any danger for
me to use it with Guile 3.0? I see that Guile will recompile the module
because the already compiled one does not match, I guess. Other than
that, any side effects?
Regards,
old
--
Olivier Dion
oldiob.dev
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Using Guile 2.2 modules with Guile 3
2022-08-06 15:11 Using Guile 2.2 modules with Guile 3 Olivier Dion via General Guile related discussions
@ 2022-08-06 15:29 ` Maxime Devos
2022-08-06 15:31 ` Olivier Dion via General Guile related discussions
0 siblings, 1 reply; 4+ messages in thread
From: Maxime Devos @ 2022-08-06 15:29 UTC (permalink / raw)
To: Olivier Dion, guile-user
[-- Attachment #1.1.1: Type: text/plain, Size: 781 bytes --]
On 06-08-2022 17:11, Olivier Dion via General Guile related discussions
wrote:
> Hi,
>
> Say I want to use guile-dbi wich use Guile 2.2. Is there any danger for
> me to use it with Guile 3.0? I see that Guile will recompile the module
> because the already compiled one does not match, I guess. Other than
> that, any side effects?
>
> Regards,
> old
>
Going by the package definition, guile-dbd-postgresql seems to make a
Guile extension (C). There have been incompatible changes (both on the
Guile code level, and presumably on the C level). As such, sounds risky
to me.
Also, for whatever reason, guile-dbi propagates an old guile, so you'll
get a propagation conflict without guarantees on which Guile version ‘wins’.
Greetings,
Maxime.
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Using Guile 2.2 modules with Guile 3
2022-08-06 15:29 ` Maxime Devos
@ 2022-08-06 15:31 ` Olivier Dion via General Guile related discussions
2022-08-06 15:36 ` Maxime Devos
0 siblings, 1 reply; 4+ messages in thread
From: Olivier Dion via General Guile related discussions @ 2022-08-06 15:31 UTC (permalink / raw)
To: Maxime Devos, guile-user
On Sat, 06 Aug 2022, Maxime Devos <maximedevos@telenet.be> wrote:
> On 06-08-2022 17:11, Olivier Dion via General Guile related discussions
> wrote:
>> Hi,
>>
>> Say I want to use guile-dbi wich use Guile 2.2. Is there any danger for
>> me to use it with Guile 3.0? I see that Guile will recompile the module
>> because the already compiled one does not match, I guess. Other than
>> that, any side effects?
>>
>> Regards,
>> old
>>
> Going by the package definition, guile-dbd-postgresql seems to make a
> Guile extension (C). There have been incompatible changes (both on the
> Guile code level, and presumably on the C level). As such, sounds risky
> to me.
>
> Also, for whatever reason, guile-dbi propagates an old guile, so you'll
> get a propagation conflict without guarantees on which Guile version ‘wins’.
>
So I guess it would be better for me to use something like guile-sqlite3.
--
Olivier Dion
oldiob.dev
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Using Guile 2.2 modules with Guile 3
2022-08-06 15:31 ` Olivier Dion via General Guile related discussions
@ 2022-08-06 15:36 ` Maxime Devos
0 siblings, 0 replies; 4+ messages in thread
From: Maxime Devos @ 2022-08-06 15:36 UTC (permalink / raw)
To: Olivier Dion, guile-user
[-- Attachment #1.1.1: Type: text/plain, Size: 775 bytes --]
On 06-08-2022 17:31, Olivier Dion wrote:
>>> old
>>>
>> Going by the package definition, guile-dbd-postgresql seems to make a
>> Guile extension (C). There have been incompatible changes (both on the
>> Guile code level, and presumably on the C level). As such, sounds risky
>> to me.
>>
>> Also, for whatever reason, guile-dbi propagates an old guile, so you'll
>> get a propagation conflict without guarantees on which Guile version ‘wins’.
>>
> So I guess it would be better for me to use something like guile-sqlite3.
Myself I think it would be better to update guile-dbi to the new Guile.
There were a few incompatible changes between the two Guile major
versions, but very little and easy to resolve in my experience.
Greetings,
Maxime.
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-08-06 15:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-06 15:11 Using Guile 2.2 modules with Guile 3 Olivier Dion via General Guile related discussions
2022-08-06 15:29 ` Maxime Devos
2022-08-06 15:31 ` Olivier Dion via General Guile related discussions
2022-08-06 15:36 ` Maxime Devos
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).