English 中文(简体)
Runtime definition
原标题:

What is the runtime? And I don t mean "at run time" = as the program/script is running. I mean

The <your-interpreted-language-here> runtime

最佳回答

That s exactly what it means; it s the environment and data structures that keep track of everything that s going along as your program runs. It s not only interpreted languages that have a runtime environment, so does every compiled language. In C, the runtime is the environment variables and operating-system provided services that let the program interact with the rest of the system. In an object-oriented language, it s also all the tables of objects and classes and methods that get built to allow message passing to take place. In an interpreted language, it s the state of the interpreter, plus all of those other things. In general, I guess you could describe the runtime as "everything that happens that you didn t explicitly write yourself".

问题回答

http://en.wikipedia.org/wiki/Run-time_system

a collection of software designed to support the execution of computer programs written in some computer language. The run-time system may provide software services such as subroutines and libraries for common operations, implementation of programming language commands, type checking, debugging, and even code generation and code optimization

In general, it usually refers to the support structure necessarily for running a program beyond what the programmer writes. For interpreted languages, this typically takes the form of an interpreter (usually coupled with common library of subroutines); for compiled languages that have runtimes, this typically is just a library of commonly-used shared subroutines.





相关问题
vectors vs. vector graphics

What (if any) is the relationship between vectors used in programming languages (e.g. arrays) and vector graphics? Why do they share the term vector? Does it represent some analogous aspect of their ...

MVC and Property Terminology in Objective-C

I am having a problem with terminology I think. Is a ViewController the Controller portion of MVC? Or is it not the same thing. Is this combining the VC of MVC into one file? Properties like ....

Origin of "map" in Computer Science

In computer science, there are two definitions of the word map. The first is as an associative array, a type of container that maps values of one type to values of another type. An example of this is ...

Definition of the word "patch"

Personally, I use the word "patch" as the software equivalent of a symptomatic treatment, which makes a patch a quick-and-dirty bugfix. However, I m not sure this is correct, because I often see it is ...

What is Facet in JavaEE?

I wonder not only what is Facet but also what is Facet in physical level (as I understand it s not a separate jar, but what?)? I also wonder how can it affect my application after deploying. I ll ...

What is the meaning of "POSIX"?

What is POSIX? I have read the Wikipedia article and I read it every time I encounter the term. The fact is that I never really understood what it is. Can anyone please explain it to me by explaining ...

Term for rotating header

I m looking for terminology that describes this behavior: The header of a web-page contains a different image every time you visit it. Update: It is not an advertisement, but images related to the ...

热门标签