| dbpprop:abstract
|
- In computer programming, a runtime library is a special program library used by a compiler, to implement functions built into a programming language, during the runtime (execution) of a computer program. This often includes functions for input and output, or for memory management. When the source code of a computer program is translated into the respective target language by a compiler, it would cause an extreme enlargement of program code if each command in the program and every call to a built-in function would cause the in-place generation of the complete respective program code in the target language every time. Instead the compiler often uses compiler-specific auxiliary functions that are mostly not accessible to application programmers and which are implemented in the runtime library. Depending on the compiler manufacturer, the runtime library will sometimes also contain the standard library of the respective compiler or be contained in it. Also some functions that can be performed only (or are more efficient or accurate) at runtime are implemented in the runtime library, e.g. some logic errors, array bounds checking, dynamic type checking, exception handling and possibly debugging functionality. For this reason, some programming bugs are not discovered until the program is tested in a "live" environment with real data, despite sophisticated compile-time checking and pre-release testing. In this case, the end user may encounter a runtime error message. Usually the runtime library realizes many functions by accessing the operating system. Many programming languages have built-in functions that do not necessarily have to be realized in the compiler, but can be implemented in the runtime library. So the border between runtime library and standard library is up to the compiler manufacturer. Therefore a runtime library is always compiler-specific and platform-specific. The concept of a runtime library should not be confused with an ordinary program library like that created by an application programmer or delivered by a third party or a dynamic library, meaning a program library linked at run time. For example, the programming language C requires only a very minimal runtime library, but defines a large standard library that each implementation has to deliver.
- Der Begriff Laufzeitbibliothek (engl. Runtime-Library) wird in der Informatik verwendet. Er bezeichnet eine spezielle Programmbibliothek, eine Sammlung von Softwarefunktionen, die benutzt wird, um innerhalb eines Computerprogramms die in eine Programmiersprache eingebauten Funktionen zur Zeit der Ausführung des Programms (Laufzeit) zu realisieren. Dazu gehören oft z. B. Funktionen zur Ein- und Ausgabe, Speicherverwaltung oder mathematische Funktionen. Wenn der Quellcode eines Computerprogramms von einem Compiler in die jeweilige Zielsprache übersetzt wird, so würde es zu kaum tragbarer Vergrößerung des Programmcodes führen, wenn für jede Anweisung im Programm und jeden Aufruf einer eingebauten Funktion jeweils an der entsprechenden Stelle der vollständige Programmcode in der Zielsprache erzeugt werden müsste. Stattdessen erzeugt der Compiler oft Aufrufe von compilerspezifischen Hilfsfunktionen, die dem Anwendungsprogrammierer meist nicht direkt zur Verfügung stehen und deren Implementationen sich in der Laufzeitbibliothek befinden. Die Laufzeitbibliothek kann nach Ermessen des Compilerherstellers oft auch Teile der Standardbibliothek des jeweiligen Compilers enthalten oder mit dieser kombiniert sein. Abhängig von Programmiersprache und Implementation kann die Laufzeitbibliothek auch Laufzeitüberprüfungen, z. B. Grenzen von Feldern Array oder dynamische Typprüfungen, Ausnahmebehandlung und weitere Funktionen zur Fehlersuche enthalten. Die Laufzeitbibliothek realisiert normalerweise viele Funktionen unter Zugriff auf das Betriebssystem. Viele Programmiersprachen haben eingebaute Funktionen, die nicht zwangsläufig im Compiler realisiert sein müssen, sondern ebenfalls in der Laufzeitbibliothek realisiert sein können. Die Grenze zwischen Compiler und Laufzeitbibliothek liegt also im Ermessen des Compilerherstellers. Aus diesen Gründen ist die Laufzeitbibliothek immer compilerspezifisch und plattformspezifisch. Nicht verwechselt werden darf das Konzept der Laufzeitbibliothek mit dem einer normalen Programmbibliothek, wie sie von einem Anwendungsprogrammierer erstellt oder einem Dritten geliefert wird, oder einer dynamischen Bibliothek, was eine zur Laufzeit gelinkte Programmbibliothek bezeichnet. Zum Beispiel benötigt die Programmiersprache C nur eine minimale Laufzeitbibliothek, schreibt aber eine große Standardbibliothek von Funktionen vor, die jede C-Implementation mitbringen muss. Einige modernere Programmiersprachen wie Java benutzen anstatt einer einfachen Laufzeitbibliothek eine komplexere Laufzeitumgebung.
- Biblioteka uruchomieniowa (ang. runtime library, często mylone lub niepoprawnie skracane do runtime, co oznacza czas życia programu) - zestaw funkcji (stąd library, czyli biblioteka w angielskim określeniu) narzędziowych, które wspomagają program komputerowy w trakcie jego działania, współpracujacych z systemem operacyjnym w celu dostarczenia odpowiednich funkcji wejścia, wyjścia i matematycznych. Należy zauważyć, że środowisko uruchomieniowe zmienia się wraz ze zmianą systemu operacyjnego lub języka programowania, przez co wymaga częstego uaktualniania. Początkowo środowiska uruchomieniowe zapewniały przede wszystkim funkcje matematyczne. Później poszerzono je o podstawowe zarządzanie pamięcią, umożliwiające dynamiczne jej przydzielanie. Obecnie środowiska języków programowania obiektowego dodatkowo zawierają zaawansowane funkcje do zarządzania pamięcią, często łącząc je ze wspomaganiem obiektów. Nowsze języki programowania mają znacznie większe środowiska uruchomieniowe, co wiąże się z ich większą funkcjonalnością. Wiele języków programowania obiektowo zorientowanych dodatkowo ma system zwany dispatcherem lub classloaderem. Przykładem może być Java Virtual Machine (JVM): interpretuje także przenośne programy Javy, zapisane w formacie binarnym.
- Библиотека времени исполнения (также библиотека времени выполнения; англ. runtime library, RTL) — набор библиотек той или иной системы программирования, поставляемых вместе с компилятором, операционной системой или средой разработки программ. Как следует из названия, RTL обеспечивает поддержку функций, предоставляемых системой программирования, во время выполнения программы.
|
| rdfs:comment
|
- In computer programming, a runtime library is a special program library used by a compiler, to implement functions built into a programming language, during the runtime (execution) of a computer program. This often includes functions for input and output, or for memory management.
- Der Begriff Laufzeitbibliothek (engl. Runtime-Library) wird in der Informatik verwendet. Er bezeichnet eine spezielle Programmbibliothek, eine Sammlung von Softwarefunktionen, die benutzt wird, um innerhalb eines Computerprogramms die in eine Programmiersprache eingebauten Funktionen zur Zeit der Ausführung des Programms (Laufzeit) zu realisieren. Dazu gehören oft z. B. Funktionen zur Ein- und Ausgabe, Speicherverwaltung oder mathematische Funktionen.
- Biblioteka uruchomieniowa (ang. runtime library, często mylone lub niepoprawnie skracane do runtime, co oznacza czas życia programu) - zestaw funkcji (stąd library, czyli biblioteka w angielskim określeniu) narzędziowych, które wspomagają program komputerowy w trakcie jego działania, współpracujacych z systemem operacyjnym w celu dostarczenia odpowiednich funkcji wejścia, wyjścia i matematycznych.
- Библиотека времени исполнения (также библиотека времени выполнения; англ. runtime library, RTL) — набор библиотек той или иной системы программирования, поставляемых вместе с компилятором, операционной системой или средой разработки программ.
|