Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nickitolas
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
nickitolas
3y ago
Speaking as another native spanish speaker, I also basically never use accents. I sometimes add them by applying spellchecker suggestions in formal writing (Work emails, etc) when I see the red squiggles.
32.
▲
by
nickitolas
3y ago
Lately I've been forcing myself to finish books since I'm learning a new language and half the point of reading the book is practicing reading in that language. And in this case the struggle might just be related to lacking langua
33.
▲
by
nickitolas
3y ago
Blowing the cover on someone's online persona (And using the wrong pronouns for that persona's work) seems pretty rude to me
34.
▲
by
nickitolas
3y ago
Some context was given here: https://blog.rust-lang.org/inside-rust/2023/04/12/trademark-... This isn't "The Rust Foundation went and Did It". AFAIK it's more like "The Project h
35.
▲
by
nickitolas
3y ago
This post is not from the "Foundation", it's from "Rust the Project" (i.e the people who make rust). Or at least it's the "Rust Project" leadership and such. So talking about the "foundation"
36.
▲
by
nickitolas
4y ago
Isn't the difference in it being required, and opt-out (unsafe) in rust, but opt-in here? Also, my understanding is the rust compiler guarantees "soundness" in safe rust, so it checks and validates that the function signature
37.
▲
by
nickitolas
4y ago
FWIW according to https://github.com/bazel-contrib/SIG-rules-authors/issues/11... a commitment was made, although in an exchange in some support ticket, and not in documentation.
38.
▲
by
nickitolas
4y ago
He claimed he only missed "a few days", and that he had given advance notice 1-2 months of notice. I don't see the problem with that.
39.
▲
by
nickitolas
4y ago
Could you elaborate on 13-16? I have no idea what you could possibly mean, and the linked blog post doesn't help. As far as I know UB needs to execute for it to apply and make a program invalid. The linked rust blog post is about how i
40.
▲
by
nickitolas
4y ago
The blog post does not support the assertion that unreachable UB which is not executed is a problem. It starts by saying > The Rust compiler has a few assumptions that it makes about the behavior of all code. Violations of those assumpti
41.
▲
by
nickitolas
4y ago
The layout is guaranteed and documented as thus: https://doc.rust-lang.org/std/option/#representation > Rust guarantees to optimize the following types T such that Option<T> has the same size as T: >
42.
▲
by
nickitolas
4y ago
The comment very explicitly said "passively" which is the opposite of "actively": > Passively destroying Twitter from within by not trying
43.
▲
by
nickitolas
4y ago
If it's read only, you can definitely want that, right? As long as the elements are Sync. And it should work (You might have a problem with the cleanup, but Arc or scoped threads should handle that). The problem is when one is a mutabl
44.
▲
by
nickitolas
4y ago
It's not just about that. What rust sees is you are calling two functions: the len() function with a shared reference, and the indexing operator implementation for the Vec's [] (Which is just a function) with a mutable reference,
45.
▲
by
nickitolas
4y ago
Isn't this already addressed by the GCC backend for rustc? (Via libgccjit)
46.
▲
by
nickitolas
4y ago
I doubt it, specially if you compare agains the GCC rustc backend. I would expect most of the difference (If any) to come from the frontend. For example, if it doesn't do borrow checking, it might be able to shave off a bit of time. Bu
47.
▲
by
nickitolas
4y ago
That is actually going to happen for rustc itself via the rustc_codegen_gcc project ( https://github.com/rust-lang/rustc_codegen_gcc ), this post is about a different project that writes a "from scratch" rust f
48.
▲
by
nickitolas
4y ago
Standards are often incomplete, or full of "implementation specific" behaviour, since AIUI standards often end up catering to implementations, instead of the other way around (For example C/C++ standards, you can read a pleth
49.
▲
by
nickitolas
4y ago
> 1. GCC has more backends than LLVM Did you mean target platforms? If so, how is this not already addressed by the rustc gcc (Via libgccjit) backend?
50.
▲
by
nickitolas
4y ago
So it's not about platform support, but about toolchain integration? Who benefits from that, projects using C/C++ who want to use a rust library? Or is it about distro package maintainers?
51.
▲
by
nickitolas
4y ago
Do Julia devs not upstream their LLVM patches?
52.
▲
by
nickitolas
4y ago
> I think Drew makes a good point about the fact that distributions implicitly perform a 'review' step for packages, but I'm not certain I agree with the idea that leaving all packaging to distributions is the best approa
53.
▲
by
nickitolas
4y ago
1) When did this person insult him? Note that there was more than one microsoft person in that issue. 2) I don't get why so many people talk about this as if it were some horrible thing. I don't use my real name on discord the vas
54.
▲
by
nickitolas
4y ago
Yes, by targeting wine/proton/win32
55.
▲
by
nickitolas
4y ago
What exactly are you thinking of? There are very few things I can think of that rust cannot do when using unsafe (And one of the biggest is interacting with safe code ergonomically because of &mut/& guarantees like the noalias&
56.
▲
by
nickitolas
4y ago
Türkçe bilmediğim için google translate kullandığım için beni bağışlayın. Öncelikle, edindiğiniz incelemelerden bazılarını açıklamaya çalışmak istiyorum: Anladığım kadarıyla, kötü aktörler, sosyal deneyler veya tam şarlatanlar bir kereden f
57.
▲
by
nickitolas
5y ago
I think the familiarity might be a double edged sword, since AIUI the proposed operator has different semantics. "ptr~field~field2" is not "ptr->field->field2", it's more like "&(&ptr->field)-&
58.
▲
by
nickitolas
5y ago
No, this is specifically not creating a mutable reference. So it's fine except for the fact that writing via assignment like this calls the destructor/drop for the old value, if the type has a Drop implementation. That's why
59.
▲
by
nickitolas
5y ago
imo anyone claiming to "own the artwork" when talking about widely available digital media is talking about copyright, and if they're talking about something else, they're high
60.
▲
by
nickitolas
5y ago
My naive guess would be using hardware perf counters and checking cache misses
More ›