Most voted "runtime" questions
60 questions
Sort by count of
-
34
votes2
answers1952
viewsWhat is a Jitter?
In the context of software development what is a Jitter? More and more people are talking about it and several languages are using the so-called JIT compilation. As it differs from a compiler?…
-
19
votes1
answer1277
viewsWhat is "Runtime Environment" really?
Studying a little about ASP.NET 5 I came across something I did not understand very well. To use it you need to install KVM (K Version Manager) and KPM (K Package Manager). KVM is responsible for…
-
19
votes2
answers1336
viewsWhat’s the difference between "Compile time" and "run time"?
Compile time and run time are common terms that we often hear in the programming area, what are the main differences or characteristics of these two terms?
runtimeasked 7 years, 4 months ago rubStackOverflow 7,372 -
13
votes3
answers29788
viewsMeasuring the run time of a function
How can I measure the running time of a Python function? In C#, I can use the class Stopwatch in that way var sw = new Stopwatch(); sw.Start(); AlgumaFuncao(); sw.Stop(); WriteLine(sw.ElapsedTicks);…
-
8
votes1
answer1303
viewsWhat is and how does . NET Platform Standard work?
Recently I have studied the . NET Core and ASP.NET Core and one of the changes to the RC2 version that is to come, as far as I know, is called . NET Platform Standard. This standard is described in…
-
7
votes1
answer116
viewsAre the new self-contained . NET executables really native?
In that question here, was discussed about whether there is a need to install . NET 5 (or .NET Core 3) on the machine to run compiled executables, and the answer is: No, the . NET 5 is not…
-
6
votes3
answers4229
viewsCheck the running time of a Javascript function
I wonder if it is possible to know the running time of a certain javascript function.. This function does not need to bring external data, it can only handle form tags, set value, calculate fields,…
-
6
votes1
answer477
viewsTime difference between stdio. h and iostream
I made two codes so that an online Judge corrected. They are essentially the same. But the with stdio. h is accepted and the with the iostream is not, because it exceeds the time limit. Why this…
-
5
votes1
answer248
viewsWhat is managed code?
In a conversation with a co-worker about what language was used to develop Windows, he said that many parts should still be developed in C and C++, as it was necessary to run unmanaged code. Other…
-
5
votes3
answers3023
viewsCompilation and execution error difference
A build error would be the one the IDE already warns about even before compiling, such as missing a semicolon, correct? But what about the error of execution? It would be for example a Exception?…
-
5
votes2
answers1742
viewsProcessing time of functions
How I check the processing time of the subfunctions of a function in order to optimize it? I read about it in R help and in:…
-
5
votes1
answer209
viewsIf C/C++ are native languages then why do they need runtimes?
Usually the first thing that came to my mind when I heard the term native language, was a program that ran independent of operating system, communicating directly with hardware, I always developed…
-
4
votes2
answers1125
viewsSql - Delete Bulk Records - Delete Bulk
I have a table with about 4 million records. What is the best method to delete all of them to get the best time? Indexing helps something, since it is only a reference to find data? OBS `DELETE FROM…
-
4
votes1
answer727
viewsCountdown time
I’m creating a mini-game with several questions and I want you to have time, x until zero. The counter only needs to have seconds and minutes. Does anyone know of any function in C++ or some…
-
4
votes2
answers350
viewsHow does PHP run time work?
I’ve always been interested in how long my code runs. The problem is that I don’t quite understand how the execution of PHP code works. Below are the questions: On the server, the PHP code is…
-
4
votes3
answers2432
viewsHow to speed up a script to full speed in python?
I was playing with a method to approximate the PI number and I realized that the code runs very slowly in the Python 3.6 interpreter, and the process is only using 30% of the processor. There would…
-
4
votes3
answers1583
viewsfunction in R that also returns the execution time itself
I know there is Rprof(), but it seems to me rather inaccurate compared to microbenchmark(). However, if I want to use the microbenchmark() I have to call the function 2 times, once to have her…
-
3
votes1
answer430
viewsCrystal Report Runtime is crashing
Hello I am trying to fix an error in my application, I used FUSLOGVW.exe to know which dlls were missing are wrong. It is returning me this msg: But the dll msvcm80.dll hand is part of my project,…
c# windows visual-studio-2012 crystal-reports runtimeasked 9 years, 4 months ago Fabrício Mendes 843 -
3
votes1
answer1218
viewsFind out if a point is within a circle on a Cartesian plane
I was doing the task Target shooting of the 2013 Brazilian Computer Olympiad (OBI) at Programming level 2, which can be found here, and I was able to do it without great difficulty. The task was to…
-
3
votes1
answer424
viewsRun Java class by passing parameters to Scanner
Bestamos creating a programming championship in Java and we would like the students to make an algorithm that reads from a scanner and calculates a certain mathematical logic and returns in the…
-
3
votes1
answer1356
viewsPython serial vs multiprocessing vs threading code
I’m using python version 3.4 How do I find out that my codes are actually working and doing what they’re supposed to? When looking at the System Monitor (linux) I noticed that codes using…
-
3
votes2
answers1343
viewsHow to calculate runtime in PHP
I would like to know how long it takes for a certain function, loop loop, etc... to be executed. I use the function microtime(), but I am a little lost to know exactly what time was spent. And my…
-
2
votes1
answer159
viewsRegex - Very high replace process time
Recently after developing a process, I saw that this was taking exorbitant 5~6min to be executed, something that should take at most 2s, so I started debugging the code with timers to know what…
-
2
votes2
answers173
viewsHow to Consume Less Memory in C#Runtime?
What I’d like to know is what are the most efficient ways to consume less memory in Runtime. Use of variables "Static" ? Create object with instants or a static class? Use of the Dispose() to free…
-
2
votes1
answer157
viewsMeasure time of a routine in Ruby
Is there a Ruby function to measure the time of a function? In python I use: ini = time.time() #função fim = time.time()
-
2
votes2
answers135
viewsHow to capture information from a 64-bit process that is running?
Well, I need help to capture the information of a running process. I can accomplish this task by accessing the mainmodule 32-bit processes, however, I cannot do the same with 64-bit processes. I…
-
2
votes2
answers308
viewsDelete an editText when modifying another
I’m starting my studies on Android now, and I’m doing some tests. I have two Autocomplittextview fields, in both an id and a description is shown. X1 and X2 (fictitious names). The X2 list is…
-
2
votes2
answers1688
views -
2
votes0
answers122
viewsHow to insert Runtime permission into a webview that gets the user’s location?
So.. I’m starting to create a webview and the site I’m basing on has an option to get the coordinates from a certain location, on the site this works perfectly, but when I put on APP he opens the…
-
2
votes1
answer213
viewsCode adaptation Fortran for python [Runtimewarning: overflow encountered in double_scalars]
I tried to adapt the following code in Fortran to python: PROGRAM Escape_tent IMPLICIT NONE ! Declare local variables INTEGER :: i,j,tfinal,P,k,rede Real,dimension(0:2800) :: x,xn real, external ::…
-
1
votes1
answer54
viewsReason for different versions of DNX depending on the OS
A while ago I asked here about what . NET Execution Environment (DNX) really is. After reading the answer and the DNX Wiki I started to understand DNX as an interface between the virtual machine in…
-
1
votes1
answer732
viewsProblem defining onClick in Runtime with Pascal (Delphi/Lazarus)
I need to use the procedure ClicaItem(Sender: TObject); in a OnClick created at runtime by the procedure CriaItem(nome:String);. However, in all my attempts, I could not attribute item.OnClick à…
-
1
votes1
answer60
viewsChange Property in Run Time
How can I change the property TRectangle.Align in Runtime Delphi 10.2 using Firemonkey for multi-platform application?
-
1
votes1
answer30
viewsHow is it possible not to use a dependency to compile, but to use it at runtime?
Studying build tools like Maven, I saw that it is possible to declare the scope of a dependency only as Runtime, which would make it impossible to compile a code that uses it. As this is possible,…
-
1
votes1
answer395
viewsChained list without head, intersection function problem
I’m doing a series of function with chained list without head, but a function called Intersection is not working properly, the problem compiles without errors but this function specifically does not…
-
1
votes1
answer468
viewsJava Runtime.getRuntime(). exec() Does not execute commands with space
I have a client socket and a server, the client sends a command to the server to run, but when the command has spaces, the server generates an exception: java.io.Ioexception: invalid null Character…
-
1
votes1
answer813
viewsRuntime Error in Python
I made a backtracking program in Python to find a set of M-sized binary strings where any string has a distance greater than d to any other string in the set. But it does not work well when I test…
-
1
votes1
answer145
viewsHow to create an integer variable in hexadecimal?
I am trying to create an integer variable in hexadecimal, but an error occurs saying it is not in the correct format. [DllImport("user32.dll")] public static extern short GetKeyState(int vKey);…
-
1
votes1
answer398
viewsHow to cancel the execution of a function in C#
I am developing a C# WPF desktop application in which there is a function responsible for sending email EnviarEmail(), when this function is executed it takes a certain period of time for it to be…
-
1
votes0
answers46
viewsDevelop Plugin for Windows Desktop
I am developing a Cordova plugin for windows desktop and need to use some native functions, I will have to use Windows Runtime. I started by following a tutorial and I have the following structure:…
-
1
votes2
answers136
viewsHow to improve runtime
I have a csv with data from some matriculations I’m doing a study, I generated an id for each matriculation, and wanted to check if it repeats in the same year. I have the following code: # retorna…
-
0
votes1
answer173
viewsZF2 - Runtimeexception: Module (Zfcuserdoctrineorm) could not be initialized
I just downloaded the Composer installer. This is what I have in my Composer.json: "require": { "php": ">=5.3.3", "zf-commons/zfc-user": "dev-master", "zendframework/zendframework": "2.3.*",…
-
0
votes0
answers25
viewsWhy does Linqpad say a network directory exists, while . NET does not?
I have a network directory on "\\10.88.0.1\rec". However Directory.Exists returns false while debugging in visual studio. This is strange since the LinqPad returns true. Are there any differences…
-
0
votes0
answers38
viewsRun javascript after page exchange
Good morning. I have developed a script to run on a given web page, an action automation. [...] if (codigo == codigo1) { processar(codigo2); } else { if (quantAldeias > 0) {…
-
0
votes1
answer58
viewsRun code javascript: How to design an environment that runs the user-provided Javascript code?
I am doubtful on how to execute a code in javascript, provided by the user of the platform, as in the example of the following site: https://js.do/…
-
0
votes1
answer57
viewsHow to prevent my java application from opening twice or more simultaneously?
I am developing a project, in which I need to prevent the user to run the application more than once at the same time, that is, if the application is already running instead of running again it…
-
0
votes0
answers1387
viewsThis program is giving Runtime Error on Uri, I would like to know where I am missing
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> int main(){ short int numCasos, i = 1, j = 1, soma = 0; long long int num; scanf("%hd",…
-
0
votes1
answer613
viewsCreate a Table at runtime. C#
Hello, I need to create a table within a DB Access at runtime. The Database already exists, I would just like to click on a buttona new tablewas created within this DB with Nome de Campos and Data…
-
0
votes0
answers51
viewsIs it possible to run a Windows executable stored in memory?
I have an executable that is not an . NET Framework Assembly stored in a byte[], and I intend to run it without creating a file dedicated to it for security reasons. The reason you don’t want to…
-
0
votes0
answers73
viewsRuntimewarning error
I am trying to run an array and the following error appears: Runtimewarning: invalid value encountered in double_scalars. What may cause it? def geomBarras(nx, ny, nz, fx, fy, fz): #determina…