Hello,
I was wondering which is the best way to extend Java syntax and include other things.
I mean something like Groovy or other langagues based upon Java, that keep backward compatibility
The most efficient way should be to actually generate .class files without having to interpret them but letting the JVM do the dirty work. How ca...
Does .NET natively support Ahead of Time Compilation? I see that Mono has done this to avoid JITing issues on other platforms (IPhone for example), and was wondering if its possible to build dll's to native code and run those in IIS. For dev, I would really like to be able to flip a switch on VS and IIS, so I only have to wait once for...
I usually write C code in C89, now some features of C99 (like intxx_t or __VA_ARGS__ or snprintf) are very useful, and can be even vital.
Before I more my requirements from C89 to C99 I wanted to know which of C99 features were widely supported and which ones were not widely supported or even considered harmful.
I know we could just ch...
I am wondering how compilers on Mac OS X, Windows and Linux know where to find the C header files.
Specifically I am wondering how it knows where to find the #include with the <> brackets.
#include "/Users/Brock/Desktop/Myfile.h" // absolute reference
#include <stdio.h> // system relative reference?
I assum...
If you have a c++ project with several source files and you hit compile, which file does the compiler start with?
I am asking cause I am having some #include-dependency issues on a library.
Compiler would be: VC2003.
...
Is there a simple way to call Python libraries from JavaScript? Especially from the inside of a Firefox extension.
A good option to compile a pure Python library would also be great. I looked at Pyjamas, but it seems to offer only partial support for Python.
...
I am compiling a dll which goes just fine unless I use the -deviceemu mode.
In this case I get several of the following linking errors:
CUDAKernel_ColourHist.obj : error LNK2019: unresolved external symbol
___cudaMutexOperation@4 referenced in function ___uAtomicAdd
1>CUDAKernel_1.obj : error LNK2001:
unresolved ext...
Hello,
I have a solution with multiple projects - executable, library, and others(unimportant right now). Library contains EF entity classes and executable uses them. When I'm working on some code from the executable then every entity that I use is marked as an error and compiler says that I should check usings and references. Reference...
Hi,
I have encountered a working (with XLC8 and MSFT9 compilers) piece of code, containing a c++ file with a function defined with c linkage and a reference argument. This bugs me, as references are c++ only. The function in question is called from c code, where it is declared as taking a pointer argument to the same type in place of th...
I have a Silverlight project in which I compile to both Silverlight 2 and Silverlight 3 using the instructions here which imports MSBuild targets into the csproj file from two seperate locations holding Silverlight 2 and 3 targets respectively.
The build/compilation seems to work, producing two different files, but I was wondering if (a...
if (false == x) { ...}
as opposed to:
if (!x) { ... }
and
if (false == f1()) { ...}
as opposed to:
if (!f1()) { ... }
I think the if(false == ... version is more readable. Do you agree, or have another trick you can propose? Will it be just as fast? Thanks.
This is why I do not like !x:
if (25 == a->function1(12345, 6789) &&...
Is it possible to compile multiple languages together in order to get the best of the different languages.
...
I am looking for a simple compiler that compiles a simple language, I need it to write a paper about it and to learn how compilers work, I am not looking for a sophisticated thing just a simple language (by simple I mean a small code because for example gcc is toooooo big). any help is appreciated.
...
Does .net CLR typecast the objects to the ones mentioned in the collection declaration?
If i declare a
List<string> lststrs= new List<string>();
lststrs.add("ssdfsf");
does .net typecasts this object while adding and retriving?????
Well i think the question itself was not clearly understood by everyone.Let me elaborate. In java ther...
Hello all,
My friends and I are working on a compiler design as a project in my university (Damascus University).
We're using (Flex, C++, Bison, Qt) to do the job.
I was wondering if there is a way to design an IDE to our compiler using Qt. I know how to do the job but I'm asking to find out if there is some resource to start with, or...
I've spent my professional life as a C# developer. As a student I occasionally used C but did not deeply study it's compilation model. Recently I jumped on the bandwagon and have begun studying Objective-C. My first steps have only made me aware of holes in my pre-existing knowledge.
From my research, C/C++/ObjC compilation requires all...
I could compile the void main() as c++ source file with microsoft c/c++ compiler 14.00 (integrated with visual studio 2005).So does it means that the compiler does not conform to the c++ standard on the main function prototype?
Is the microsoft c/c++ compiler only one compiler,that is,it is only one c++ compiler?Because C source file co...
This question is based on a previous question: http://stackoverflow.com/questions/1917935/how-does-c-compilation-get-around-needing-header-files.
Confirmation that C# compilation makes use of multiple passes essentially answers my original question. Also, the answers indicated that C# uses type and method signature metadata stored in as...
By concept/function/implementation, what are the differences between compilers and parsers?
...
I think I'm somewhat confused about compiling .NET byte-code to native code, or maybe I'm confused about the end result. So please bear with me as I try to sort through what I think I understand so you can help me figure out what I'm missing.
What I'd like to do is compile my application written in C# down to regular native code like I...