Live data from Hacker News

Viewing profile — dist1ll

dist1ll

HN member
Joined
Sun, Mar 06, 2022, 5:23 PM UTC
HN karma
1,582
Public activity
386 items

About dist1ll

Working on RISC-V, operating systems and compilers.

https://alic.dev

https://github.com/dist1ll

Recent public activity

  1. comment
  2. comment
    Comment #46598708

    Your MS-01 routes line-rate 25Gbps in software with VyOS w/o kernel bypass? That's very surprising to me. At what packet sizes?

  3. comment
    Comment #46361969

    Sorry for the OT response, I was curious about this comment[0] you made a while back. How did you measure memory transfer speed? [0] https://news.ycombinator.com/item?id=38820893

  4. comment
    Comment #46336238

    The Aurora paper [0] goes into detail of correlated failures. > In Aurora, we have chosen a design point of tolerating (a) losing an entire AZ and one additional node (AZ+1) withou…

  5. comment
    Comment #46335751

    > "surely if I send request to 5 nodes some of that will land on disk in reasonably near future?" That would be asynchronous replication. But IIUC the author is instead advocating …

  6. comment
    Comment #46335733

    Is there more detail on the design of the distributed multi-AZ journal? That feels like the meat of the architecture.

  7. comment
    Comment #46217224

    As long as your target language has a strict define-before-use rule and no advanced inference is required you will know the types of expressions, and can perform type-based optimiz…

  8. comment
    Comment #46157645

    I would argue that stateful services (databases, message queues, CDNs) all perfectly fit the unikernel model. The question is whether the additional engineering effort and system d…

  9. comment
    Comment #46107549

    Another one is "jalr x0, imm(x0)", which turns an indirect branch into a direct jump to address "imm" in a single instruction w/o clobbering a register. Pretty neat.

  10. comment
    Comment #45981272

    I do use a combination of newtyped indices + singleton arenas for data structures that only grow (like the AST). But for the IR, being able to remove nodes from the graph is very i…

  11. comment
    Comment #45975387

    Sure, these days I'm mostly working on a few compilers. Let's say I want to make a fixed-size SSA IR. Each instruction has an opcode and two operands (which are essentially pointer…

  12. comment
    Comment #45975023

    If that's the case then hats off. What you're describing is definitely not what I've seen in practice. In fact, I don't think I've ever seen a crate or production codebase that doc…

  13. comment
    Comment #45974872

    For iteration, yes. But there's other cases, like any time you have to deal with lots of linked data structures. If you need high performance, chances are that you'll have to use a…

  14. comment
    Comment #45974627

    > every unwrap in production code needs an INFALLIBILITY comment. clippy::unwrap_used can enforce this. How about indexing into a slice/map/vec? Should every `foo[i]` have an infal…

  15. comment
  16. comment
  17. comment
  18. comment
    Comment #45284990

    WASM traps on out-of-bounds accesses (including overflow). Masking addresses would hide that.

  19. comment
    Comment #45087306

    Ditto. Perfect hashing strings smaller than 8 bytes has been the fastest lookup method in my experience.

  20. comment
    Comment #45071099

    > because that is what it means in mathematics Personally, I think this argument only holds water for languages that are rooted in mathematics (e.g. Haskell, Lean, Rocq, F*, ...). …

  21. comment
    Comment #45070345

    Intel still does it. As far as I can see they're the only player in town that provide open, detailed documentation for their high-speed NICs [0]. You can actually write a driver fo…

  22. comment
    Comment #44867457

    > While latency from a conventional CDN is usually So since magecdn is built on top of Cloudflare, how do they guarantee low latency?

  23. comment
    Comment #44743946

    It's fascinating to me how the values and priorities of a project's leaders affect the community and its dominant narrative. I always wondered how it was possible for so many peopl…

  24. comment
    Comment #44562796

    You can get pretty far with a branch per byte, as long as the bulk of the work is done w/ SIMD (like character classification). But yeah, LUT lookup per byte is not recommended.

  25. comment
    Comment #44421603

    OP works for Red Hat, and some of the tests require booting systems with 64k pages. What surprises me more is why Red Hat doesn't provide them with the proper hardware..