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

OCaml 5.1.0 announce and release page #1470

Merged
merged 11 commits into from
Sep 14, 2023
Merged

Conversation

Octachron
Copy link
Member

This is the work-in-progress version of the announce for the upcoming release of OCaml 5.1.0.

Comments are welcome. I am particularly interested on remarks on the highlights for this version, since those highlights tend to be colored by my own interests.

data/changelog/ocaml/2023-08-??-ocaml-5.1.md Outdated Show resolved Hide resolved
data/changelog/ocaml/2023-08-??-ocaml-5.1.md Outdated Show resolved Hide resolved
data/changelog/ocaml/2023-08-??-ocaml-5.1.md Outdated Show resolved Hide resolved
data/releases/5.1.0.md Outdated Show resolved Hide resolved
data/releases/5.1.0.md Outdated Show resolved Hide resolved
@avsm
Copy link
Member

avsm commented Aug 2, 2023

Might be worth mentioning the significant number of new functions added to the Stdlib too, since we mention existing functions have been augmented with TMRC.

- Restored support for RISC-V and s390x architectures.
- Restored Cygwin port.
- Reduced installation size (50% reduction)
- Compressed compilation artefacts (.cmi, .cmt, .cmti, .cmo, .cma files)
Copy link
Member

Choose a reason for hiding this comment

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

I would note that all OCaml packages, not just the compiler, benefit from this.

Copy link
Member Author

Choose a reason for hiding this comment

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

I have the impression that it would be a bit too heavy-handed for the brief list of highlights.

data/changelog/ocaml/2023-08-??-ocaml-5.1.md Outdated Show resolved Hide resolved
data/changelog/ocaml/2023-08-??-ocaml-5.1.md Outdated Show resolved Hide resolved
data/changelog/ocaml/2023-08-??-ocaml-5.1.md Outdated Show resolved Hide resolved
- There are a number of known runtime concurrency bugs (that triggers under
rare circumstances)

We are planning to address those regressions, hopefully in the next release OCaml 5.2.0. Meanwhile, the OCaml 4.14 branch will be maintained and the next release on the OCaml 4.14 branch, OCaml 4.14.2, should follow this release in the upcoming months.
Copy link
Member

Choose a reason for hiding this comment

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

I would prudently say that we are planning to address some of those regressions.

Copy link
Member Author

Choose a reason for hiding this comment

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

We are planning to address some of those regressions can be read as We already know that some of those regression will never be fixed. If the issue is the implicit 5.2 timeframe, I would propose:

We are planning to address those regressions, hopefully in time for the next 5.2.0 release for some of them.

?

Copy link
Member

Choose a reason for hiding this comment

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

Have we reached consensus on all of these changes?

Copy link
Member Author

Choose a reason for hiding this comment

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

Which part do you find non-consensual?


Some of the highlights in OCaml 5.1.0 are:

- Many runtime performance regression fixes (dynlinking, weak array, weak hash sets, GC with idle domains, GC prefetching).
Copy link
Member

Choose a reason for hiding this comment

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

  • Performance improvements: fix regressions compared to 4.x (dynlink, weak arrays and hash sets, restore GC prefetching), improve the GC scheduling to reduce memory usage in some cases (for example GC with idle domains).

Copy link
Member Author

Choose a reason for hiding this comment

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

Taking in account @kit-ty-kate and your remark, it is probably better to split the item in two between the GC fix and the performance fixes.

@Octachron
Copy link
Member Author

Just a head-up that the release for OCaml 5.1.0 is tomorrow.

@Octachron Octachron marked this pull request as ready for review September 14, 2023 08:54
@Octachron Octachron changed the title WIP: OCaml 5.1.0 announce and release page OCaml 5.1.0 announce and release page Sep 14, 2023
@sabine
Copy link
Collaborator

sabine commented Sep 14, 2023

Is this ready to merge?

@Octachron
Copy link
Member Author

The announce is ready to merge from my point of view. But we may wish to wait for ocaml/opam-repository#24433 to be merged. (I will ping this PR once this is the case).

@kit-ty-kate
Copy link
Member

The announce is ready to merge from my point of view. But we may wish to wait for ocaml/opam-repository#24433 to be merged. (I will ping this PR once this is the case).

merged. The official opam repository should take < 4 hours to build so that it is available for everyone. I’d recommend waiting for that

@Octachron
Copy link
Member Author

It looks like I somehow missed including the changelog, this is fixed now.

@kit-ty-kate
Copy link
Member

all good to go

@tmattio tmattio merged commit ef4a49b into ocaml:main Sep 14, 2023
3 checks passed
@tmattio
Copy link
Collaborator

tmattio commented Sep 14, 2023

Congrats on the release!

cuihtlauac pushed a commit that referenced this pull request Oct 2, 2023
* WIP: OCaml 5.1.0 announce

* One latest release only

* typo

* Review: highlights

* set OCaml 5.1.0 release date

* review

* minor grammar fixes

* Minor grammar formatting fixes

* OCaml 5.1.0: add missing changelog

* minor formatting / grammar fixes

* minor formatting change

---------

Co-authored-by: Christine Rose <christinerose@users.noreply.github.com>
cuihtlauac pushed a commit that referenced this pull request Oct 17, 2023
* WIP: OCaml 5.1.0 announce

* One latest release only

* typo

* Review: highlights

* set OCaml 5.1.0 release date

* review

* minor grammar fixes

* Minor grammar formatting fixes

* OCaml 5.1.0: add missing changelog

* minor formatting / grammar fixes

* minor formatting change

---------

Co-authored-by: Christine Rose <christinerose@users.noreply.github.com>
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.

None yet

7 participants