Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
heythere124
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
heythere124
9y ago
Python does that too.
2.
▲
by
heythere124
9y ago
Since when is discrimination based on IQ illegal?
3.
▲
by
heythere124
9y ago
What would you do with smaller businesses when you decide to quit/retire and they need to take control of their own websites?
4.
▲
by
heythere124
9y ago
The point is that they can still. Whatever the standard for taking time off work for illness it should apply equally to both genders so there should never be any need for a separate rule/law.
5.
▲
by
heythere124
9y ago
Not sure those optimisations are worth much. And it's only safety by forcing lowest common denominator code and making you justify everything to a dumb compiler. Rust serves a niche, but it is a tight niche IMO.
6.
▲
by
heythere124
9y ago
Your "solution" is possible in many languages. It's just to give threads complete ownership of data they use. It doesn't require a special type system. In general I don't think Rust actually adds much abstraction th
7.
▲
by
heythere124
9y ago
time.Sleep(1000) could be replaced with a real syncing mechanism of some kind -- it's only for illustration.
8.
▲
by
heythere124
9y ago
Not my area of expertise and it is yours, but if you eliminate a zero instruction before a copy instruction how can you be sure that doesn't affect other threads? var x Int // Pass x to a thread by reference x = 0 t