简体   繁体   English

ORO(仅供参考)内存管理

[英]ORO (One Reference Only) Memory Management

What do you think about the concept of using ORO instead of traditional Garbage Collecting? 您如何看待使用ORO而不是传统垃圾收集的概念? 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. 因此,我认为ORO和GC一定不能对立,而应同时使用-ORO用于纯本地对象清除,而GC用于全局对象和对象,是通过引用传递的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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