3 ms·
So zig doesn't support 64bit arithmetics on 32/16/8bit architectures? What about division? Quite a few hardware don't support division( https://community.arm.co
by xfer 5y ago
So zig doesn't support 64bit arithmetics on 32/16/8bit architectures? What about division? Quite a few hardware don't support division( https://community.arm.com/developer/ip-products/processors/b/processors-ip-blog/posts/divide-and-conquer https://community.arm.com/developer/ip-products/processors/b...).
> The very concept of operator overloading is incompatible with such a guarantee.
Why would operator overloading allocate memory? The memory is already allocated(by the user) when you call with the operands.
- dinglejungle 5y ago> Why would operator overloading allocate memory? What if I wanted to overload the + operator to concatenate strings?
- xfer 5y agoYes that was poorly thought out. I realized it after i commented. There is definitely some merit in being puritanical about not having any allocations in operators.