Live data from Hacker News

Viewing profile — wasmperson

wasmperson

HN member
Joined
Fri, Jul 04, 2025, 6:29 PM UTC
HN karma
180
Public activity
72 items

About wasmperson

No profile information was provided.

Recent public activity

  1. comment
    Comment #49213974

    This reminds me of all the confused comments that pop up whenever someone calls plain HTML with forms and links a "REST API." "But APIs are for programs! People visiting websites a…

  2. comment
    Comment #49190832

    > Exceptions are a mechanism for resumable error-handling. Rust's `catch_unwind` function is a last-ditch mechanism for failure isolation Tomayto Tomahto. > I have seen many Rust p…

  3. comment
    Comment #49171908

    > When you're updating 23 if-statements because you had to add support for some new business workflow, you'll wish you had a conceptual entity that encapsulated the operations on t…

  4. comment
    Comment #49171711

    > I consider Clean Code to be in the category of books/styles that is helpful for early developers who need some structure Clean Code is unhelpful to beginners too, though: misuse …

  5. comment
    Comment #49139782

    Yes the support is still there, although official MS documentation no longer mentions it. Some of those headers rather flagrantly violate C's strict aliasing rules, which I suspect…

  6. comment
    Comment #49063465

    One good example of DoD which isn't CPU-cache-related is relational databases. When designing a CRUD application, the Data-Oriented way of doing it is to figure out what data you w…

  7. comment
    Comment #49063290

    I feel like DoD is one of those things that only makes sense after you already believe in it. There's a sort of KISS epiphany that you have to go through which I don't think the co…

  8. comment
  9. comment
    Comment #49048402

    It's hard for me to think of a definition of "exception" which doesn't include Rust's panics: use std::panic::catch_unwind; fn throws_exception(){ panic!("hello"); } fn main(){ mat…

  10. comment
    Comment #49042771

    Now it's your example that's too simple. I can't present a counter-example that wouldn't look totally different: if you avoid the indexing operator then trivially incorrect code li…

  11. comment
    Comment #49042342

    The worst part about rust not having exceptions is that it actually does have exceptions, you just shouldn't use them. All the downsides and none of the benefits: https://smallcult…

  12. comment
    Comment #49042178

    The way I see it, as far as memory safety is concerned that's just framing. Both Fil-C and Rust have a boundary below which the unsafe lives. If Fil-C is only safer than rust when …

  13. comment
    Comment #49042068

    Yes, rust didn't invent the concept of an iterator, and is thus not the only language which offers a solution to statically avoid bounds checks. Feel free to give a more "interesti…

  14. comment
    Comment #49041116

    This isn't entirely true. Rust's indexing operator performs a dynamic check but the language and stdlib have a number of ways to access array elements without indexing, which is ef…

  15. comment
    Comment #49041042

    > For example you can call mmap in Fil-C and it is still guaranteed to be memory safe, while in Rust you can easily violate memory safety by calling mmap. That's the thing, though.…

  16. comment
    Comment #49029053

    He claims that all syscalls are safe because they're implemented by his custom libc, but that libc then calls out to the system libc, where the system calls are unsafe. He then cla…

  17. comment
    Comment #48926746

    > Its their time to spend as they see fit. I'm complaining on these developers' behalf, not bemoaning them doing what they were more or less forced to do. If glibc decided tomorrow…

  18. comment
    Comment #48913790

    > If you're curious, and you too aren't in love with the "Modern frontend" philosophy I'm also going to hesitantly mention sveltekit. From the outside it looks like yet another JS …

  19. comment
    Comment #48911912

    Sure Wayland works fine. What you're not seeing is the hours and hours of volunteer labor wasted to get it to that point. Time that could have been spent working on features users …

  20. comment
    Comment #48909493

    I indeed did not know about this. There seem to be some caveats: https://anubis.techaro.lol/docs/admin/configuration/challeng... I guess for the meta refresh challenge it's less "p…

  21. comment
    Comment #48909087

    It's somewhat interesting to see the FSF's approach to this. From what I understand they can't really use something like anubis since they want their websites to be accessible with…

  22. comment
    Comment #48900799

    > but then product introduces a business rule where some fields need to be hidden when another option is selected somewhere function initWidget(root){ // Or a bunch of calls to doc…

  23. comment
    Comment #48882617

    Agreed. IME the main reason to choose arena allocators is for correctness, not speed. They make similar time/space tradeoffs to garbage collectors in that they grant higher allocat…

  24. comment
    Comment #48839591

    Thinking of it as a "stopping condition" is backwards, that part of the loop is called the invariant: https://en.wikipedia.org/wiki/Loop_invariant You should think of it as the con…

  25. comment
    Comment #48726962

    > without having to do any sudo commands or expose anything new to the network. Again I'm not understanding the distinction. I don't need to run sudo commands to install a web serv…