“Managed runtime” 指“托管运行时环境”:由运行时系统(如 .NET CLR、JVM)负责管理程序执行过程中的关键事务,例如内存分配与回收(垃圾回收)、类型安全、异常处理、线程与安全策略等,从而减少开发者手动管理底层资源的负担。(在不同语境下也可能泛指“受运行时平台管理的执行环境”。)
/ˈmænɪdʒd ˈrʌnˌtaɪm/
The app runs in a managed runtime, so memory is cleaned up automatically.
该应用运行在托管运行时中,因此内存会被自动清理。
Because the managed runtime enforces type safety and provides garbage collection, the team can focus more on features than on low-level memory bugs.
由于托管运行时强制类型安全并提供垃圾回收,团队可以把更多精力放在功能上,而不是底层内存错误上。
managed 来自 manage(管理、处理),在计算机语境中常指“由系统代为管理/托管”;runtime 是 “run(运行)+ time(时间/时期)”,在软件工程里指“程序运行时环境”。合起来表示“由运行时系统负责管理资源与执行的环境”。