Viewing profile — kobebrookskC3
kobebrookskC3
HN member- Joined
- Thu, Apr 15, 2021, 2:03 PM UTC
- HN karma
- 84
- Public activity
- 98 items
- HN profile
- View on Hacker News ↗
About kobebrookskC3
No profile information was provided.
Recent public activity
-
comment
Comment #48552073
china seems to be doing fine. what are you gonna do, tariff the country that makes all your stuff? 100% tariff on iphones and macbooks?
-
comment
Comment #48216371
> Constructing an invalid pointer in rust is UB no, it is dereferencing, not constructing, an invalid pointer, that is UB. there is even a safe function provided to construct an in…
-
comment
Comment #48150440
is the fact that CHERI works better with C/C++ because of C/C++'s "anything goes" attitude, or simply that any hardware design that didn't support C/C++ well was discarded?
-
comment
Comment #47813411
> simply by adding the formal verification that proves the safety which will work automatically "simply" and "formal verification" are usually oxymorons, never mind "automatically"…
-
comment
Comment #47256120
i was responding this claim > It would be perfectly possible to design a variant of Rust that gets you to 80-90% of Rust's usability, with the same safety, without macros. i then p…
-
comment
Comment #47256013
but without macros, how would you expose a safe interface? fn pin(x: T) -> Pin { ... } would move the value
-
comment
Comment #47247035
no, you just missed my point. expanding the implementation is not a safe abstraction. show me how you'd implement the functionality of the pin macro as a safe abstraction.
-
comment
Comment #47241181
yes, but the code inside is unsafe. the pin macro is like a safe function.
-
comment
Comment #47241122
the macro uses unsafe inside, so that's another instance of unsafe you'll need to check, whereas the pin macro is like a safe function
-
comment
Comment #47234594
how would you implement https://doc.rust-lang.org/stable/std/pin/macro.pin.html without macros? a macro is used to shadow the original variable so that you can't move it (safely) a…
-
comment
Comment #46807095
isn't that more like optimistic concurrency control?
-
comment
Comment #46119885
> and you dont really have the choice - every society you could choose to be in, with the exception of yourself being a dictator, will have such people in ancient times, you could …
-
comment
Comment #45884324
> engineers are expected to read the data sheet even if you know what the data sheet says, it's easier said than done, especially when the tool gives you basically no help. you are…
- comment
-
comment
Comment #45847748
in my mind it would be doing what fil-c does for c to unsafe rust: a hypothetical memory safe implementation of unsafe rust using the same methods fil-c does e.g. gc
-
comment
Comment #45846753
what would fil-rust do that miri doesn't?
-
comment
Comment #45830670
> With non-deterministic tests I would always wonder if it's going to fail randomly after the code is already in production. if you didn't use property-based testing, what are the …
-
comment
Comment #45770920
it seems like the clean syntax makes the type checker's life harder and so performance is unacceptable. would you rather have clean syntax or acceptable compile times?
-
comment
Comment #45759943
そんな暇ねぇよ
-
comment
Comment #45708987
if it was in c, who knows how many memory corruption bugs would be found before they stumbled upon this...
-
comment
Comment #45492021
they are memory safe
-
comment
Comment #45488726
swift and rust?
-
comment
Comment #45487114
in this example, aren't the scoping rules for c pretty much the same? what do the annotations for the tool look like? is the analysis local, in that it doesn't look into the bodies…
-
comment
Comment #45482362
> there are products that offer memory-safety proofs for C what does the c checked by this tool look like? for an example like https://play.rust-lang.org/?version=stable&mode=debug…
-
comment
Comment #45472307
stomping on in-bounds data might result in "nondeterminism", but bounded and not ub, which is unbounded.