That’s a blanket statement that needs to be qualified. I’m sure it was possible for good flash devs to write applets much lighter than JS used in production today. And I’m sure a talented developer could minify that further in JS or any language of their choice similarly tightly integrated in the browser.