7 ms·
Is it concurrency issues, race conditions?
by gitgud 9y ago
Is it concurrency issues, race conditions?
- deleted 9y ago[deleted]
- masklinn 9y agoIt's userland generics. Containers are the level 0 of generic data structures: not only is an "array" significantly less useful than an "array of T" it also leads to loss of safety (you may intend your array to be an array of int, but codegen aside there's nothing precluding a user from shoving a string in there) inefficiencies (since the type of values must be erased you need an indirection, usually a pointer) and usercode-complexity (the user needs to downcast all values to the data type they hope they are).