Why do i need to import a freaking module to use int128?

IGotD- nise at nise.com
Mon Nov 27 13:01:12 UTC 2023


On Monday, 27 November 2023 at 12:20:23 UTC, ryuukk_ wrote:
> Literally the worst idea ever, is this javascript?
>
> Don't make people want to choose something else 
> https://ziglang.org/documentation/master/#toc-Primitive-Types
>
> A module for a database driver? yes
>
> A module for abstracting networking? yes
>
> A module for formatting text? yes
>
> A module for primitive types? NO, stop everything you do and 
> think about the purpose of your language

Question, because int128 is a library type, does it mean that the 
code is less optimized compared to if the int128 would be a built 
in type?


More information about the Digitalmars-d mailing list