简体   繁体   中英

ORO (One Reference Only) Memory Management

What do you think about the concept of using ORO instead of traditional Garbage Collecting? It doesn't seem to be widely adopted, and is more or less argumentative, but it can provide these benefits as I know:

  • Synchronous execution of code: your program will always take known amoun of time to execute.
  • Simplification of platform, you'r working with.

Seems to be than it development platform dependent and task dependent. So I think that ORO and GC must not be opposed, but used together - ORO for pure local object cleanup, and GC for global objects and objects, passed by reference.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM