JavaScript jvm implementation

后端 未结 7 1601
眼角桃花
眼角桃花 2021-02-02 12:03

Is there any JavaScript jvm implementations?
If no, can you give me some reasons why it hasn\'t realized already? (not possible probably?) I\'m trying to understa

7条回答
  •  南方客
    南方客 (楼主)
    2021-02-02 12:50

    One of the problems of compiling Java using JavaScript is that the compiler typically needs to know the existence (or not) of the methods and attributes of a target Java minimum version. To even know that information, you would need to store properties, or variables that describe the public members of every single of class of the target J2SE. That represents a very big chunk of information.

提交回复
热议问题