From: Felipe Contreras <felipe.contreras@gmail.com>
To: "notmuch@notmuchmail.org" <notmuch@notmuchmail.org>
Cc: Ali Polatel <alip@exherbo.org>
Subject: Re: The future of Ruby bindings
Date: Sat, 8 May 2021 01:28:20 -0500 [thread overview]
Message-ID: <CAMP44s1u88DTij-aU8x03S4K2o6sXYZc-cPZWAfru-t_NU-G3A@mail.gmail.com> (raw)
In-Reply-To: <608c81378d0d0_fea2086d@natae.notmuch>
On Fri, Apr 30, 2021 at 5:14 PM Felipe Contreras
<felipe.contreras@gmail.com> wrote:
> I understand why Ali Polatel did commit c7893408 (ruby: Kill garbage
> collection related cruft., 2010-05-26); because the order of the object
> destruction cannot be ensured in Ruby, however, there's ways to
> workaround that.
>
> 1. We can steal the object
> 2. We can increase the reference count
> 3. We can add a second parent
I attempted all options, and none of these worked in practice, except #1.
I have the patches ready, but first they need the cleanups in [1].
Any feedback would be appreciated.
Cheers.
[1] id:20210504081749.715768-1-felipe.contreras@gmail.com
--
Felipe Contreras
prev parent reply other threads:[~2021-05-08 6:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-30 22:14 The future of Ruby bindings Felipe Contreras
2021-05-08 6:28 ` Felipe Contreras [this message]
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://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAMP44s1u88DTij-aU8x03S4K2o6sXYZc-cPZWAfru-t_NU-G3A@mail.gmail.com \
--to=felipe.contreras@gmail.com \
--cc=alip@exherbo.org \
--cc=notmuch@notmuchmail.org \
/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.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
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).