Thoughts on Integers (2023)

(blog.xoria.org)

11 points | by mpweiher 4 days ago ago

2 comments

  • mike_hock an hour ago

    > C has a confusing array of machine-dependent types such as ptrdiff_t and size_t

    What's confusing about them? They're basically what int and unsigned int were supposed to be. It's just that they realized they had produced a pile of unextensible shit so they had to add new names.

    While they were at it, they produced the next version of unextensible shit so now int128 can't be added.

    • addaon an hour ago

      > they produced the next version of unextensible shit so now int128 can't be added

      It's hard to think of something more "added" (or, for that matter, more "extensible") than `_BitInt(128)`.