Viewing profile — nmsmith
nmsmith
HN member- Joined
- Mon, Oct 31, 2016, 5:37 AM UTC
- HN karma
- 10
- Public activity
- 9 items
- HN profile
- View on Hacker News ↗
About nmsmith
No profile information was provided.
Recent public activity
-
comment
Comment #45436092
You mean the positive impact of consuming statins. Consuming statins coincides with lower LDL so I can imagine people conflating the two variables. I'm sure taking statins also has…
-
comment
Comment #45059879
Yes, functions can return non-owning references. However, those references do not "borrow" their target, in the sense that they lock others out. That is the Rust model, and OP does…
-
comment
Comment #45058556
Hardware-based instruction reordering always preserves the behaviour of the original program. (Assuming the original program is valid.) For example, an Intel CPU won't reorder `x +…
-
comment
Comment #45057696
Yep, that's an accurate summary! The model still features a form of "borrowing", it just happens at the granularity of groups. I wrote a more detailed answer here: https://news.yco…
-
comment
Comment #45057636
The "Group Borrowing" concept that we're discussing still imposes aliasing restrictions to prevent unsynchronized concurrent access, and also to prevent "unplanned" aliasing. For e…
-
comment
Comment #45057510
Hi there, I am the Nick whose design we're discussing. You raise some valid points: the blog post enumerates some limitations with Rust's model, but my design (as written) only res…
-
comment
Comment #40384834
Do you remember what language that was? Or at least, how I'd find it? I'd be interested in checking it out.
-
comment
Comment #35795939
> building a tree in Rust will do a lot of reference counting This isn't true in most cases. If every subtree is only referenced by its (unique) parent, then you can use a standard…
-
comment
Comment #25941193
The multidimensional version definitely looks exciting! Do you have any benchmarks for it yet? And will you be publishing a paper on it?