You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have no time to work on it but I created a minimum prototype using just C macros on how it could work. It's available here (State: "Works for me"). IMHO this is much cleaner that GC, since it's completely deterministic.
Use Case
I think GC is the right solution to the wrong problem. We can allocate/de-allocate memory deterministically and with no headaches in most scenarios using the concept of commit/rollbacks. V lang looks a perfect place to experiment with this technique.
This discussion was converted from issue #17424 on June 27, 2023 10:00.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the feature
I have no time to work on it but I created a minimum prototype using just C macros on how it could work. It's available here (State: "Works for me"). IMHO this is much cleaner that GC, since it's completely deterministic.
Use Case
I think GC is the right solution to the wrong problem. We can allocate/de-allocate memory deterministically and with no headaches in most scenarios using the concept of commit/rollbacks. V lang looks a perfect place to experiment with this technique.
Proposed Solution
Look at the macros in the libctrans project.
Other Information
No response
Acknowledgements
Version used
any
Environment details (OS name and version, etc.)
N/A
Beta Was this translation helpful? Give feedback.
All reactions