News for hackers. Stuff that matters.
Re:Oracle deprecating Java applets in Java 9 by tomjen3 on Thursday January 28, 2016 @12:40AM (#10986520)
The problem is that the graphics class allowed you to do things that can only be done in canvas with direct pixel manipulation, which is too slow for interactive programs.
Re:Oracle deprecating Java applets in Java 9 by yincrash on Thursday January 28, 2016 @01:43AM (#10986734)
You can emulate a 2d canvas in webgl.
Re:Oracle deprecating Java applets in Java 9 by tomjen3 on Thursday January 28, 2016 @02:22PM (#10990510)
That requires webgl to be widely available.
Re:Oracle deprecating Java applets in Java 9 by sand500 on Thursday January 28, 2016 @01:12AM (#10986628)
How about web assembly?
Re:Oracle deprecating Java applets in Java 9 by tomjen3 on Thursday January 28, 2016 @02:24PM (#10990521)
A subset of javascript can't do things you already couldn't do in javascript and I doubt their canvas operations are optimized that much (e.g you have to traverse all the pixels and access all their neighbors to write a blur filter, no matter how you do it).