Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java-tron - Release linux/arm64 builds #4692

Closed
andreclaro opened this issue Sep 29, 2022 · 4 comments
Closed

Java-tron - Release linux/arm64 builds #4692

andreclaro opened this issue Sep 29, 2022 · 4 comments
Assignees
Labels
topic: Build compile error, jitpack

Comments

@andreclaro
Copy link

Description

Release linux/arm64 builds for java-tron.

Related Issues

Why this feature is important

@ethan1844 ethan1844 added the topic: Build compile error, jitpack label Sep 29, 2022
@halibobo1205
Copy link
Contributor

Due ExchangeProcessor use Math.pow to calculate instead of StrictMath.pow, Math.pow for jdk1.8_x86 being specially implemented.

In java8, the default behavior of Math is using any available FPU like 8087. The results of float operations might be platform-dependent.
In later versions, the default behavior changes and will use IEEE-float(SSE2 instructions). So you can't update JDK/JRE without a proposal-fork.

In detail, java-tron's double arithmetic will use x87 instructions. And is difficult to port to other languages or platform, since all modern languages use ieee-compatible and stable arithmetic for float numbers.

@ethan1844
Copy link
Contributor

Thanks for your contribution to java-tron, this issue will be closed as no update for a long time.

Please feel free to re-open it if you still see the issue, thanks.

@microcai
Copy link

microcai commented Dec 8, 2022

so, tron use java, but can only run on x86_64 ?

@halibobo1205
Copy link
Contributor

so, tron use java, but can only run on x86_64 ?

For tron, jvm only support Oracle JDK 1.8 x86_64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: Build compile error, jitpack
Projects
None yet
Development

No branches or pull requests

5 participants