Viewing profile — jcmoyer
jcmoyer
HN member- Joined
- Thu, Oct 10, 2013, 3:52 PM UTC
- HN karma
- 86
- Public activity
- 11 items
- HN profile
- View on Hacker News ↗
About jcmoyer
Recent public activity
-
comment
Comment #47992453
There is a really convincing set of arguments against this idea by Robert Seacord[1]. I used to be in the signed size camp, but I've come around to preferring unsigned as much as p…
-
comment
Comment #43123687
> logical operators do not short-circuit (so both sides of an or will execute even if the left side is true) There are two syntaxes: `and` which doesn't short circuit, and `and the…
-
comment
Comment #39446838
>Without compiler bugs, on stock Linux, you can achieve the same thing via /proc/self/mem. The documentation addresses this case specifically: https://doc.rust-lang.org/stable/std/…
-
comment
Comment #39373853
Anecdotally, Chrome used to pin my hard drive at 100% usage until I killed a process called "software_reporter_tool.exe." I still have a version of the binary located at "%localapp…
-
comment
Comment #34287248
Is the Rust compose backwards? Normally I would expect compose(f,g)(x) = (f∘g)(x) = f(g(x)), but in this post it's g(f(x)). In Haskell for instance, (+2) . (*10) $ 2 => 22
-
comment
Comment #34137244
Reading the manual, searching the stdlib for terms related to what I'm trying to do and reading tests, searching the issue tracker, and accidentally discovering things via LSP auto…
-
comment
Comment #23153436
The same concept applies in 2D, which might help you build the intuition to understand it in 3D. If you have a vector v=(1,0) that points to the right, you can scale this vector in…
- story
- story
-
comment
Comment #7665383
>1 - If memory management is a serious problem for the software you work on, I've never found the boost library lacking. This seems like the main selling point for RUST. Given the …
-
comment
Comment #7651224
Breaking changes still happen, but commits to the rust repo are tagged with [breaking-change] so you can easily do a `git log --grep breaking-change` and (hopefully) get a good ide…