googlefonts / oxidize

Notes on moving tools and libraries to Rust.
Apache License 2.0
173 stars 7 forks source link

Add high performance, correct font compiler requirements document #19

Open chrissimpkins opened 2 years ago

chrissimpkins commented 2 years ago

Add a Markdown document that outlines what the requirements for a high performance, correct compiler are, why, and what the impact of having or not having a fast compiler are as a starting point.

Address the following in the document:

rsheeter commented 2 years ago

"does it need to be developed in Rust?" - I would actually specifically NOT address this or any specific solution.

I suggest initially just focus on what we need (a faster compiler), why (impact of not having it or of having various levels of speedup), and what the current situation is (current toolchain, key limitations, etc). Also perhaps when we need it, or what the impact of having it when would be.

dfrg commented 2 years ago

In addition to these broad requirements, it might be worth adding some concrete detail on the shapes of the desired inputs to the compiler and how these might diverge for subsetting. The focus thus far has been on raw serialization and my suspicion is that such a thing may not be desirable and makes it difficult to nail down a useful API.

rsheeter commented 2 years ago

@simoncozens provided https://docs.google.com/document/d/1vE91ZyYtJvwYYWCQYrNgB6Zyv7dgHJ0oW5sNIZWqInE/edit as a reference. It suggests a one to two order speedup but doesn't speak to how much speedup is actually needed or why.

chrissimpkins commented 2 years ago

22