Backwards compatibility issue?
richard.bair at oracle.com
Fri May 31 10:54:40 PDT 2013
>>> What's so horrid about css to bss compiling?
>> A) It's broken
>> B) What's the point?
>> Not trying to be unduly critical but is it for some performance gain or something? Surely the load time is minimal. Given that I have a dozen XML config files, a handful of property files and a thousand FXML files that are being loaded by my app it seems like a whole lot of extra complexity and space for bugs to crawl in for no gain. Maybe I'm missing some benefit of this?
> The benefit is performance. It is much faster to deserialize the binary format than to invoke the parser.
And we're talking orders of magnitude here. And don't forget about iOS / Android / PI / Beagle / and friends. We didn't do bss because we thought it was cool, I can promise you that. Neither are we looking at compiling FXML into class files (RT-23527) for the fun of it ;-).
More information about the openjfx-dev