Top "Runtime" questions

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

Redirect Runtime.getRuntime().exec() output with System.setOut();

I have a program Test.java: import java.io.*; public class Test { public static void main(String[] args) throws Exception { …

java redirect runtime exec runtime.exec
C#: Getting size of a value-type variable at runtime?

I know languages such as C and C++ allow determining the size of data (structs, arrays, variables...) at runtime using …

c# variables runtime value-type
Search times for binary search tree

Does anyone know how to figure out search time for a binary search tree(i.e. worst-case, best-case, and average-case)?

runtime binary-tree analysis
How to get Javascript Function Calls/Trace at Runtime

As I interact with my AJAX based application at RUNTIME I'd like the console to spit out all the functions …

javascript function google-chrome runtime trace
Changing language on the fly, in running iOS, programmatically

I've been stackling and googling for hours. And I'm kind of desperate now. I would like to change the language …

iphone ios localization runtime
Is it possible to create a function dynamically, during runtime in C++?

C++ is a static, compiled language, templates are resolved during compile time and so on... But is it possible to …

c++ function dynamic runtime
Change a method at runtime via a hot swap mechanism

Assume we have a trivial Java program that consists of just one class: public class HelloWorld { private static void replacable(…

java runtime hotswap
What are the most commonly used runtime exceptions in java?

As a java programmer who wishes to perfect his programming skills, I often come across the situations that I have …

java exception runtime
UIStoryboard: What's the Correct Way to Get the Active Storyboard?

I am currently furiously digging through all the docs, and haven't quite found what I'm looking for. I suspect it …

ios runtime storyboard
How fast is D compared to C++?

I like some features of D, but would be interested if they come with a runtime penalty? To compare, I …

c++ performance runtime d