!!Con 2020 - Using font shaping to put commas in big numbers EVERYWHERE!! by Tristan Hume

!!Con 2020 - Using font shaping to put commas in big numbers EVERYWHERE!! by Tristan Hume

Channel:
Subscribers:
42,100
Published on ● Video Link: https://www.youtube.com/watch?v=ijKyw13LByM



Duration: 9:47
554 views
25


Using font shaping to put commas in big numbers EVERYWHERE!! by Tristan Hume

My job involves a lot of staring at big numbers, like latencies in nanoseconds, and picking out larger magnitudes like microseconds. I got tired of counting digits in many different programs, so I decided to solve the problem in the most general way possible: with a font! OpenType font shaping allows fonts to provide all sorts of fancy rules for how they’re displayed. I’ll explain how I repurposed a feature designed for Arabic calligraphy in order to make a font that inserts fake commas between groups of three digits in large numbers everywhere!

Tristan Hume works on fast software at Jane Street. He gets captivated by funny and cool technical ideas and develops a burning desire to implement them, mostly in Rust but sometimes in OpenType font shaping rules. He writes long technical articles about things he does and finds interesting at https://thume.ca/.




Other Videos By Confreaks


2021-09-15RustConf 2021 - How I Used Rust to Become Extremely Offline by Luke Westby
2021-09-15RustConf 2021 - Whoops! I Rewrote It in Rust by Brian Martin
2021-09-15RustConf 2021 - Writing the Fastest GBDT Library in Rust by Isabella Tromba
2021-09-15RustConf 2021 - Fuzz Driven Development by Midas Lambrichts
2021-09-15RustConf 2021 - Identifying Pokémon Cards by Hugo Peixoto
2021-09-15RustConf 2021 - The Importance of Not Over-Optimizing in Rust by Lily Mara
2021-09-15RustConf 2021 - Move Constructors: Is it Possible? by Miguel Young de la Sota
2021-09-15RustConf 2021 - Project Update: Lang Team by Niko Matsakis
2021-09-15RustConf 2021 - Project Update: Libs Team by Mara Bos
2021-09-15RustConf 2021
2021-04-19!!Con 2020 - Using font shaping to put commas in big numbers EVERYWHERE!! by Tristan Hume
2021-04-19!!Con 2020 -Obelisk and the Known Unknowns (Or: The Art of Fumbling Through your...) by Sacha Sayan
2021-04-19!!Con 2020 - Let’s implement DNS to learn history! by Dylan Nugent
2021-04-19!!Con 2020 - Screwing up is easier than ever before! by Joshua Wise
2021-04-19!!Con 2020 - 89 characters of base-11?! Mobile networking in rural Ethiopia! by Ben Kuhn
2021-04-19!!Con 2020 - *Punch Card Love! A (Very!) Personal History of Computer Dating! by Amy Cash
2021-04-19!!COn 2020 - EMAIL! by Char Stiles
2021-04-19!!Con 2020 - The Making of a Mosquito.JS by Tim Holman
2021-04-19!!Con 2020 - Keynote: computational stichography! (or: connecting lines) by Allison Parrish
2021-04-19!!Con 2020 - Repair a Commodore 64 in just 64 Months!! by Matt Clawson
2021-04-19!!Con 2020 - Programming from an alternate timeline! by Matthew Dockrey