Java JDK 32 bits vs 64 bits

前端 未结 2 2021
别那么骄傲
别那么骄傲 2021-01-18 04:07

I am creating a quite simple application which reads and display text files and search through them.

I am asking myself if there is any interest for me to propose 32

2条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-18 04:27

    The only differences between 32-bit and 64-bit builds of any program are the sizes of machine words, the amount of addressable memory, and the Operating System ABI in use. With Java, the language specification means that the differences in machine word size and OS ABI should not matter at all unless you're using native code as well. (Native code must be built to be the same as the word-size of the JVM that will load it; you can't mix 32-bit and 64-bit builds in the same process without very exotic coding indeed, and you shouldn't be doing that with Java about.)

提交回复
热议问题