How many web developers understand that a low-end integrated GPU on a laptop can draw full 4k screens of pixels at 3000 frames per second?
-
-
Replying to @Jonathan_Blow
Honest question, what if you need clip by path (aka border-radius + overflow: hidden) + 0.9 opacity + box shadow + let's say blur on hover + transition of all of that. Suddenly it's really hard to do even 60fps, or is there a simple way?
6 replies 0 retweets 6 likes -
Replying to @cztomsik @Jonathan_Blow
Box shadow and blur are peanuts, this is what computers are capable of:https://www.youtube.com/watch?v=jEBDNLNEUgU …
2 replies 0 retweets 6 likes -
Replying to @shwa_programs @cztomsik
It continually amazes me how peoples' brains don't connect these. Okay, web people don't know how to make games, but they surely have at least seen footage of these games and know they run on the same computers. How do they think all those pixels end up on the screen?
2 replies 0 retweets 14 likes -
Replying to @Jonathan_Blow @shwa_programs
Sure, nice. Now please explain, if it's that simple, why skia & webrender are so HUGE projects, done by groups of very talented people. And why isn't there any simple 2D GUI lib for that. All other libs I'm aware of have their tradeoffs.
2 replies 0 retweets 1 like -
Replying to @cztomsik @Jonathan_Blow
I think, with the evidence presented above, you should maybe re-evaluate your claim that these groups are "very talented".
2 replies 0 retweets 2 likes -
Another possibility is that they are actually talented, but the foundation (the web, browsers, etc) is too awful to create high-performance software on.
1 reply 0 retweets 1 like -
Replying to @shwa_programs @Jonathan_Blow
skia is just 2D canvas lib, it's not browser-related at all - it's also used by sublime text, flutter, sciter, ...
1 reply 0 retweets 0 likes -
Replying to @cztomsik @Jonathan_Blow
I see. I use Sublime Text every day and it runs pretty flawlessly. I will admit I am unfamiliar with Skia, but if it's a 2D rendering library I struggle to think of any reason for it to be huge (though I don't know how huge you're talking here).
3 replies 0 retweets 0 likes -
Sublime is great, but like, I can't write Arabic in it, not only because it doesn't handle bidirectional text but also because it doesn't support complex script shaping.
1 reply 0 retweets 0 likes
We did Arabic support in The Witness, we just used Harfbuzz to do the shaping. Sublime could do similar if they wanted.
-
-
I know, and it's not a super hard problem by any stretch, but like, no one does it really well as a reusable library. None of the imgui libraries do it for example.
1 reply 0 retweets 0 likes - Show replies
New conversation -
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.