资讯

One of the main problems converting Java code to Objective-C is garbage collection. J2ObjC can manage unused objects in several ways but it uses reference counting with auto-release pools by default.
Here's what I've learned over 20 years of working with both C++ and Java (and more years before that with C++): As a rule of thumb, when you convert optimized C++ to Java, the code is about 3x ...