| ??? 12/15/10 12:35 Read: times |
#180154 - But they killed compound objects Responding to: ???'s previous message |
The bad thing is that they killed compound objects, so every java program creates huge numbers of small dynamically allocated objects.
You can't create a struct containing objects - just a struct containing pointers (in this cased called references) to objects. You can't create an array of objects. Just an array of pointers (references) to objects. So a java program always creates a huge pressure on the garbage collector. Even quite trivial java applications can quickly have walked through 50MB of objects that needs to be reclaimed. By the way - java did introduce the interface keyword. But the concept is just as possible to use in C++ too by having accessor functions return helper classes representing the interfaces. |
| Topic | Author | Date |
| Java? | 01/01/70 00:00 | |
| On my website | 01/01/70 00:00 | |
| But they killed compound objects | 01/01/70 00:00 | |
| Control hardware | 01/01/70 00:00 | |
| Talk to hardware | 01/01/70 00:00 | |
| so... | 01/01/70 00:00 | |
| big numbers | 01/01/70 00:00 | |
| Dallas Tini | 01/01/70 00:00 | |
| not what you are looking for | 01/01/70 00:00 | |
| no revenge | 01/01/70 00:00 | |
| that kind of application | 01/01/70 00:00 | |
| Yes..Dallas tini 80C400 | 01/01/70 00:00 | |
| Arduino | 01/01/70 00:00 | |
the IDE | 01/01/70 00:00 |



