-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alternative architecture for smartptrs #7
Comments
planetis-m
changed the title
Alternative archetecture for smartptrs
Alternative architecture for smartptrs
Jul 23, 2021
I know @Araq suggested this repo, but why not use fusion for that? soon enough we'll end up with mutual dependencies (fusion needs threading or vice versa) or, more likely, we'll end up writing sub-optimal workarounds because of that |
Here it can be developed and ripe before it becomes part of the stdlib. I don't see how mutual deps would arise. |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To accommodate the use-cases specified in #5 (comment), here is my proposed alternative:
https://github.com/planetis-m/dumpster/blob/master/expsmarts.nim#L18-L30
Can the deleter field be removed somehow?
Every field must be exported, so that libraries can provide their implementations like this:
https://github.com/planetis-m/dumpster/blob/master/pools.nim#L24
Opinions? @arnetheduck, @timotheecour, @Araq
The text was updated successfully, but these errors were encountered: