News for hackers. Stuff that matters.
Re:Android: The Land That Python Forgot by chrismonsanto on Sunday November 10, 2013 @06:10AM (#6706034)
To be pedantic, assembly languages do generally have multiple types, if by 'type' we mean 'a set of values disjoint from other sets of values'. For example, x86 has the types integer, floating point, MMX, SSE, and registers of these types cannot be confused for each other. It's just that these classifications/types aren't so useful, and we can't make our own (and perhaps all we really wanted was a distinction between integer and pointer)
Re:Android: The Land That Python Forgot by justincormack on Sunday November 10, 2013 @06:25AM (#6706066)
Historically they didnt, until hardware floating point wired up some registers to special hardware. Which is why C lets you cast; BCPL just has bit patterns.