|
| 1 | +--- |
| 2 | +layout: post |
| 3 | +nav-class: dark |
| 4 | +categories: matt |
| 5 | +title: Looking at the Numbers |
| 6 | +author-id: matt |
| 7 | +author-name: Matt Borland |
| 8 | +--- |
| 9 | + |
| 10 | +We continue to make exciting progress developing new libraries for inclusion in Boost. |
| 11 | + |
| 12 | +# New Libraries |
| 13 | + |
| 14 | +## Decimal |
| 15 | + |
| 16 | +Decimal ([https://github.com/cppalliance/decimal](https://github.com/cppalliance/decimal)) is a ground-up implementation of IEEE 754 Decimal Floating Point types in C++14, co-authored with Chris Kormanyos. |
| 17 | +In January we had our formal review for inclusion in Boost. |
| 18 | +Unfortunately, we were not accepted, but we were also not rejected. |
| 19 | +There were a lot of comments that we have addressed in the past few months, and many other optimization path we are pursuing. |
| 20 | +We will look at doing a mini-review later in the year once we talk with our review manager, and the Boost community on the updated state of the library. |
| 21 | +The library is certainly better now than it was in Janurary, and will continue to improve over the coming months. |
| 22 | +We welcome users to try the library and provide feedback before we pursue a second review. |
| 23 | +Discussions are ongoing in the Cpplang Slack channel `#boost-decimal`. |
| 24 | + |
| 25 | +## int128 |
| 26 | + |
| 27 | +Int128 ([https://github.com/cppalliance/int128](https://github.com/cppalliance/int128)) is a small library that has more or less fallen out of work on Decimal. |
| 28 | +It provides two type: an unsigned 128-bit integer and a signed 128-bit integer. |
| 29 | +There are plenty of applications of 128-bit integers, but trying to make them portable is a pain. |
| 30 | +Since Decial uses 128-bit integers behind the scenes we decided to pull those parts out into their own library. |
| 31 | +We have optimizations for a variety of 32-bit and 64-bit platforms as we benchmark all commits extensivly. |
| 32 | +Look for this one to be announced shortly. |
| 33 | + |
| 34 | +## Crypt |
| 35 | + |
| 36 | +I know there are a few people interested in this library. |
| 37 | +Unfortunately, due to the above two libraries we did not have as much time for Crypt as we would have liked. |
| 38 | +We did make some improvements to memory safety, and contiue to make architectural improvements. |
| 39 | +This library will continue to develop over the coming months. |
| 40 | +We think it will be worth the wait. |
| 41 | + |
| 42 | +# Existing Libraries |
| 43 | + |
| 44 | +## Random |
| 45 | + |
| 46 | +By popular demand I added a number of PRNGs from the XOSHIRO Family (128, 256, and 512 bits) which shipped with Boost version 1.88. |
| 47 | +If you are unsure of which generator you need in your code this family of generators is a good starting point. |
| 48 | +Details and performance measurements can be found in the Boost.Random docs starting with Boost version 1.88. |
0 commit comments