Live data from Hacker News

Viewing profile — whytevuhuni

whytevuhuni

HN member
Joined
Sat, Sep 30, 2023, 5:45 AM UTC
HN karma
397
Public activity
236 items

About whytevuhuni

No profile information was provided.

Recent public activity

  1. comment
    Comment #49141749

    > Tell me why you think you're right. The more verification you do, the more likely it is for a program to be correct. Lean towards Assembly, and you get less correctness, but lean…

  2. comment
    Comment #49138627

    > * laugh track deafening * No shallow dismissals please, tell me why you think I'm wrong. > Rust is not a major advance over C/C++ Rust adds the borrow checker (and especially wit…

  3. comment
    Comment #49136210

    The Blub Paradox [1]. Granted I doubt how true that is, I always understood the benefits of languages like Haskell and Ada/SPARK, it's just that pragmatically speaking I want begin…

  4. comment
    Comment #49136071

    Many Rust proponents are experienced C programmers (me as an example). We speak of the horrors of C/C++ precisely because we've seen both sides (3 sides more specifically), and can…

  5. comment
    Comment #49136047

    Yes, except imagine the distance in correctness between Assembly and C, and triple it. Less so compared to C++ of course. The sentiment of "if it compiles it probably works" for la…

  6. comment
    Comment #49119553

    How much of Valhalla is this? 50% of it? 90% of it?

  7. comment
    Comment #49084129

    Probably dance.

  8. comment
    Comment #49065907

    Yeah, this has come up a few times when I was coding Rust. From just reading your code I know for sure that i is a usize (indexing is very common), but don't know what j is (I usua…

  9. comment
    Comment #49065716

    In production you generally want your code to not be 1.5x-2x slower than C/C++, otherwise people will ditch your whole language with all its other benefits in pursuit of performanc…

  10. comment
    Comment #49056959

    Rust helps prevent some race conditions, but an unqualified "prevents race conditions" sounds like it eliminates them, hence why GP says it does not.

  11. comment
    Comment #48985155

    > So you haven't understood the distinction or you're letting your feelings for software get the best of you. Maybe? I'm not sure. > The proof that there are no (for rust's definit…

  12. comment
    Comment #48979055

    I’ve understood the distinction. I just don’t like you equating “actually not safe” with “worthless”.

  13. comment
    Comment #48978243

    Of course, but even the presence of CVEs does not make software worthless, it just makes it worth less.

  14. comment
    Comment #48977864

    But code is not mathematics, so incorrect code is not worthless, it’s just worth less. It’ll most likely still do 99% of the things people need it to do, there’ll be a an issue cre…

  15. comment
    Comment #48977720

    Only ~4% of code is inside an unsafe block, so the idea is that for new code/contributions, the chance of introducing a new memory-safety bug is an order of magnitude lower. Maybe …

  16. comment
    Comment #48951076

    If cve-rs exists, we still say that safe Rust is safe, in the same way that we say Python is safe despite potential bugs in its interpreter or native libraries, and that Java is sa…

  17. comment
    Comment #48943764

    > "unsafe" is in practice often needed for performance in Rust That's the power of Rust, not a limitation of it. Rust thrives on its ability to provide safe interfaces over unsafe …

  18. comment
    Comment #48884633

    > honestly thats the biggest problem with rust, they come up with a lot of useful changes but then take ages to stabilize because the core team is overworked On the contrary, that …

  19. comment
    Comment #48878931

    GP is referring to the article's title, as in "safe Rust", as in "Rust with no unsafe keyword", as in whether it has undefined behavior or not. Granted the premise is rather brittl…

  20. comment
    Comment #48864376

    And also one I'd like to see in more languages! Especially a simpler one, closer to C.

  21. comment
    Comment #48850456

    > If you don't use panics, you don't get the machinery. I'm not using panics, and yet I'm getting the machinery. That is where my frustration is coming from.

  22. comment
    Comment #48849154

    It is a fundamental language limitation, unless you want to claim that the core library (or rather what's left when using no_std) is not part of the language. The problem comes fro…

  23. comment
    Comment #48841735

    I tried to use Rust for a tiny microcontroller (GD32VF103, 128KB flash). First of all, I was amazed by how much I could do with Rust ( safe Rust, even), and how well it was interfa…

  24. comment
    Comment #48841619

    Pretty much everything except Haskell and the like can be considered as such. That's because closely following PL theory isn't always the right goal for a language. Ergonomics and …

  25. comment
    Comment #48797252

    Languages, no. But for language-agnostic package managers, Nix/Guix and Gentoo are similar. Sadly, Gentoo is not great for managing per-project dependencies in the same way as is d…