Questions tagged [runtime]

Runtime is the time during which a program is running (executing)

In computer science, run time, run-time, runtime, or execution time is the time during which a program is running (executing), in contrast to other phases of a program's lifecycle such as compile time, link time, load time, etc.

A run-time error is detected after or during the execution of a program, whereas a compile-time error is detected by the compiler before the program is ever executed. Type checking, storage allocation, code generation, and code optimization are typically done at compile time, but may be done at run time depending on the particular language and compiler.

Related

7799 questions
2
votes
1 answer

Is Objective-c runtime means an extra layer than direct c/c++ programs?

I've read that, the objective-c programs need objective-c runtime to run. AFAIK, both C/C++ programs don't require any runtime environments to run. as the generated binary code is being executed directly by the underlying OS. So this means that…
Muhammad Hewedy
  • 29,102
  • 44
  • 127
  • 219
2
votes
1 answer

Running Launch4J from java code?

I have used launch4j to wrap an executable jar into an exe in my pom.xml (maven project file) file during compile/build time. But is it possible to run launch4J from a piece of java code and creating an exe wrapper dynamically when the java…
u123
  • 15,603
  • 58
  • 186
  • 303
2
votes
0 answers

fatal error: antlr4-runtime.h: No such file or directory

i'm trying to build a project with antlr4, once i run the command sudo make to start building the project, i get the following error: /home/ubuntu/new/transpiler/main.cpp:2:10: fatal error: antlr4-runtime.h: No such file or directory 2 |…
oswaldo
  • 23
  • 1
  • 4
2
votes
1 answer

Does preallocation of R list improve loop run time? how?

I am running a simulation in R, in which the outputs should be stored in numeric vectors in a variable of the type list. However, I am wondering why when I preallocated the list with numeric vectors, the computational time remains the same instead…
Abbas
  • 807
  • 7
  • 14
2
votes
2 answers

Will a google colab notebook connected to a local GPU/runtime ever disconnect?

I am running a google colab notebook using my local GPU therefore using the colab feature of connecting to a local runtime. I was wondering if, when running colab this way, it will remain with the same issues of disconnecting the runtime after a few…
2
votes
1 answer

Issues measuring program execution time in Linux/Bash

Hopefully not a dupe of this question... I'm trying to determine the curve of a specified program's runtime with the time function. What I would like to do is automate this process to get several hundred points of data to graph in Excel, however I…
erik
  • 3,810
  • 6
  • 32
  • 63
2
votes
1 answer

Distrubuting DLR runtime for C# Application with embedded (hosted) IronPython

We're building a commercial (closed/proprietary) intranet application which makes used of hosted IronPython (2.7), targeting .NET 4.0. What approach would you recommend for ensuring the DLR runtimes (Microsoft.Scripting.dll & Microsoft.Dynamic.dll…
eddiewould
  • 1,555
  • 16
  • 36
2
votes
3 answers

Finding non-unique rows in Pandas Dataframe

Say I have a pandas dataframe like this: Doctor Patient Days Aaron Jeff 23 Aaron Josh 46 Aaron Josh 71 Jess Manny 55 Jess Manny 85 Jess Manny 46 I want to extract dataframes where a combination of a doctor and a patient occurs…
2
votes
2 answers

MySql.Data c# .net library which runtime should I use?

When adding reference to the MySQL .NET connector I am seeing two entries listed for MySql.Data one with a runtime version of 4.0.30319 and another with a runtime version of 2.0.50727 Which should I reference? does it make a difference?
rlemon
  • 17,518
  • 14
  • 92
  • 123
2
votes
1 answer

Notifications Runtime Permissions Android 13

Maybe someone has read about The runtime permission for push notifications in Android 13. I have no problem with this, but I have a question that I can't find in the documentation. Do you know if InApp Messages ( fierebase ) also need to ask for…
2
votes
0 answers

Is it possible to inject variables at runtime with vue3/vite?

I try to inject runtime variable in my vue3 project and it seems it's not possible. All variables are injected at builtime. What i want to to is to do one build in staging instance, put the assets in a cdn and promote the build in production…
Sylvadoc
  • 51
  • 1
  • 2
2
votes
1 answer

Recursively introspecting at runtime the body of a lambda that is a specialisation of another lambda

I want to dynamically inspect the body of a lambda that specialises another lambda at runtime. This would need to happen recursively until there are no more "parent" lambdas. What I mean by that is the following example: add_x_z = lambda x, z: x +…
Rayan Hatout
  • 640
  • 5
  • 22
2
votes
1 answer

Default algorithm for lsearch in tcl and way to improve its runtime?

I want to know which search algorithm does lsearch in tcl uses in the background. Also, if the list is sorted and we have not given the option -sorted in the lsearch, does it still uses binary search to perform the search. And if there is any way to…
2
votes
1 answer

How to invoke internal method with ref struct parameter and unknown return type

I need to invoke Read(ref Utf8JsonReader, Type, JsonSerializerOptions) method from System.Text.Json.Serialization.JsonConverter which T is not known. Attempt 1 object converter = //Somehow get it; Utf8JsonReader reader = //Somehow get it; Type…
Kaneko Qt
  • 115
  • 2
  • 9
2
votes
2 answers

trying to reduce runtime in python leetcode question

Edit: Because i wansn't clear i'm just gonna copy the question (my answer is the code). Given a string obtain the alphabetically smallest string possible by swapping either adjacent 'a' and 'b' characters or adjacent 'b' and 'c' character any number…
yuofvi
  • 45
  • 7