“This is a hard problem” seems to be quite a common fallback in commercial software development. To be fair, there will be decades of baggage in this codebase making change harder, but it isn’t offered as explanation in this thread.https://github.com/microsoft/terminal/issues/10362 …
-
Show this thread
-
I expect that this stems from the ridiculous levels of compensation in the US. “I am paid a fuckton of money” -> “I must be special” + “I can’t solve this problem” -> “this must be a hard problem”
2 replies 0 retweets 22 likesShow this thread -
Replying to @richardstartin
I tend to believe them. I expect it is very hard and the submitter is just underestimating the difficulty. Of course, the challenge may not be in the high-level concepts...
3 replies 0 retweets 0 likes -
Replying to @lemire @richardstartin
I think
@cmuratori and the MS folks were talking somewhat at crossed purposes. He’s right, rendering glyphs in a regular grid should be easy and fast. That isn’t what they’re doing, though (and they’re including complicated things like OpenType processing in “rendering”).1 reply 0 retweets 0 likes -
The issue, of course, is that if you’re using a high level text API to do the rendering, it’ll do all those things for you, but for it to work you have to break things up into runs with the same glyph attributes. That creates lots of per-run overhead.
1 reply 0 retweets 0 likes -
So they are paying a cost for abstraction… correct?
2 replies 0 retweets 0 likes -
Yes, that’s a big part of it. In fact, even if you added OpenType processing to
@cmuratori’s approach, you might well be able to avoid splitting runs (for glyph substitution purposes) at colour change boundaries. It’s definitely a better approach overall IMO.1 reply 0 retweets 0 likes -
The is what we are doing, actually. We fill the tile cache by using a glyph generator of the user's choice (DirectWrite, OpenType, whatever you want). And it is done in a way such that multi-tile characters are handled properly.
1 reply 0 retweets 3 likes
I would also like to emphasize, none of this is new - this is a standard technique that has been used by many people many times, it's just they probably aren't the kinds of people who publish much :) This is very standard practice.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.