Skip to content

WiP Redesign the encoding of Longs in JavaScript + GCC v20240317 (JDK 17+). #5216

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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

sjrd
Copy link
Member

@sjrd sjrd commented Jul 30, 2025

Mostly to test that upgrading GCC actually fixes the issue and doesn't break anything else.

The requirement on JDK 17+ makes this a bit of a non-starter at this point. However, since Scala 3 is about to drop support under JDK 17, we might have a chance to do this in the coming ~year.

sjrd added 3 commits July 28, 2025 20:54
As a nice bonus, the IR checker now passes with `RuntimeLong`.
Sadly, that doesn't fix the GCC issue.

It may have performance, especially in multi-module outputs, as we
don't need to mutate a foreign var.
This fixes the issue where GCC breaks the output of the new
expanded RuntimeLongs.
@sjrd sjrd force-pushed the rt-long-expanded-with-newer-gcc branch from ded9630 to d6fcbb2 Compare July 30, 2025 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant