HackerTrans
TopNewTrendsCommentsPastAskShowJobs

mdriley

no profile record

comments

mdriley
·5개월 전·discuss
Just a few more Rust libraries we've shipped in Chromium:

- https://github.com/image-rs/image-png

- https://github.com/webmproject/CrabbyAvif

- https://github.com/RCasatta/qr_code

- https://github.com/unicode-org/icu4x
mdriley
·7개월 전·discuss
I tend to agree. See also: https://issues.chromium.org/issues/401081629
mdriley
·7개월 전·discuss
Happy to report the BMP work is actually being done by our friends on the Edge team at Microsoft! https://chromium-review.googlesource.com/c/chromium/src/+/72...
mdriley
·8개월 전·discuss
Obligatory oldnewthing: https://devblogs.microsoft.com/oldnewthing/20030929-02/?p=42...

> Multilingual support also explains why you see things like “1 folder(s)” instead of “1 folder” and “2 folders”. Why not have two format strings, one for when the number of items is exactly one, and one for when the number of items is two or more?

> Well, for one, that would significantly increase the number of strings we would have to carry around. (If you say “just add s to make the plural” then you really need to get out more!)

> For two, some languages (such as Slovene) have a “dual” number in addition to singular and plural. The Lahir language has singular (one), dual (two), trial (three), paucal (a few), and plural (many). So now you have to have perhaps five versions of every string that contains a replaceable number.
mdriley
·8개월 전·discuss
> TL;DR: use std::simd if you don’t mind nightly, wide if you don’t need multiversioning, and otherwise pulp or macerator.

This matches the conclusion we reached for Chromium. We were okay with nightly, so we're using `std::simd` but trying to avoid the least stable APIs. More details: https://docs.google.com/document/d/1lh9x43gtqXFh5bP1LeYevWj0...