Viewing profile — Gankro
Gankro
HN member- Joined
- Mon, Dec 01, 2014, 4:25 PM UTC
- HN karma
- 1,476
- Public activity
- 234 items
- HN profile
- View on Hacker News ↗
About Gankro
No profile information was provided.
Recent public activity
-
comment
Comment #21491646
Yeah motivation is the bigger factor (why would Mozilla care about the system APIs of an OS, of all things?) but also it doesn't hurt that Apple is one of the richest companies in …
-
comment
Comment #21491557
It's literally true that Rust tried and failed in the sense that Rust's early design was extremely similar to Swift's, polymorphic compilation and all, and it was thrown out when i…
-
comment
Comment #21491501
More accurately I worked on stdlib stuff for both, with a focus on collections. It's just that this naturally pushes you into minoring in language design and majoring in the low-le…
-
comment
Comment #21108397
Yeah the smearing approach is the only one that merits a callout from my position in the pipeline, because the other approaches are handled by your shaper or rasterizer, which are …
-
comment
Comment #21108253
I mainly prioritize making my pages work reasonably with different zooms and window sizes, since all I really know for certain is that there's no ideal for everyone. The font setti…
-
comment
Comment #21108228
Yeah there's a reason all my examples use the same ~3 languages, and only a few random fragments from them. You just need a few examples that demonstrate that something can happen.…
- story
-
comment
Comment #18443291
To elaborate on the float example, see JSON, where text-based representations of numbers has led to massive incompatibilities among different parsers and generators. The original "…
-
comment
Comment #15766153
Ultimately it boils down to the fact that there's basically no interesting difference between an immutable reference to a primitive and the primitive itself in Rust. It can't dangl…
-
comment
Comment #15444151
There will only be minimum requirements for GL/DirectX versions. I believe we require GLES 3.1, and then whatever DX version Angle turns that into.
-
comment
Comment #15041282
even more clearly: webrender is "the stuff that works pretty ok and we can run through CI". In principle enabling webrender should get you the ~same results as not having it on, vi…
-
comment
Comment #14903566
Yes, let us never forget how many exploits there are in trivial codecs like ICO and BMP, because they're written in C(++): https://bugzilla.mozilla.org/show_bug.cgi?id=775794#c0
-
comment
Comment #14817435
Yeah when we do named args it will very likely be based on Swift, but a bit different due to backwards compat and the desire to integrate it into existing methods like Vec::from_ra…
-
comment
Comment #14556959
To clarify: C says it's UB, C++ rounds up to 1.
-
comment
Comment #14554674
Do you mean: * All unsafe operations don't exist. * All unsafe operations exist, but the literal unsafe keyword and its machinery doesn't exist The latter is how most ostensibly sa…
-
comment
Comment #14553628
Re: parameterized unsafe -- I think it's been discussed and rejected, I don't remember where. I think it was mostly a matter of "yes this would be more powerful, but the complexity…
- story
-
comment
Comment #14519219
Note that a lot of these optimizations aren't necessary in Rust -- e.g. list fusion is only valuable in Haskell because mapping over lists is exposed as a one-shot operation that p…
-
comment
Comment #14519078
Yeah the only thing that Rust might have over C, in terms of really optimized implementations, is low-level idioms that C declares to be UB, but Rust declares to be defined (genera…
-
comment
Comment #14301688
Yeah dropck is a fun little gem, which has received several post-1.0 revisions due to soundness problems. I agree the system you propose would be simpler in terms of spec and effor…
-
comment
Comment #14301575
This is really ignoring how relevant and affine types interact with different features. For example, unwinding makes perfect sense with affine, not so with relevant. Rust has unwin…
-
comment
Comment #14301415
Literally the only link in the article, on the first use of the Official Terminology, is a link to the wikipedia page that defines all the terms.
- story
-
comment
Comment #13862179
Honestly I just think distros and package managers are the busted ones here. LLVM is strongly coupled to your language's semantics, and I'm unaware of any good reason to force ever…
-
comment
Comment #13716324
Ah good point. It could be that the first-preimage attack gets you exactly X, in which case it fails to handle second-preimage. I would expect this to be incredibly unlikely (espec…