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
All of that is extremely easy. Except the blur that is a bit more expensive. Depends on the strength of the blur etc but a low end laptop can still do all this at 4k hundreds of fps.
1 reply 0 retweets 0 likes -
Replying to @SamHSmith2 @Jonathan_Blow
Sure, extremely easy. 9k commits. And it's still fairly limited and doesn't handle text for example.pic.twitter.com/ddRSzWnHM3
2 replies 0 retweets 0 likes -
Replying to @cztomsik @SamHSmith2
Because it is being done wrong. My argument is, the web is a dumb cluster-f that makes everything too hard and complicated. Do you think a snapshot of a repo of things being too hard and complicated is somehow a counter example?
3 replies 0 retweets 11 likes -
Replying to @Jonathan_Blow @SamHSmith2
What's wrong here? Webrender is just canvas lib. It's using GPU. It's like ganesh from skia.
2 replies 0 retweets 0 likes -
Replying to @cztomsik @Jonathan_Blow
Let me ask you this. Why can't a web app be written in C and use the vulkan graphics api? The answer to that question is the problem.
1 reply 0 retweets 1 like -
Replying to @SamHSmith2 @Jonathan_Blow
You can do that if you don't care about accessibility, just compile to wasm.
1 reply 0 retweets 0 likes -
Replying to @cztomsik @Jonathan_Blow
With no WASM! Why can I not compile C to say llvm IR and have that be by webapp? Why can I not just run code on the machine? These are the problems. The Web is in a local maxima, if you tore down and built from scratch you could make something out of this world to most.
1 reply 0 retweets 3 likes -
Replying to @SamHSmith2 @Jonathan_Blow
wasm is safe native. you don't want to execute arbitrary unsafe code.
1 reply 0 retweets 0 likes
Except, imagine if desktop operating systems had kept developing instead of stopping around 2000, and actually supported this as a use case (the way e.g. iOS does now).
-
-
I believe, robust process isolation and access control has been there since at least Windows NT 4 (circa 1996). The mechanism is there, it's just a dumb convention (a lazy default?) that on Windows basically everything runs as root.
2 replies 0 retweets 0 likes -
It's not just running as root, it's, everyone seeing the whole filesystem, everyone being able to send network packets if they want, etc.
1 reply 1 retweet 1 like - 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.