Skip to content

Announcing Scala.js 1.13.0. #598

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

Merged
merged 1 commit into from
Jan 26, 2023
Merged

Announcing Scala.js 1.13.0. #598

merged 1 commit into from
Jan 26, 2023

Conversation

sjrd
Copy link
Member

@sjrd sjrd commented Jan 25, 2023

For release tomorrow, if the reviews are fine by then.

@sjrd sjrd requested a review from gzm0 January 25, 2023 18:41
@sjrd
Copy link
Member Author

sjrd commented Jan 25, 2023

All good points. Updated.

@sjrd sjrd requested a review from gzm0 January 25, 2023 20:50
}
{% endhighlight %}

In some rare situations, this may turn code that appeared to work into actively throwing an exception.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sentence is very misleading now that it is after the config block. Have you considered moving it up.

As other undefined behavior errors, they will be reported as UndefinedBehaviorErrors in fastLink mode, and unchecked in fullLink mode.
In some rare situations, this may turn code that appeared to work into actively throwing an exception.

Further, these additional checks can and will slow down fastLink-generated code.
Benchmarks show slowdowns of anywhere between 0% and 17%.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes indeed, ouch. I amended it as you suggested.

@sjrd sjrd requested a review from gzm0 January 26, 2023 08:06
@sjrd sjrd merged commit 7632d04 into scala-js:main Jan 26, 2023
@sjrd sjrd deleted the scalajs-1.13.0 branch January 26, 2023 08:40
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.

2 participants