J2ME Dialogue - Interview with the father of KVM

xiaoxiao2021-03-06  51

Today, I saw an article on an interview with the father at the KVM, I feel very good. So translated part of it, I hope to help netizens. Antero TAIVALSAARI is the founder of KVM. He led the development of CLDC specifications and made a huge contribution to many of J2ME.

Q: How is KVM formed?

A: Before coming to Sun's work, I work on the phone equipment manufacturer, so I am very interested in porting the Java platform that is suitable for running on the phone. But what we encountered is that all of all embedded versions of Java virtual machines are too big relative to the phone's memory and processors, so I decided to develop a lot than the current version when I was in 1998. JVM has a small ten-fold virtual machine, which has been supported by the laboratory manager. A few months later, we made an initial version and succeed in the laboratory demonstration, Motorola is very interested in the system, and I began to leave the laboratory leadership development group to develop this product.

Q: "K" in KVM represents what A: KVM is a real Java virtual machine, she is based on K byte and not megabytes. There is another explanation that k from the word "kauai", this is the code of this project. Note that we can't call him "Kilo Virtual Machine"

Q: What is the relationship between Spotless and KVM? A: Spotless is the name of the original research project, KVM is a product.

Q: What languages ​​do? A: C language

Q: How big is KVM? A: This relies on the target platform and the included library, the core of KVM is approximately 35,000 lines including comments.

Q: Why is there a subset of AWT or SWING in the LCDUI package? A: AWT and SWING are designed for computer applications, for larger displays. He is not suitable for devices such as mobile phones, and they are too big.

Q: If the developer wants their applications to run as many devices as possible, what should they pay attention to? A: Developers must understand that the development of embedded development and mainstream desktop applications is different. You should pay attention to the use of memory and battery, using a good design pattern and good coding specification is a good idea.

Q: How is J2ME formed? A: When creating the initial J2ME standard, Motorola has played a huge role. Sun and Motorola realize that we want the J2ME standard to succeed, then we must let more key manufacturers participate in, so that I am very surprising that there are many major equipment manufacturers and us to discuss this issue. The standard of CLDC and MIDP quickly developed.

Q: Why is the floating point number is not supported in CLDC 1.0, but is supported in the CLDC1.1 version? A: The lack of support in CLDC 1.0 is mainly due to the support of the embedded device at the hardware layer on the number of floating points.

Q: What is J2ME's biggest success? A: Opened new heavens and earth for software developers, making it possible to develop real mobile applications, making mobile devices more personalized

Q: Is J2ME a competitor? A: Of course, Qualcomm's Brew and Microsoft's Smartphone

转载请注明原文地址:https://www.9cbs.com/read-116491.html

New Post(0)