<html><head> <title></title> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> </head> <body><img id="5CCDA7940DD9E3239A77401DB537D352" alt="" width="0px" src="https://read-receipts.canarymail.io:8100/track/7B29FC21AF1BEFA3A8BB1A0EB7819AFA_5CCDA7940DD9E3239A77401DB537D352.png" height="0px"> <div id="CanaryBody"> <div> Hello,</div><div><br></div><div>A significant number of libraries are broken by the changes in unboxed types.</div><div><br></div><div>A lot of them are in the process (or already have) of adding compatibility layers to allow them to support the new version while preserving compatibility with older ones, introducing code like :</div><div><span class="pl-k" style="color: var(--color-prettylights-syntax-keyword); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; white-space: pre; -webkit-text-size-adjust: 100%;"><br></span></div><div><span class="pl-k" style="color: var(--color-prettylights-syntax-keyword); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; white-space: pre; -webkit-text-size-adjust: 100%;">#if</span><span style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); caret-color: rgb(36, 41, 47); color: rgb(36, 41, 47); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; white-space: pre; -webkit-text-size-adjust: 100%; background-color: rgb(230, 255, 236);"> MIN_VERSION_base(4,16,0)</span></div><div><span style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); caret-color: rgb(36, 41, 47); color: rgb(36, 41, 47); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; white-space: pre; -webkit-text-size-adjust: 100%; background-color: rgb(230, 255, 236);">word32ToWordCompat</span><span class="pl-k" style="color: var(--color-prettylights-syntax-keyword); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; white-space: pre; -webkit-text-size-adjust: 100%;">#</span><span style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); caret-color: rgb(36, 41, 47); color: rgb(36, 41, 47); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; white-space: pre; -webkit-text-size-adjust: 100%; background-color: rgb(230, 255, 236);"> </span><span class="pl-k" style="color: var(--color-prettylights-syntax-keyword); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; white-space: pre; -webkit-text-size-adjust: 100%;">::</span><span style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); caret-color: rgb(36, 41, 47); color: rgb(36, 41, 47); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; white-space: pre; -webkit-text-size-adjust: 100%; background-color: rgb(230, 255, 236);"> </span><span class="pl-en" style="color: var(--color-prettylights-syntax-entity); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; white-space: pre; -webkit-text-size-adjust: 100%;">Word32# -> Word#</span><span class="pl-k" style="color: var(--color-prettylights-syntax-keyword); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; white-space: pre; -webkit-text-size-adjust: 100%;"></span></div><div><span class="pl-k" style="color: var(--color-prettylights-syntax-keyword); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; white-space: pre; -webkit-text-size-adjust: 100%;"><span style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); caret-color: rgb(36, 41, 47); color: rgb(36, 41, 47); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; background-color: rgb(230, 255, 236);">word32ToWordCompat</span><span class="pl-k" style="color: var(--color-prettylights-syntax-keyword); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px;">#</span><span style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); caret-color: rgb(36, 41, 47); color: rgb(36, 41, 47); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; background-color: rgb(230, 255, 236);"> </span><span class="pl-k" style="color: var(--color-prettylights-syntax-keyword); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px;">=</span><span style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); caret-color: rgb(36, 41, 47); color: rgb(36, 41, 47); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; background-color: rgb(230, 255, 236);"> word32ToWord</span><span class="pl-k" style="color: var(--color-prettylights-syntax-keyword); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px;">#</span></span></div><div><span class="pl-k" style="color: var(--color-prettylights-syntax-keyword); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; white-space: pre; -webkit-text-size-adjust: 100%;"><span class="pl-k" style="color: var(--color-prettylights-syntax-keyword); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px;">#else</span></span></div><div><span class="pl-k" style="color: var(--color-prettylights-syntax-keyword); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; white-space: pre; -webkit-text-size-adjust: 100%;"><span class="pl-k" style="color: var(--color-prettylights-syntax-keyword); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px;"><span style="font-size: 12px; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); caret-color: rgb(36, 41, 47); color: rgb(36, 41, 47); background-color: rgb(230, 255, 236);">word32ToWordCompat</span><span class="pl-k" style="font-size: 12px; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); color: var(--color-prettylights-syntax-keyword); box-sizing: border-box;">#</span><span style="font-size: 12px; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); caret-color: rgb(36, 41, 47); color: rgb(36, 41, 47); background-color: rgb(230, 255, 236);"> </span><span class="pl-k" style="font-size: 12px; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); color: var(--color-prettylights-syntax-keyword); box-sizing: border-box;">::</span><span style="font-size: 12px; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); caret-color: rgb(36, 41, 47); color: rgb(36, 41, 47); background-color: rgb(230, 255, 236);"> </span><span class="pl-en" style="font-size: 12px; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); color: var(--color-prettylights-syntax-entity); box-sizing: border-box;">Word32# -> Word#</span></span></span></div><div><span class="pl-k" style="color: var(--color-prettylights-syntax-keyword); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; white-space: pre; -webkit-text-size-adjust: 100%;"><span class="pl-k" style="color: var(--color-prettylights-syntax-keyword); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px;"><span style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); caret-color: rgb(36, 41, 47); color: rgb(36, 41, 47); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; background-color: rgb(230, 255, 236);">word32ToWordCompat</span><span class="pl-k" style="color: var(--color-prettylights-syntax-keyword); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px;">#</span><span style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); caret-color: rgb(36, 41, 47); color: rgb(36, 41, 47); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; background-color: rgb(230, 255, 236);"> x </span><span class="pl-k" style="color: var(--color-prettylights-syntax-keyword); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px;">=</span><span style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); caret-color: rgb(36, 41, 47); color: rgb(36, 41, 47); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; background-color: rgb(230, 255, 236);"> x</span><span class="pl-k" style="color: var(--color-prettylights-syntax-keyword); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px;"></span></span></span></div><div><span class="pl-k" style="color: var(--color-prettylights-syntax-keyword); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; white-space: pre; -webkit-text-size-adjust: 100%;"><span class="pl-k" style="color: var(--color-prettylights-syntax-keyword); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px;"><span style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); caret-color: rgb(36, 41, 47); color: rgb(36, 41, 47); font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; background-color: rgb(230, 255, 236);">#endif</span></span></span></div><div>for the functions they use (usually a small subset).</div><div><br></div><div>Some of the solutions appear to differ.</div><div><br></div><div><span class="pl-k" style="color: var(--color-prettylights-syntax-keyword); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; white-space: pre; -webkit-text-size-adjust: 100%;"><span class="pl-k" style="color: var(--color-prettylights-syntax-keyword); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px;"><span style="white-space: normal; -webkit-text-size-adjust: none;">Is there a preferred way to make this consistently or/and avoid unnecessary code duplication ?</span></span></span></div><div><span class="pl-k" style="color: var(--color-prettylights-syntax-keyword); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; white-space: pre; -webkit-text-size-adjust: 100%;"><span class="pl-k" style="color: var(--color-prettylights-syntax-keyword); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px;"><span style="white-space: normal; -webkit-text-size-adjust: none;"><br></span></span></span></div><div><span class="pl-k" style="color: var(--color-prettylights-syntax-keyword); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px; white-space: pre; -webkit-text-size-adjust: 100%;"><span class="pl-k" style="color: var(--color-prettylights-syntax-keyword); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.3); box-sizing: border-box; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 12px;"><span style="white-space: normal; -webkit-text-size-adjust: none;">Thanks</span></span></span></div> <div><br></div><div>Bruno</div></div><div id="CanarySig"><div> <div><br></div> </div> </div> <div id="CanaryDropbox"> </div> </body></html>