Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
umanwizard
2 days ago
|
parent
|
context
|
favorite
| on:
Rust in the kernel is no longer experimental
> which has all of the rust safety guarantees and then some
That's not really true. Data races are possible in Java.
zozbot234
2 days ago
[–]
Data races are possible on some types, specifically `long` when not declared as `volatile` - but these do not directly cause memory unsafety.
reply
ivell
2 days ago
|
parent
[–]
Not just some types - any object with members. Shared references are a thing in Java and if not careful can cause data races left and right.
Rust controls that quite a bit.
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
That's not really true. Data races are possible in Java.