| It is clearly true that [[Java]] is not just a language. Certain classes are needed and required by the [[JavaC]] compiler. One needs {{JDK|java/lang|Object}}, {{JDK|java/lang|String}}, {{JDK|java/lang|StringBuilder}}, {{JDK|java/lang|Throwable}}, {{JDK|java/lang|RuntimeException}}, {{JDK|java/lang|Class}}, {{JDK|java/io|Serializable}}, {{JDK|java/lang|Enum}} and potentially few others. | | It is clearly true that [[Java]] is not just a language. Certain classes are needed and required by the [[JavaC]] compiler. One needs {{JDK|java/lang|Object}}, {{JDK|java/lang|String}}, {{JDK|java/lang|StringBuilder}}, {{JDK|java/lang|Throwable}}, {{JDK|java/lang|RuntimeException}}, {{JDK|java/lang|Class}}, {{JDK|java/io|Serializable}}, {{JDK|java/lang|Enum}} and potentially few others. |
- | I strongly believe [[modularity]] should be part of the [[Java]] language. But also, I'd like to see the [[Java]] language to remain portable. As such it would really helped if there could be ''java.minimal'' module defined during the modularization of [[Java]]. It would contain all the classes needed by [[JavaC]]. Porting [[Java]] to new systems would then require just re-implementation of [[VM]] and this '''java.minimal''' module. Everything else would be just optional libraries. | + | I strongly believe [[modularity]] should be part of the [[Java]] language. But also, I'd like to see the [[Java]] language to remain portable. As such it would really helped if there could be ''java.minimal'' module defined during the modularization of [[Java]]. It would contain all the classes [[JavaC]] references to in its generated bytecode. Porting [[Java]] to new systems would then require just re-implementation of [[VM]] and this '''java.minimal''' module. Everything else would be just optional libraries. |
| I still have to ask Radim, but I have a feeling he could agree with such ''java.minimal'' system (even including [[modularity]] as part of the language). We would have a core language extensible by libraries. As [[API]] of libraries is easier to evolve than a language, the system would be really powerful and flexible. Having such tiny [[framework]] could end the fragmentation of various of [[Java]] forks and finally bring us closer to having (the same) [[Java] everywhere. | | I still have to ask Radim, but I have a feeling he could agree with such ''java.minimal'' system (even including [[modularity]] as part of the language). We would have a core language extensible by libraries. As [[API]] of libraries is easier to evolve than a language, the system would be really powerful and flexible. Having such tiny [[framework]] could end the fragmentation of various of [[Java]] forks and finally bring us closer to having (the same) [[Java] everywhere. |