Skip to main content
Commonmark migration
Source Link

##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 an Int32 or an Int64 (the 1 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

##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 an Int32 or an Int64 (the 1 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

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 an Int32 or an Int64 (the 1 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

added 2 characters in body
Source Link
totallyhuman
  • 17.3k
  • 3
  • 32
  • 88

##Julia 14 13 bytes

n->8sizeof(1)

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 an Int32 or an Int64 (the 1 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

##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 an Int32 or an Int64 (the 1 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

##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 an Int32 or an Int64 (the 1 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

added 81 characters in body
Source Link

##Julia 1414 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 an Int32 or an Int64 (the 1 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

##Julia 14 bytes

()->8sizeof(1)

Explain:

  • Anon function, returning an integer 32, or 64
  • Integer literals are of type Int which depending if 32 bit or 64 bit, is either an Int32 or an Int64 (the 1 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.

##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 an Int32 or an Int64 (the 1 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

Source Link
Loading