3 ms·
actionscript (the flash programming language) is pretty much the same as javascript, the main reason why flash is often a lot faster than html+js things in a br
by throwaway2048 11y ago
actionscript (the flash programming language) is pretty much the same as javascript, the main reason why flash is often a lot faster than html+js things in a browser is it is not constrained to a slow, broken DOM for building uis.
- agumonkey 11y agoI know but I would be very surprised if the DOM model was <postedit>entirely</postedit> responsible for the performance hit.
- throwaway2048 11y agoit is by far the largest preformance drain in pretty much any dynamic website.
- agumonkey 11y agoSo retrofitting arbitrary layouts onto a ~text document specific one is that much an error. In hindsight I find it fantastic how web pages became the basis infrastructure of all this UX reinvention.
- samch 11y agoI think the answer is probably Tamarin[1] which started life as Flash's ActionScript engine and has since been donated to Mozilla. The Flash Player has also had direct GPU support for graphics and video for many years. [1] https://en.wikipedia.org/wiki/Tamarin_%28software%29 https://en.wikipedia.org/wiki/Tamarin_%28software%29
- spyder 11y agoOne notable difference is that ActionScript 3 is a strongly typed language, which can help with performance.