4 ms·
I'm not sure what you're implying by this, because the Crystal compiler is doing a lot of work as well. The global type inference is the primary reason for Crys
by Trasmatta 6y ago
I'm not sure what you're implying by this, because the Crystal compiler is doing a lot of work as well. The global type inference is the primary reason for Crystal's compiler speeds, and it's why it's not likely to substantially improve. It's not slow for the sake of being slow.
- jariel 6y agoJava does type inference in a number of places and javac is not slow.
- linkdd 6y agojavac produces Java bytecode, not LLVM IR. javac exists since at least 15 years, Crystal "only" 6 years. Maybe things will get better with time?
- Trasmatta 6y agoJava doesn't do type inference at the level of Crystal. It's not the presence of type inference, it's the fact that almost everything in a Crystal program can be inferred.