Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jynelson
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
91.
▲
by
jynelson
6y ago
Hmm, this is an interesting point about the OS cleaning up resources. I'll see if it's feasible to switch from threads to processes. Thanks!
92.
▲
by
jynelson
6y ago
I think we're saying the same thing from two different perspectives :) The 'managing process' is the daemon thread. The 'crashed process' is a worker thread. There's no need to worry about corrupted memory sinc
93.
▲
by
jynelson
6y ago
I was going to talk about some panics we've had recently, but those will hopefully be fixed soon so I don't think that quite fits my message. Instead I want to talk about why 'handling errors correctly and not panicking'
94.
▲
by
jynelson
6y ago
Well, rarely done isn't the same as never done. docs.rs has exactly the tradeoffs the parent comment is talking about: we have a long-running daemon thread that uses `catch_unwind` and builder threads that occasionally panic. We'v
95.
▲
Docs.rs now allows you to choose your build targets
(blog.rust-lang.org)
3 points
by
jynelson
7y ago
|
0 comments