Live data from Hacker News

Viewing profile — caim

caim

HN member
Joined
Fri, Jun 27, 2025, 8:19 PM UTC
HN karma
9
Public activity
15 items

About caim

No profile information was provided.

Recent public activity

  1. comment
    Comment #44552228

    funny thing is that Malloc also behaves like an arena. When your program starts, Malloc reserves a lot of memory, and when your program ends, all this memory is released. Memory Le…

  2. comment
    Comment #44544245

    I really didn't expect that from the land of freedom. /s

  3. comment
    Comment #44543349

    - lol people really say whatever comes to their mind around here don't they? Apple literally hired Chris Lattner in 2005 and made a team to work on LLVM. After GNU refused to integ…

  4. comment
    Comment #44543194

    Swift has its own ABI and calling convention, so that makes sense that Apple adapted to it. The system v abi doesn't say anything about syscall. Windows x86_64 abi is the same abi …

  5. comment
    Comment #44538335

    You right. Always good to remember that Apple was and still is the main company behind LLVM. Swift was built and its maintained by the same time that worked in LLVM. And also, Swif…

  6. comment
    Comment #44538300

    Wow, thanks! I didn't know this project. To parse C++ you need to perform typecheck and name resolution at the same time. And C++ is pretty complex so it's not a easy task.

  7. comment
    Comment #44537798

    Just parsing C++ is already a freaking hell. It's no wonder that every other day a new mini C compiler drops in, while no one even attempts to parse C++.

  8. comment
    Comment #44537755

    That's great! Interop with C++ is such a complex task. Congratss on your work! It's definitely not an easy thing. I've always wondered what is the best way to interact with C++ tem…

  9. comment
    Comment #44537663

    C ABI is the system V abi for Unix, since C was literally created for it. And that is the abi followed by pretty much any Unix successor: Linux, Apple's OS, FreeBSD. Windows has it…

  10. comment
    Comment #44515484

    Yep, that's true. But multiple immutable shared references are a form of contraction, while mutable references are actually affine. Swift doesn't have references like Rust, and you…

  11. comment
    Comment #44514995

    Yeah, that makes sense. The Rust type system isn't "affine" as in affine logic. Rust allows different forms of contraction, which affine logic strictly prohibits. And some people l…

  12. comment
    Comment #44514928

    Great work! Also, the error messages are neat!

  13. comment
    Comment #44514903

    The main point of Affine logic is that it doesn't allow contraction, and the Rust type system does allow different forms of contraction. How exactly is Rust an "affine language"? A…

  14. comment
    Comment #44495468

    Funny thing is that you can get undefined behavior and segfaults using only "safe rust", and the rust compiler has subtle bugs that allow you to disable important checks (like type…

  15. comment
    Comment #44399909

    And how would you conclude that "fast"? You can have UB in "safe rust". https://github.com/Speykious/cve-rs You can even disable the Type check, trait check and borrow check in "sa…