4 ms·
And yet machine code is basically untyped and fully dynamic. The world of computing is a strange place.
by baq 3y ago
And yet machine code is basically untyped and fully dynamic. The world of computing is a strange place.
- civilitty 3y agoMachine code is type erased, not really untyped.
- nerdponx 3y agoIf you squint, you could say the same about Python code that's been checked with Mypy.
- shadowgovt 3y agoAt the machine layer, the machine is doing symbol manipulation on bit patterns. Whether those symbols ultimately mean anything is entirely up to the eventual observer of the end result. The concept of "types" breaks down at this level much like the concept of "a dog" breaks down at the atomic level.
- baq 3y agoIt's an implementation detail of popular architectures nowadays. It doesn't have to be like this. E.g. https://en.wikipedia.org/wiki/Tagged_architecture https://en.wikipedia.org/wiki/Tagged_architecture