Talk:Runtime (program lifecycle phase)

Latest comment: 1 year ago by Klbrain in topic Merge into Execution (computing)

What about undetected errors?

edit

The article says "a run-time error is detected after or during the execution of a program" but some languages does not specify what will happen in certain situations. E.g. accessing array elements out of bounds, division by zero, etc. If these are not runtime errors, what are they? 213.67.240.59 (talk) 10:19, 17 August 2017 (UTC)Reply

In a language like C which does not support array bounds checking, it's a bug, possibly resulting in a segmentation fault or corrupted data or some other type of crash. In langauges that support array bounds checking, this would be a runtime error. The article does not (currently) completely enumerate all runtime errors, and this may not be possible in a general article, as those are very language specific. --ssd (talk) 01:36, 19 July 2018 (UTC)Reply

Runtime and Runtime environment

edit

Runtime environment redirects here. Per Talk:Runtime environment, Runtime environment was apparently once a separate article which was merged here. Quotes from a couple of articles:

The meanings of the terms "runtime" and "runtime environment" are sufficiently different that these should have separate articles, especially given the current development of new "runtime environments". -- Writtenonsand (talk) 18:43, 1 January 2008 (UTC)Reply

Hey I added something and I think it needs to be improved: "Runtime error" - Conmiro —Preceding unsigned comment added by Conmiro (talkcontribs) 01:06, 26 February 2008 (UTC)Reply

Runtimes and runtime environments are two totally different things. Unfortunately, this article contains interdependent descriptions; similar to the way good is only described as a juxtaposition against evil. As a contingency of seperating this one article into two, both parts will need more complete descriptions. —Preceding unsigned comment added by 67.232.190.211 (talk) 20:33, 9 January 2009 (UTC)Reply

Agree, needs split. Runtime is the dynamic behaviour of a program, as opposed to its static behaviour (what it looks like). A runtime environment is a completely diferent thing; it's an API to provide common services and control. The leak of "virtual machine" is the giveaway... so what does the virtual machine run on in runtime? Another virtual machine? Ad infinitum? SimonTrew (talk) 20:17, 7 April 2009 (UTC)Reply

Requested move

edit
The following discussion is an archived discussion of a requested move. Please do not modify it. Subsequent comments should be made in a new section on the talk page. No further edits should be made to this section.

The result of the move request was: not moved. Skomorokh 14:45, 12 May 2011 (UTC)Reply



Run time (computing)Execution timeRelisted. Jenks24 (talk) 02:59, 1 May 2011 (UTC) Current title is still ambiguous with respect to Run-time system, which also falls under the domain of "computing". Cybercobra (talk) 23:15, 20 April 2011 (UTC)Reply

The above discussion is preserved as an archive of a requested move. Please do not modify it. Subsequent comments should be made in a new section on this talk page. No further edits should be made to this section.

Merge into Execution (computing)

edit

The idea of "run time" and "execution" are inextricably linked; the separation of the two to separate articles results in duplication on the one hand, and missing content on the other. Also note that this article lists no sources. François Robere (talk) 12:18, 7 March 2023 (UTC)Reply

Agree, bearing in mind some may call into a distinction between what happens before the address of the entry point is loaded by the OS - which is "runtime" but not execution, to whit the program_to_be is "running" and not executing.
Similarly, when the OS receives the program termination event, the OS resources reclamation post-program may be still considered as part of the "runtime".
Having said that, full deference is given to the information in the article regarding definitions of runtime/execution, and if (agreed on) differences in interpretation of the definitions are included in the article, am committed to fully supporting the merger. Lmstearn (talk) 16:08, 9 March 2023 (UTC)Reply
    Y Merger complete. Klbrain (talk) 17:14, 19 November 2023 (UTC)Reply