English 中文(简体)
Java 小程序与64位整数
原标题:Java applets and 64 bit integers

我开始了一个象棋程序。在这个框架内,我在董事会的两个流行代表之间犹豫不决,这两个代表分别被称为 0x88 和 比特板。 比特板是最新开发的,正被顶级开放源算法之一( & gt; 手工艺) 使用。

位元板依赖于64位整数能够利用64位位数的低位登记器进行比特操作。 (我们知道我们可以有64位整数,也可以有32位整数机,但轮值等操作可能会适得其反)

鉴于 Java Applet 是一种“ 老”技术, 我的象棋小程式能否从64位建筑中获益? 如果客户端有这些建筑的话? 有没有什么限制 java Applet 以32位表示整数?

除了JVM的考虑之外,

最佳回答

在客户机上, Java Applets 通常在与 Java 常规应用程序相同的 JVM 中执行。 如果 Java Applets 支持 64 位硬件( 以及最近的 JVMs 支持), 那么小程序也会利用它。 苹果是一种“ 旧” 技术这一事实无关紧要 — — 它都建在 JVM 顶部, 并且决定与硬件的交互作用。

问题回答

java 整数按定义为 32 位数。如果需要 64 位数,可以使用很长的时间





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签