Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
zarzavat
15 hours ago
|
parent
|
context
|
favorite
| on:
The missing standard library for multithreading in...
I'm confused why drop() is a function that you have to import inside the closure instead of a method.
W4G1
7 hours ago
[–]
It was a design decision to make the syntax feel as familiar to Rust as possible. But I do agree that it's a bit verbose and that it won't hurt to add a .dispose() handle to the objects themselves.
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: