4 ms·
I don't think you're wrong just that the discussion warrant more nuance and less ego. On the the comment... > You just draw it yourself. This is disingenuous.
by iovrthoughtthis 6y ago
I don't think you're wrong just that the discussion warrant more nuance and less ego. On the the comment...
> You just draw it yourself.
This is disingenuous. It might be ok in Games not to have decent interop with the OS but for productivity tools, it is a requirement.
Which means you need to implement OS native interop (for multiple DE's in linux perhaps), accessibility for screen readers and you need to be smart with your rendering because having a function called 60+ times a second is a surprisingly big foot gun. All this across 2-3 very different (and currently diverging) operating systems.
- dmitriid 6y ago> Which means you need to implement OS native interop (for multiple DE's in linux perhaps), accessibility for screen readers and you need to be smart with your rendering because having a function called 60+ times a second is a surprisingly big foot gun. All this across 2-3 very different (and currently diverging) operating systems. Yes, you have to do all of that, and I never said it was an easy task. That is, it's relatively easy compared to the web. This task is close to impossible on the web, especially if you want decent performance.
- lasagnaphil 6y agoRendering something natively in OpenGL (or using a lightly-wrapped framework around it) is usually much more performant than fiddling with canvas elements or CSS, so I don’t think it’s a footgun. (And OpenGL is quite cross-platform if you stick with older versions.) And since browsers these days also have all sorts of incompatibility issues, the merit of “write JS once” seems to be dwindling a bit... (although that’s becoming less of a problem when Chrome is becoming the de-facto browser)