# Announcing Chapel 1.25.0!

**URL:** <https://chapel.discourse.group/t/announcing-chapel-1-25-0/7231>\
**Category:** Announcements\
**Created:** [September 24, 2021, 2:48pm UTC](https://chapel.discourse.group/t/announcing-chapel-1-25-0/7231 "2021-09-24T14:48:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bradcray](https://yyz2.discourse-cdn.com/free1/user_avatar/chapel.discourse.group/bradcray/32/72_2.png) [@bradcray](https://chapel.discourse.group/u/bradcray)\
**Post date:** [September 24, 2021, 2:48pm UTC](https://chapel.discourse.group/t/announcing-chapel-1-25-0/7231/1 "2021-09-24T14:48:25Z")

</div>

Dear Chapel community –

We’re happy to announce that Chapel version 1.25 was released yesterday!

[Homebrew users, please note: as is often the case, the [brew formula for 1.25](https://github.com/Homebrew/homebrew-core/pull/85813) is unfortunately lagging the rest of the release, and is currently under review]

This release represents a major shift in Chapel compilation, in which the LLVM back-end is now preferred over the traditional C back-end, and it will be used by default when an appropriate version is found on the system. When no such version is found, a user building from source is given the choice of installing one, building the bundled version of LLVM, or using the C back-end. For further details see the [`CHPL_LLVM` documentation](https://chapel-lang.org/docs/1.25/usingchapel/chplenv.html#chpl-llvm).

For users of HPE Apollo systems, this release includes a new `CHPL_[HOST|TARGET]_PLATFORM` setting, `hpe-apollo`, designed to simplify setup on such systems. Chapel 1.25.0 also generally improves performance on InfiniBand systems, and memory fragmentation has been significantly reduced.

Some general performance improvements in this release include faster creation of Block-distributed arrays and reduced overheads for common zippered `coforall` loop forms. The (off-by-default) `--auto-aggregation` flag has also been improved to apply in more cases.

In terms of the language and libraries, a few notable prototype features have been added:

- a [`foreach` loop](https://chapel-lang.org/docs/1.25/technotes/foreach.html) to indicate parallel loops that should only be implemented using vectorization or GPUs rather than multiple tasks, as with `forall` loops
- a [`manage` statement](https://chapel-lang.org/docs/1.25/technotes/manage.html) for context management, simplifying patterns that require actions at the beginning and end of a block scope
- an [`ArgumentParser` module](https://chapel-lang.org/docs/1.25/modules/packages/ArgumentParser.html) to simplify user-defined parsing of arguments sent to `main()`
- an [`OrderedMap` collection](https://chapel-lang.org/docs/1.25/modules/packages/OrderedMap.html)

While support for programming GPUs from native Chapel code is still in its early days, this release represents a significant step forward in terms of capabilities and elegance for GPU programming in Chapel. For more details, see the [GPU technical note](https://chapel-lang.org/docs/1.25/technotes/gpu.html).

Chapel's `ofi` communication option has improved significantly in terms of portability, robustness, and performance in this release, making Chapel increasingly capable on `libfabric`-based systems.

Finally, the `c2chapel` tool has been expanded to support generation of Chapel `extern` prototypes from C header files containing GNU extensions.

Beyond these changes, Chapel 1.25.0 continues our push towards a stable Chapel 2.0 release by improving names and behavior for many standard library routines and methods. It also contains numerous bug fixes, error message improvements, and feature enhancements.

For a more complete list of changes, please refer to [CHANGES.md](https://github.com/chapel-lang/chapel/blob/release/1.25/CHANGES.md).

To download and install the release, see: [Chapel: Download](https://chapel-lang.org/download.html).

And for a list of everyone who contributed to Chapel 1.25, please refer to [CONTRIBUTORS.md](https://github.com/chapel-lang/chapel/blob/release/1.25/CONTRIBUTORS.md).

As always, we’re interested in feedback on how we can make the Chapel language, implementation, libraries, and tools more useful to you and your work.

On behalf of the Chapel project,  
-Brad Chamberlain
