Viewing profile — benschulz
benschulz
HN member- Joined
- Thu, Feb 16, 2017, 4:27 PM UTC
- HN karma
- 225
- Public activity
- 51 items
- HN profile
- View on Hacker News ↗
About benschulz
No profile information was provided.
Recent public activity
-
comment
Comment #45373417
This seems like an uncharitable reading of the post. > They talk about the importance of purity for automatic optimizations but in the real world there’s all sorts of practical rea…
-
comment
Comment #44795096
Most approaches, I assume, will leverage conditional compilation: When (deterministic simulation) testing, use the deterministic async runtime. Otherwise, use the default runtime. …
-
comment
Comment #42879873
Because the compiler optimizes based on the assumption that consecutive reads yield the same value. Reading from uninitialized memory may violate that assumption and lead to undefi…
-
comment
Comment #31024617
IIRC integer literals are the blocking issue here. Bounds checking (and elision) happens anyway, but when `Index ` is implemented for multiple integer types, `foo[0]` becomes ambig…
-
comment
Comment #30070131
> It's difficult to escape the notion that FreeBSD is becoming an operating system by, and for, FreeBSD developers. I'm curious: Why _shouldn't_ it be an OS primarily for its devel…
-
comment
Comment #29908761
Sorry, based on the replies I'm getting I did not make myself clear. I only want to use Either in cases like the following. fn some_func() -> impl SomeTrait { if some_condition { E…
-
comment
Comment #29906513
Can you expand on that? As long as the public type is opaque I don't see what there is to regret.
-
comment
Comment #29906271
I wish there was an `Either` type in std. I realize that there used to be one and we have `Result` now. However, now that we have `impl Trait` it's worth revisiting, I believe. If …
-
comment
Comment #29265916
Lamport acknowledges the report, not the error. I'm still not convinced there even is an error. The state after step 9 should be the same as after step 7, i.e. `A(-:-,100) B(100:b,…
-
comment
Comment #29263782
Quoting from the paper's description of Phase 1: > (b) If an acceptor receives a prepare request with number n greater than that of any prepare request to which it has already resp…
-
comment
Comment #28948691
I believe this is mostly due to the switch to LLVM 13[1]. [1]: https://twitter.com/ryan_levick/status/1443202538099073027
-
comment
Comment #28784312
I don't know that artist in particular, but perhaps you can find them on The Mod Archive? https://modarchive.org/index.php?request=search&query=axel+f...
-
comment
Comment #28005649
I always assumed it's the verb uring[1], but that might well be wrong. [1]: https://en.wiktionary.org/wiki/uring
-
comment
Comment #27853706
My understanding is that it has been manually tested. I.e. it has produced correct results to previously intractable problems. I'm not sure how much automated testing would add at …
-
comment
Comment #27370512
> In spite of this, I am in the top 7% of accounts on the site, which is a nice reminder on the power of compound interest! I'm also in the top 7%. That's down from 12% or so from …
-
comment
Comment #27209186
> You forgot to disclose your […] affiliation, btw. Um.. :D
-
comment
Comment #26804743
The whole book is available here: https://www.csee.umbc.edu/courses/331/resources/lisp/onLisp/
-
comment
Comment #26722065
> Data races are undefined behavior, and race conditions are a logic error. Yes, both are bugs, and both are important to fix. But they have (at least to me) different severities. …
-
comment
Comment #26722033
Actually "this context" was my previous reply. Much like I can nest a lexical scope inside a program and have it reach up and past the containing scope, I can create a new context …
-
comment
Comment #26722008
It's possible to have truly benign data races too, e.g. lazily computing a hash of immutable data. One of the reasons that Rust's ownership model is necessary is most data races ca…
-
comment
Comment #26716018
I'm not convinced this is a meaningful distinction in this context. Assuming a developer consciously creates a race which turns out to be a bug, how does it matter whether it was a…
-
comment
Comment #26714515
AFAIU one can create races in safe code using atomics with insufficient ordering. (That notwithstanding, I agree that Rust is a vast improvement over C/++.)
-
comment
Comment #25220754
I'm not sure I buy the premise. The point of the original article was that you shouldn't dig a hole for yourself to get out of later. Compiler writers usually go out of their way, …
-
comment
Comment #23783260
No[1], TypeScript is unsound in many ways. Most of them are intentional trade-offs to catch as many bugs as possible while not being too restrictive/allowing most JavaScript code t…
-
comment
Comment #23619830
Fair enough. I think I misinterpreted the "easier to approach" part of your original answer. Sorry if my answer came across as defensive. My wounds are still fresh. ;)