|
|
|
|
|
by rbehrends
3182 days ago
|
|
> All the unsafe GC code would be abstracted away into a module and would be more obvious to those looking at it that they will need to be watchful for undefined behavior. That code that could be "abstracted away" would be "virtually all the code" in my example. > Maybe for developers that are very familiar with the race conditions of parallel code, but definitely not for most people. Even seasoned developers will make mistakes with simple multithreaded code. I'm not talking about manually guaranteeing absence of data races. I mean absence of data races as a language feature. > Also, the reasoning behind "x is easy so why do I need my language to check it for me" is questionable. This is not at all what I was talking about. You completely misunderstood me. |
|
> A quick grep gives us some stats: the kernel has about 70 invocations of unsafe in about 4500 lines of code overall.