René's URL Explorer Experiment


Title: Redo reference counting by madsmtm · Pull Request #98 · SSheldon/rust-objc · GitHub

Open Graph Title: Redo reference counting by madsmtm · Pull Request #98 · SSheldon/rust-objc

X Title: Redo reference counting by madsmtm · Pull Request #98 · SSheldon/rust-objc

Description: Objective-C Runtime bindings and wrapper for Rust. - Redo reference counting by madsmtm · Pull Request #98 · SSheldon/rust-objc

Open Graph Description: My WIP on #95. Adds Retained, a smart pointer version of StrongPtr, but with more guarantees. Notably, this has an Deref<Target = T> implementation, which makes it more ergonomic and safer to...

X Description: My WIP on #95. Adds Retained, a smart pointer version of StrongPtr, but with more guarantees. Notably, this has an Deref&lt;Target = T&gt; implementation, which makes it more ergonomic and ...

Opengraph URL: https://github.com/SSheldon/rust-objc/pull/98

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:46f676d6-bec5-d0dd-6ef8-4fab14e4f1c5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBB4C:24E098:C48E53:FF680C:69928D76
html-safe-noncea9848263568f505d0d352f56371d586605ebc5a31ff4b7e0063b78bfef3c7ef8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjRDOjI0RTA5ODpDNDhFNTM6RkY2ODBDOjY5OTI4RDc2IiwidmlzaXRvcl9pZCI6IjQ4MjI3MzM5Njg3ODY0MjU1MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac47701a06bb5e5670890f5d0f2759d27c9f413df205a68108e48c201fd748df43
hovercard-subject-tagpull_request:657516408
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/SSheldon/rust-objc/98/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5ae9d7d0bea884a6c8a021d1a0b22d1b2bd62b56f3e9a59ef191d265cd07e010/SSheldon/rust-objc/pull/98
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5ae9d7d0bea884a6c8a021d1a0b22d1b2bd62b56f3e9a59ef191d265cd07e010/SSheldon/rust-objc/pull/98
og:image:altMy WIP on #95. Adds Retained, a smart pointer version of StrongPtr, but with more guarantees. Notably, this has an Deref<Target = T> implementation, which makes it more ergonomic and safer to...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemadsmtm
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-cache
go-importgithub.com/SSheldon/rust-objc git https://github.com/SSheldon/rust-objc.git
octolytics-dimension-user_id478311
octolytics-dimension-user_loginSSheldon
octolytics-dimension-repository_id20874187
octolytics-dimension-repository_nwoSSheldon/rust-objc
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20874187
octolytics-dimension-repository_network_root_nwoSSheldon/rust-objc
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release848bc6032dcc93a9a7301dcc3f379a72ba13b96e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FSSheldon%2Frust-objc%2Fpull%2F98
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FSSheldon%2Frust-objc%2Fpull%2F98
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=SSheldon%2Frust-objc
Reloadhttps://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98
Reloadhttps://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98
Reloadhttps://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98
SSheldon https://patch-diff.githubusercontent.com/SSheldon
rust-objchttps://patch-diff.githubusercontent.com/SSheldon/rust-objc
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FSSheldon%2Frust-objc
Fork 61 https://patch-diff.githubusercontent.com/login?return_to=%2FSSheldon%2Frust-objc
Star 408 https://patch-diff.githubusercontent.com/login?return_to=%2FSSheldon%2Frust-objc
Code https://patch-diff.githubusercontent.com/SSheldon/rust-objc
Issues 25 https://patch-diff.githubusercontent.com/SSheldon/rust-objc/issues
Pull requests 14 https://patch-diff.githubusercontent.com/SSheldon/rust-objc/pulls
Actions https://patch-diff.githubusercontent.com/SSheldon/rust-objc/actions
Projects 0 https://patch-diff.githubusercontent.com/SSheldon/rust-objc/projects
Security 0 https://patch-diff.githubusercontent.com/SSheldon/rust-objc/security
Insights https://patch-diff.githubusercontent.com/SSheldon/rust-objc/pulse
Code https://patch-diff.githubusercontent.com/SSheldon/rust-objc
Issues https://patch-diff.githubusercontent.com/SSheldon/rust-objc/issues
Pull requests https://patch-diff.githubusercontent.com/SSheldon/rust-objc/pulls
Actions https://patch-diff.githubusercontent.com/SSheldon/rust-objc/actions
Projects https://patch-diff.githubusercontent.com/SSheldon/rust-objc/projects
Security https://patch-diff.githubusercontent.com/SSheldon/rust-objc/security
Insights https://patch-diff.githubusercontent.com/SSheldon/rust-objc/pulse
madsmtmhttps://patch-diff.githubusercontent.com/madsmtm
SSheldon:masterhttps://patch-diff.githubusercontent.com/SSheldon/rust-objc/tree/master
madsmtm:smart-referenceshttps://patch-diff.githubusercontent.com/madsmtm/rust-objc/tree/smart-references
Conversationhttps://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98
Commits14 (14)https://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98/commits
Checkshttps://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98/checks
Files changedhttps://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98/files
Redo reference countinghttps://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98#top
madsmtmhttps://patch-diff.githubusercontent.com/madsmtm
SSheldon:masterhttps://patch-diff.githubusercontent.com/SSheldon/rust-objc/tree/master
madsmtm:smart-referenceshttps://patch-diff.githubusercontent.com/madsmtm/rust-objc/tree/smart-references
https://patch-diff.githubusercontent.com/madsmtm
madsmtmhttps://patch-diff.githubusercontent.com/madsmtm
May 29, 2021https://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98#issue-906534806
#95https://github.com/SSheldon/rust-objc/issues/95
Please reload this pagehttps://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98
madsmtmhttps://patch-diff.githubusercontent.com/madsmtm
May 29, 2021 02:01https://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98#commits-pushed-4d2591e
https://patch-diff.githubusercontent.com/madsmtm
Add initial Retained pointer, the smart pointer version of StrongPtrhttps://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98/commits/4d2591ee0094ae1031e17d45daaac5574f2b6a4f
4d2591ehttps://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98/commits/4d2591ee0094ae1031e17d45daaac5574f2b6a4f
https://patch-diff.githubusercontent.com/madsmtm
Fix creation of Retained in test when verify_message feature is enabledhttps://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98/commits/b9f18496afd66d9fc14460bb84362bc8f227f43c
b9f1849https://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98/commits/b9f18496afd66d9fc14460bb84362bc8f227f43c
https://patch-diff.githubusercontent.com/madsmtm
Add initial Owned pointer, the mutable version of Retainedhttps://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98/commits/2cebfce66573155339a3fb741a390cd78eab5e63
2cebfcehttps://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98/commits/2cebfce66573155339a3fb741a390cd78eab5e63
https://patch-diff.githubusercontent.com/madsmtm
Add Send and Sync impls for Retainedhttps://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98/commits/a0760018ccefc73f459e7f8167a149983dcce51a
a076001https://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98/commits/a0760018ccefc73f459e7f8167a149983dcce51a
https://patch-diff.githubusercontent.com/madsmtm
Clean up Retained code a bithttps://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98/commits/869449dc4aae0a2d08adb04d579852613a049aa2
869449dhttps://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98/commits/869449dc4aae0a2d08adb04d579852613a049aa2
https://patch-diff.githubusercontent.com/madsmtm
Add some extra TODOs to Retainedhttps://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98/commits/684159dd8fd7f67d8d2e3217035894822e8a09ba
684159dhttps://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98/commits/684159dd8fd7f67d8d2e3217035894822e8a09ba
https://patch-diff.githubusercontent.com/madsmtm
Create Owned and Retained using references instead of NonNull pointershttps://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98/commits/f52bc56fd6e36ef54dbf50d39e664d8b5e7d6038
f52bc56https://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98/commits/f52bc56fd6e36ef54dbf50d39e664d8b5e7d6038
https://patch-diff.githubusercontent.com/madsmtm
Add some more documentation to Owned and Retainedhttps://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98/commits/fecb2e7ced6c2203d6472e58ef15d7d4df0b0d46
fecb2e7https://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98/commits/fecb2e7ced6c2203d6472e58ef15d7d4df0b0d46
https://patch-diff.githubusercontent.com/madsmtm
Add stubs for a few extra objc reference counting methodshttps://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98/commits/2ec0185ba1395ec7413b1a2ebedd57728b15f678
2ec0185https://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98/commits/2ec0185ba1395ec7413b1a2ebedd57728b15f678
https://patch-diff.githubusercontent.com/madsmtm
madsmtmhttps://patch-diff.githubusercontent.com/madsmtm
May 29, 2021 https://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98#ref-pullrequest-905468911
Add Retained smart pointer #97 https://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/97
madsmtmhttps://patch-diff.githubusercontent.com/madsmtm
May 31, 2021 08:33https://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98#commits-pushed-7147f9f
https://patch-diff.githubusercontent.com/madsmtm
Add comments on why the Sync, Send and Drop implementations are safehttps://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98/commits/7147f9f4321f0b5683a370b2d2c1d3847f926efa
7147f9fhttps://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98/commits/7147f9f4321f0b5683a370b2d2c1d3847f926efa
https://patch-diff.githubusercontent.com/madsmtm
Undo making Owned and Retained take references.https://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98/commits/69b5047090bc7288883f1d45897598f96add7e2f
69b5047https://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98/commits/69b5047090bc7288883f1d45897598f96add7e2f
f52bc56https://github.com/madsmtm/rust-objc/commit/f52bc56fd6e36ef54dbf50d39e664d8b5e7d6038
https://patch-diff.githubusercontent.com/madsmtm
Make autoreleasepool take the pool as a parameterhttps://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98/commits/5846dd583920186988c763e291cf9393f60d05de
5846dd5https://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98/commits/5846dd583920186988c763e291cf9393f60d05de
https://patch-diff.githubusercontent.com/madsmtm
madsmtmhttps://patch-diff.githubusercontent.com/madsmtm
force-pushedhttps://patch-diff.githubusercontent.com/SSheldon/rust-objc/compare/c5a7667232986dd127d205081d64b0d5fa2109f5..5846dd583920186988c763e291cf9393f60d05de
c5a7667https://patch-diff.githubusercontent.com/SSheldon/rust-objc/commit/c5a7667232986dd127d205081d64b0d5fa2109f5
5846dd5https://patch-diff.githubusercontent.com/SSheldon/rust-objc/commit/5846dd583920186988c763e291cf9393f60d05de
Compare https://patch-diff.githubusercontent.com/SSheldon/rust-objc/compare/c5a7667232986dd127d205081d64b0d5fa2109f5..5846dd583920186988c763e291cf9393f60d05de
May 31, 2021 08:09https://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98#event-4819195292
madsmtmhttps://patch-diff.githubusercontent.com/madsmtm
May 31, 2021 15:55https://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98#commits-pushed-4421537
https://patch-diff.githubusercontent.com/madsmtm
Fix double free when creating Retained from Ownedhttps://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98/commits/4421537efe2191c11d8928e63dfed1b369e1f042
4421537https://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98/commits/4421537efe2191c11d8928e63dfed1b369e1f042
https://patch-diff.githubusercontent.com/madsmtm
Inline when creating Retained from Ownedhttps://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98/commits/d067bbd8d6da8a0ff56b3819dd11dcd10c15148a
d067bbdhttps://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98/commits/d067bbd8d6da8a0ff56b3819dd11dcd10c15148a
Bring back a smart pointer for reference counting #24 https://patch-diff.githubusercontent.com/SSheldon/rust-objc/issues/24
The future of the Objective-C crate ecosystem #101 https://patch-diff.githubusercontent.com/SSheldon/rust-objc/issues/101
https://patch-diff.githubusercontent.com/madsmtm
madsmtmhttps://patch-diff.githubusercontent.com/madsmtm
Jun 13, 2021 https://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98#ref-pullrequest-919760198
Make autoreleasepool take the pool as a parameter #103 https://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/103
https://patch-diff.githubusercontent.com/SSheldon
SSheldonhttps://patch-diff.githubusercontent.com/SSheldon
Aug 4, 2021https://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98#issuecomment-892354865
#95 (comment)https://github.com/SSheldon/rust-objc/issues/95#issuecomment-854006099
Please reload this pagehttps://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98
https://patch-diff.githubusercontent.com/madsmtm
madsmtmhttps://patch-diff.githubusercontent.com/madsmtm
Aug 6, 2021https://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98#issuecomment-894515624
Please reload this pagehttps://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98
Please reload this pagehttps://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98
Issues in original projects madsmtm/objc2#22 https://patch-diff.githubusercontent.com/madsmtm/objc2/issues/22
Id improvements madsmtm/objc2#21 https://patch-diff.githubusercontent.com/madsmtm/objc2/pull/21
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/{{ revealButtonHref }}
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FSSheldon%2Frust-objc%2Fpull%2F98
Please reload this pagehttps://patch-diff.githubusercontent.com/SSheldon/rust-objc/pull/98
https://patch-diff.githubusercontent.com/madsmtm
https://patch-diff.githubusercontent.com/SSheldon
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.