Check Julia Application is 32- or 64-bit

Hello everyone,

I think there is a pretty easy solution, but I don’t find it on Discourse.JuliaLang or Google:

I want to check, if the Julia application that currently runs, is Julia 32- or 64-bit.

Important: I need the application’s information, not the OS’s (a 32-bit application might be executed on a 64-bit OS, so I want “32bit” as answer in this case).

Best regards!

Sys.WORD_SIZE.

3 Likes

Tested and works excellent, thank you very much!