Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dubi_steinkek
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
1.
▲
by
dubi_steinkek
2mo ago
Which stdlib collections and types should become `!Move`?
2.
▲
by
dubi_steinkek
2mo ago
How so? This feel distinct from the "algebraic effects"-like features like constness, async, can-panic, can-unwind, etc., since this is a property of the types themselves rather than of functions.
3.
▲
crates.io: Development Update
(blog.rust-lang.org)
5 points
by
dubi_steinkek
2mo ago
|
0 comments
4.
▲
by
dubi_steinkek
5mo ago
Do you have links to these youtubers? Sounds interesting
5.
▲
by
dubi_steinkek
8mo ago
That looks pretty good to me. Every `unsafe` function has clearly stated safety requirements, and every `unsafe` blocks justifies why the requirements are met.
6.
▲
by
dubi_steinkek
8mo ago
mainly, but it also supports alternative codegen backends (cranelift, rustc_codegen_gcc)
7.
▲
by
dubi_steinkek
9mo ago
Why is this a perf footgun? As someone who doesn't write a lot of c++, I don't see anything intuitively wrong. Is it that iterating over map yields something other than `std::pair`, but which can be converted to `std::pair` (with
8.
▲
by
dubi_steinkek
9mo ago
Maybe they can with postinstall scripts, but they usually don't. For the most part, installing packaged software simply extracts an archive to the filesystem, and you can uninstall using the standard method (apt remove, uv tool remove,
9.
▲
by
dubi_steinkek
9mo ago
> there is no difference as jj is only a frontend to git. That's not really true in this case, as the worktree feature from jujutsu is not implemented on top of git worktrees.
10.
▲
by
dubi_steinkek
1y ago
I don't think that's a fair characterization. It's more that there isn't really a big difference between the workflow of # you're on staging area @ commit A # make some untracked changes and cons
11.
▲
by
dubi_steinkek
2y ago
It's possible but I would prefer to just pass &str at that point, leading to less monomorphizations and a simpler API
12.
▲
by
dubi_steinkek
3y ago
This seems to be a somewhat common occurrence. When I was first learning programming with python I wanted multiple balls in a pong-like game, so after some googling I ended up writing something like `globals()["ball" + i]` until s