<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 27 Mar 2019 at 17:40 Markus Scherer <<a href="mailto:markus.icu@gmail.com">markus.icu@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi Tom & SG16,<div><br></div><div>First, sorry for having dropped off -- I have been swamped with other work and won't make it to today's meeting either.</div><div><br></div><div>Second, I would like to ask you to consider if it's necessary to add Unicode properties APIs in the language runtime.</div><div>There are widely used libraries like ICU which provide this and more.</div><div><br></div><div>Many users will want to be able to use the latest version of Unicode, which will tend to be newer than what their compiler provides.</div><div>There are also enough changes in Unicode properties that data structures or parsers etc. sometimes need to be adjusted, so you have a maintenance burden.</div><div>(I have been doing this for some 19 years.)</div></div></div></blockquote><div><br></div><div>Nothing precludes an implementation to defer to ICU both at compile time and run time.</div><div>Although i found relying on ICU shipped on platforms to be problematic - ICU might keep up to of Unicode but OS definitively don't keep on top of ICU.</div><div>It's also difficult to deploy ICU on memory constraint devices or devices who can't allocate / throw exceptions / etc</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div><br></div><div>And finally, I personally think that the ROI for the name property is low. As noted in the document, the data is large, but also a long \N{dozens of letters} string is not very readable. I find it's just as easy to use \uhhhh escapes with a simple code comment for which character that is, and if it's obvious (like a regular printable letter) you use the character itself anyway.</div></div></div></blockquote><div><br></div><div>\N is a separate paper - namely <a href="https://wg21.link/p1097r2">https://wg21.link/p1097r2</a></div><div>I think there is some valid uses cases for name ( for example if you are doing an editor, ide, etc or any kind of input checking), it might be more user friendly to say "unexpected space at line 1" rather than "unexpected \U00020"</div><div><br></div><div>Whether that is a valid enough use-case to warrant being in the standard is up for debate - if implementers use icu, the cost of implementation is low</div><div><br></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div><br></div><div>Best regards,</div><div>markus</div></div><br><div class="gmail_quote"></div></div><div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 27, 2019 at 8:42 AM Corentin <<a href="mailto:corentin.jabot@gmail.com" target="_blank">corentin.jabot@gmail.com</a>> wrote:<br></div></div></div><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>As requested by Tom, please find attach D1628R0 which will be discussed during today's meeting \N{WHITE EXCLAMATION MARK ORNAMENT}</div><div><br></div><div>Feedback welcome :)</div><div><br></div><div>Regards, </div><div>Corentin</div></div></blockquote></div></div><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
_______________________________________________<br>
SG16 Unicode mailing list<br>
<a href="mailto:Unicode@isocpp.open-std.org" target="_blank">Unicode@isocpp.open-std.org</a><br>
<a href="http://www.open-std.org/mailman/listinfo/unicode" rel="noreferrer" target="_blank">http://www.open-std.org/mailman/listinfo/unicode</a><br>
</blockquote></div></div>
</blockquote></div></div>