|
In .Net, is the attribute feature used at compile-time or run-time or both? Can you give me some examples?
Started by J.W. on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
However, to say that the metadata is "used" at compile time isn't quite to the assembly at compile....
Attributes are compiled into the code at compile time, but they are often used at runtime the program is running.
|
|
How do YOU reduce compile time, and linking time for VC++ projects? (native C++)
Please specify if each suggestion applies to debug, release, or both.
Started by Brian R. Bondy on
, 11 posts
by 11 people.
Answer Snippets (Read the full thread at stackoverflow):
I use samples ....
The reduction in link times can be enormous.
Additionally, you automatically separate and concatenate them at compile time as a build step.
Of comments and unit tests since compile time is decreased.
|
|
Is there a Java equivalent to the C & C++ compile-time constants __DATE__ and __TIME__. I need to print compile time and version info of the program being compiled.
Thanks
kodev19
Started by kodev19 on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
These properties can be used in the build-file, for instance, to create time-stamped filenames, or used below (here, the information....
It'll create a timestamp during build time for insertion.
The Ant TStamp task is of use here.
On this page.
|
Ask your Facebook Friends
|
I read that compiler can enforce dbc at compile time.. How does it do it?
Started by StackUnderflow on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
If the Theorem Prover can prove that a contract will... .
Powerful compile time constant folding and compile time condition checking (for D static assert(boolCond the fulfillment or violation of contracts at design time.
|
|
Consider the following two Java classes:
a.) class Test { void foo(Object foobar) { } } b.) class Test { void foo(pkg.not.in.classpath.FooBar foobar) { } }
Furthermore, assume that pkg.not.in.classpath.FooBar is not found in the classpath.
The first class...
Started by knorv on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
Besides, circumventing compile-time safety doesn't sound like a great selling-point to generate....
Which means that while it would be mechanically quite simple to create be a Java compiler.
To be resolvable at compile-time.
|
|
Can anyone please give me a good understanding of whats the difference between run-time and compile-time?
Answer Snippets (Read the full thread at stackoverflow):
Compile time is used to describe something that occurs when a program is being built (usually, by a compiler....
Compile-time: the time period in which you, the developer a program is running.
Let me google that for you.
|
|
Are static methods in Java always resolved at compile time?
Started by Joao Luis on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
In the base class will be called (name and signature must exactly match the original method from compile time it decides at compile time which exact method is called for each static method call (that's the big in those cases....
|
|
In WCF services and a variety of other .NET apps, I understand that app.config is used to specify settings. Is this file only used at compile time and settings get stored in the assembly or is it required at run time as well? Does it vary per project ...
Started by Matt on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
There are a bunch of APIs in the System.Configuration namespace that can .
It's a run time thing.
|
|
Would NTFS allocation blocks of 16KB or 32KB make compile time faster in comparison to the default 4KB?
Started by Brian R. Bondy on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
With the amount of caching a modern OS does, it seems unlikely to be significant fragmentation would be the biggest factor in determining compile speeds (that is, for a code base.
From compile speed.
|
|
Is there a #define in C# that allows me to know, at compile time, if I'm compiling for x86 (Win32) or x64 (Win64)?
Answer Snippets (Read the full thread at stackoverflow):
By default.
The build platform at compile time and define a custom directive accordingly.
|