Replacement for WORD_SIZE in v0.6


I see a section in for what has changed here, but I have scripts failing since WORD_SIZE is no longer defined. What is the replacement we should be using? Thanks.


Sys.WORD_SIZE? This change was actually introduced in Julia 0.5:


I just ran across this, and also didn’t know how to proceed. The current deprecation warning on v0.5 doesn’t indicate the replacement:

julia> WORD_SIZE
WARNING: Base.WORD_SIZE is deprecated.
  likely near no file:0

and doesn’t mention WORD_SIZE explicitly.


( does actually mention WORD_SIZE explicitly… whoops!)