Skip to content

Commit

Permalink
update memory
Browse files Browse the repository at this point in the history
  • Loading branch information
mertcandav committed Aug 20, 2024
1 parent 202f167 commit 6ee8cfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/memory/management/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ fn main() {

::: warning
This is not accepted as a standard, and too risky.
Please read relevant section about [disabling reference counting](/memory/management/disable-reference-counting).
Please read relevant section about [disabling reference counting](/memory/management/disable-reference-counting). It will also be removed in future versions.
:::

You can use manual memory management method with disable reference counting. Advantage of that, Jule has allocation functions for smart pointers, so reference counted types, and when you disable reference counting, you have smart pointers that must be freed manually. So you can use primitive smart pointers with manual memory management. This approach migh be more flexible and readable. Also easy to return reference counting.
Expand Down

0 comments on commit 6ee8cfd

Please sign in to comment.