Replies: 5 comments
-
I cant say that they are 10/10 features like slices, so I would need to think about them first. If it is ref like in D, which is only available for |
Beta Was this translation helpful? Give feedback.
-
Is it even possible to ensure a pointer is always initialized without some form of automatic gc/refcount or using refcaps/borrowing?
|
Beta Was this translation helpful? Give feedback.
-
yes, that might be impossible in general (or at least very tough) |
Beta Was this translation helpful? Give feedback.
-
Incidentally... Lots of code construct cases, such as loop-statements and switch-statements, remains but this is a proof of concept. The analysis detects null deref of members of classes being either surely null (error) or maybe (warning or deprecation) null. I'm planning on adding a The analysis uses a simple variant of forward data-flow analysis. |
Beta Was this translation helpful? Give feedback.
-
The solution is to have a contract (such as an attribute |
Beta Was this translation helpful? Give feedback.
-
Are non-nullable pointers and references planned for Vox?
Beta Was this translation helpful? Give feedback.
All reactions