Skip to content

kj::Rc<Membrane>#2029

Draft
mikea wants to merge 1 commit into
mainfrom
maizatskyi/2024-04-16-rc-membrane
Draft

kj::Rc<Membrane>#2029
mikea wants to merge 1 commit into
mainfrom
maizatskyi/2024-04-16-rc-membrane

Conversation

@mikea

@mikea mikea commented Apr 16, 2024

Copy link
Copy Markdown
Contributor

No description provided.

mikea added a commit to capnproto/capnproto that referenced this pull request Apr 16, 2024
All real membrane implementations already are. Explicit refcounting
makes reasoning about lifetime much easier.

You could argue that this style makes memory leaks more possible,
but arguably this is the right tradeoff to make instead of lifetime
issue.

I'm seeking for initial feedback (yay/nay) before I spend too much
time cleaning this up.

Corresponding downstream pull requests are:

cloudflare/workerd#2029
and EW/7744
mikea added a commit to capnproto/capnproto that referenced this pull request Aug 29, 2025
All real membrane implementations already are. Explicit refcounting
makes reasoning about lifetime much easier.

You could argue that this style makes memory leaks more possible,
but arguably this is the right tradeoff to make instead of lifetime
issue.

I'm seeking for initial feedback (yay/nay) before I spend too much
time cleaning this up.

Corresponding downstream pull requests are:

cloudflare/workerd#2029
and EW/7744
mikea added a commit to capnproto/capnproto that referenced this pull request Aug 29, 2025
All real membrane implementations already are. Explicit refcounting
makes reasoning about lifetime much easier.

You could argue that this style makes memory leaks more possible,
but arguably this is the right tradeoff to make instead of lifetime
issue.

I'm seeking for initial feedback (yay/nay) before I spend too much
time cleaning this up.

Corresponding downstream pull requests are:

cloudflare/workerd#2029
and EW/7744
mikea added a commit to capnproto/capnproto that referenced this pull request Sep 17, 2025
All real membrane implementations already are. Explicit refcounting
makes reasoning about lifetime much easier.

You could argue that this style makes memory leaks more possible,
but arguably this is the right tradeoff to make instead of lifetime
issue.

I'm seeking for initial feedback (yay/nay) before I spend too much
time cleaning this up.

Corresponding downstream pull requests are:

cloudflare/workerd#2029
and EW/7744
@mikea mikea force-pushed the maizatskyi/2024-04-16-rc-membrane branch from ecef9b7 to 37bae23 Compare September 19, 2025 16:55
@github-actions

Copy link
Copy Markdown

The generated output of @cloudflare/workers-types has been changed by this PR. If this is intentional, run just generate-types to update the snapshot. Alternatively, you can download the full generated types:

Full Type Diff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant