The Chrome browser on Android, Linux and ChromeOS now does all its web font processing using a Rust-based library (Skrifa) instead of its old C++ library (FreeType).
This is part of a general trend. If you look at open jobs by programming language required, Rust is now #7 (up from #10 last time I looked). C++ and C# are declining drastically, Python, SQL, Java, and JavaScript/TypeScript are the top 5 and all growing rapidly. (Golang is #6, and also growing similarly to Rust.)
=> More informations about this toot | More toots from tphinney@typo.social
@tphinney Don't know anything about how fonts were rendered before in Chrom{e|ium} : but isn't FreeType related to the HarfBuzz project ?
Also, what issues in FreeType were solved by Skrifa? Genuinely curious about it.
=> More informations about this toot | More toots from thibault@mastodon.online
@thibault
FreeType renders glyphs from fonts. HarfBuzz determines what glyphs you want to render & how to position them. The latter can be very complicated and language-dependent.
I am sure you know this (and likely better than I do), but for other readers… Rust is much more secure than C++ by default, so a lot of core system libraries are moving to Rust. There are also other advantages for maintenance and stability (though gosh, is compile time ever slower for Rust!).
=> More informations about this toot | More toots from tphinney@typo.social
@thibault ... these advantages are why Microsoft is migrating to Rust as well. I expect core libraries are their top priority, but just in general.
https://www.techzine.eu/news/devops/116080/microsoft-continues-push-to-switch-code-over-to-rust/
=> More informations about this toot | More toots from tphinney@typo.social This content has been proxied by September (3851b).Proxy Information
text/gemini