Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
briantkelley
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
briantkelley
4y ago
> Rust would not have failed to compile at step one necessarily. True. In this case there was old code and new code. I assumed in a hypothetical hybrid Rust codebase, bindgen would be used to bring the types in old code to Rust, so the c
2.
▲
by
briantkelley
4y ago
> My point was that data can be corrupted due to logic bugs as well For sure. But in the 10+ years I worked on Office, I spent far more time per UB bug than logic bugs. 1 UB bug could take weeks to fix. I don’t recall any logic bug takin
3.
▲
by
briantkelley
4y ago
> it's worth thinking about whether it's worth it. Totally agree we need to evaluate the trade offs of various paradigms. But, I think the most important aspect to understand is the impact on maintenance as opposed to writin
4.
▲
by
briantkelley
4y ago
IIRC, that specific bug was due to a few issues: 1. Mismatched type definitions in different translation units caused an implicit 32 to 16 bit conversion. 2. An addition to the 16 bit value overflowed, causing it to become negative. (The “r
5.
▲
by
briantkelley
4y ago
> Users don't care if you wrote it in Rust Totally agree! But they do care if Word corrupts a document that’s been open for 10 days (a bug that a principal engineer spent many, many weeks hunting down). > If you take 20% longer t
6.
▲
by
briantkelley
4y ago
I’m curious why we see so many papers and discussions about the difficulty in writing Rust relative to other languages. I would like to see more analyses of total cost of ownership. Yes, Rust requires approaching writing code somewhat diffe
7.
▲
by
briantkelley
4y ago
I totally agree with the author’s summary: > That trepidation and sinking feeling of “What are they going to break this time?” every time the WWDC’s date approaches, has been wearing me down in the past few years. What one should feel, i
8.
▲
by
briantkelley
5y ago
I worked on Word for years. Office has thousands of files over 10,000 lines with, uh, various degrees of test coverage and comprehensibility. After some time and experience, your mental model of the architecture ends up being way more impor