Live data from Hacker News

Viewing profile — kobebrookskC3

kobebrookskC3

HN member
Joined
Thu, Apr 15, 2021, 2:03 PM UTC
HN karma
84
Public activity
98 items

About kobebrookskC3

No profile information was provided.

Recent public activity

  1. 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?

  2. 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…

  3. 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?

  4. 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"…

  5. 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…

  6. comment
    Comment #47256013

    but without macros, how would you expose a safe interface? fn pin(x: T) -> Pin { ... } would move the value

  7. 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.

  8. comment
    Comment #47241181

    yes, but the code inside is unsafe. the pin macro is like a safe function.

  9. 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

  10. 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…

  11. comment
    Comment #46807095

    isn't that more like optimistic concurrency control?

  12. 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 …

  13. 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…

  14. comment
  15. 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

  16. comment
    Comment #45846753

    what would fil-rust do that miri doesn't?

  17. 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 …

  18. 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?

  19. comment
    Comment #45759943

    そんな暇ねぇよ

  20. comment
    Comment #45708987

    if it was in c, who knows how many memory corruption bugs would be found before they stumbled upon this...

  21. comment
    Comment #45492021

    they are memory safe

  22. comment
    Comment #45488726

    swift and rust?

  23. 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…

  24. 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…

  25. comment
    Comment #45472307

    stomping on in-bounds data might result in "nondeterminism", but bounded and not ub, which is unbounded.