PNG packed js demos don't work now on chrome
category: general [glöplog]
12 years to break or 12 years to notice? :)
That is a deeply philosophical question.
If it is broken, but nobody notices, is it then broken?
makes u think
This optimization has been known as "name mangling" in the js world (see jsexe --mangling).
It is really an extreme optimization, because at compression time, you have to choose the exact list of existing browser versions which will be supported.
The reason is that each browser canvas implementation (webGL or 2D) has its own list of methods, in different order, which potentially cause different hash collisions.
I think it is even OS specific, i.e. the same browser version can have different canvas interfaces on two different OS.
As said, not really recommended to build timeproof demos...
It is really an extreme optimization, because at compression time, you have to choose the exact list of existing browser versions which will be supported.
The reason is that each browser canvas implementation (webGL or 2D) has its own list of methods, in different order, which potentially cause different hash collisions.
I think it is even OS specific, i.e. the same browser version can have different canvas interfaces on two different OS.
As said, not really recommended to build timeproof demos...
This is somthing that I have been discussing with some chums today. The typical competition criteria values rank: that prioritizes instaneous presentation over all else. YouTube allows us to relive that instant.
The software engineer in me is uncomfortable with this optimization criteria. I am happy to grind that persona into the dirt as I work on our next prod.
The software engineer in me is uncomfortable with this optimization criteria. I am happy to grind that persona into the dirt as I work on our next prod.