|
| 1 | +--- |
| 2 | +layout: post |
| 3 | +nav-class: dark |
| 4 | +categories: matt |
| 5 | +title: Decimal is Accepted and Next Steps |
| 6 | +author-id: matt |
| 7 | +author-name: Matt Borland |
| 8 | +--- |
| 9 | + |
| 10 | +After two reviews the Decimal ([https://github.com/cppalliance/decimal](https://github.com/cppalliance/decimal)) library has been accepted into Boost. |
| 11 | +Look for it to ship for the first time with Boost 1.91 in the Spring. |
| 12 | +For current and prospective users, a new release series (v6) is available on the releases page of the library. |
| 13 | +This major version change contains all of the bug fixes and addresses comments from the second review. |
| 14 | +We have once again overhauled the documentation based on the review to include a significant increase in the number of examples. |
| 15 | +Between the `Basic Usage` and `Examples` tabs on the website we believe there's now enough information to quickly make good use of the library. |
| 16 | +One big quality of life worth highlighting for this version is that it ships with pretty printers for both GDB and LLDB. |
| 17 | +It is a huge release (1108 commits with a diff stat of >50k LOC), but is be better than ever. |
| 18 | +I expect that this is the last major version that will be released prior to moving to the Boost release cycle. |
| 19 | + |
| 20 | +Where to go from here? |
| 21 | + |
| 22 | +As I have mentioned in previous posts, the int128 ([https://github.com/cppalliance/int128](https://github.com/cppalliance/int128)) library started life as the backend for portable arithmetic and representation in the Decimal library. |
| 23 | +It has since been expanded to include more of the standard library features that are unnecessary as a back-end, but useful to many people like `<format>` support. |
| 24 | +The last major update that I intend to make to the library prior to proposal for Boost is to add CUDA support. |
| 25 | +This would not only add portability to another platform for many users, it would open the door for Decimal to also have CUDA support. |
| 26 | +I will also be looking at a few of our performance measures as I think there are still places for improvement (such as signed 128-bit division). |
| 27 | + |
| 28 | +Lastly, towards the end of this quarter (March 5 - March 15), I will be serving as the review manager for Alfredo Correa's Multi ([https://github.com/correaa/boost-multi](https://github.com/correaa/boost-multi)) library. |
| 29 | +Multi is a modern C++ library that provides manipulation and access of data in multidimensional arrays for both CPU and GPU memory. |
| 30 | +Feel free to give the library a go now and comment on what you find. |
| 31 | +This is a very high quality library which should have an exciting review. |
0 commit comments