且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

'java'和'libjvm.so'(Linux)或'jvm.dll'(Windows)之间的区别?

更新时间:2023-11-12 17:52:46

如果人们希望围绕Java核心包装自己的功能,那么人们通常会针对jvm.dll进行构建,而有时很难从Java核心中获得本机"的东西. Java.一个很好的例子确实是Eclipse,他们想要在启动之前弹出一个初始屏幕并执行一些其他操作.对于其他产品,Java只是其工作量的一小部分(例如:大型C ++应用程序有时需要桥接到Java中).

Typically folks build against jvm.dll if they want to wrap their own functionality around a Java core, where sometimes it's hard to do things that look "native" from Java. A good example is indeed Eclipse, where they want to pop up a splash screen and do some other actions before starting up. For other products, it's that Java is only a small part of their workload (eg: large C++ app that needs to bridge into Java at some point).

从性能的角度来看,这是无关紧要的.一切都是关于您如何为Eclipse之类的东西适配和完成"的.

From a performance perspective, it's irrelevant. It's all about how you want the "fit and finish" for things like Eclipse.