Re:Two years of Rust
by WatchDog on Monday May 15, 2017 @05:52PM
(#14345464)
Is it as fast as javac?
Maybe on a line of code basis, but I imagine java is much simpler to to implement incremental compilation with.
Since sources map pretty much 1 to 1 with classes, you mostly only need to recompile the class that changed.
[ Parent
| on HN ]
Unfortunately, it's not quite that easy since java inlines constants, plus you have to account for package protected, inherited methods, etc. that you don't have to implicitly import. But really, it's the constants that make incremental compilation slower...