Replacement for WORD_SIZE in v0.6


#1

I see a section in News.md 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.


#2

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


#3

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
64

and NEWS.md doesn’t mention WORD_SIZE explicitly.


#4

(NEWS.md does actually mention WORD_SIZE explicitly… whoops!)