##Julia 14 13 bytes
Julia 14 13 bytes
n->8sizeof(1)
Explain:
- Anon function, taking anything (including
nothing
) returning an integer 32, or 64 - Integer literals are of type
Int
which depending if 32 bit or 64 bit, is either anInt32
or anInt64
(the1
could be any digit) - placing a number before a function call does a juxtaposition multiplication
- This is basically a minified version of the code for
Sys.WORD_SIZE
, used in rahnema1's answer
Other fun answer is ()->"$(Int)"[4:5]
, but I can't get the count down on that one.
-1 thanks to @Roman Gräf