Most voted "compilation" questions
Compilation is the process of producing information, typically a program to be run by a computer, from a source (or sources) being typically text in a computer programming language. DO NOT USE this tag for build errors. It should be used for the process.
Learn more…168 questions
Sort by count of
-
82
votes1
answer9485
viewsHow is a compiler made?
A compiler is programmed in what language? All compilers of a language are equal or one may exist better than another?
compilation compilers computer-science compiler-projectasked 8 years, 11 months ago Bruno Brito 2,850 -
38
votes2
answers8746
viewsIs Javascript interpreted or compiled at runtime?
In this other question I asked the same thing, but in relation to Java. Now I ask about Javascript. As far as I know, historically Javascript has always been interpreted, but Google has changed that…
-
35
votes2
answers998
viewsA C compiler can generate a 64-bit executable where pointers are 32-bit?
Most programs fit well into address space of less than 4GB, but in some cases the program may need to use new processor features/instructions that are only available on x64 architecture.…
-
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?…
-
31
votes1
answer1866
viewsWhat is the Webassembly?
Reading random articles, I read one that predicted the end of Javascript through Webassembly, which seems to be a way to get other languages to do Javascript’s work, but I’m sure this is a wrong…
-
24
votes1
answer2966
viewsRoslyn Compiler - What is it, and why was it created?
What is the Roslyn compiler? This is the standard compiler of Visual Studio? Is it open source? Why did they do it? Only for C# or other languages?
c# .net vb.net compilation .net-compiler-platformasked 9 years, 2 months ago Guilherme de Jesus Santos 6,566 -
22
votes2
answers2225
viewsCompile string as code
There is how I compile a string within C#? Example: Console.WriteLine(\"Hello World\");. Like a eval javascript? 'Cause I had a project to load a code into a text file or something.…
-
21
votes6
answers502
viewsEmpty semicolon doesn’t make a mistake?
I was working on a project and unintentionally bumped into the semicolon that ended up being inserted well after a if. I was intrigued because Visual Studio did not point out as an error, and when…
-
19
votes3
answers2053
viewsWhy do 64-bit versions of programs have better performance, stability and security?
Recently, Google announced that the Dev version of Chrome is also available in 64-bit. It will probably be available also for stable versions in the future. What struck me is that Google said the…
-
18
votes2
answers847
viewsHow does running an . NET application work?
There are several terms I always hear/read when I see talk about running. NET applications, such as MSIL, CIL, IL, JIT, Jiter, Roslyn, CLR, among others I must have forgotten. I would like a brief…
-
17
votes2
answers809
viewsWhat will the new logic of quantum computer programming look like?
There is a lot of talk about quantum computers with high performance and processing capacity. Unlike bits, the qubits of quantum computers, working with superposition, can assume three different…
algorithm compilation binary computer-science computer-theoryasked 9 years, 1 month ago Denis Caixeta 3,427 -
14
votes1
answer287
viewsWhat is the technology behind virtual machines?
Besides Java and the environment .NET various other environments such as Python, Ruby, Moon, etc interpret bytecodes. In the first versions Java left to be desired in terms of performance, but the…
-
14
votes2
answers1691
viewsWhat is the advantage of using languages you compile for other languages?
We were discussing in Stackoverflow’s chat about languages like Moonscript and Coffeescript. They are two languages that compile into other languages. Moonscript for Lua and Coffescript for…
-
14
votes2
answers2381
viewsWhat is the difference between static and dynamic linkage?
Recently, searching why small Go codes have a much larger executable than the same C-generated code, I read an answer stating that the reason is because Go use linkage static, unlike C, which uses…
-
13
votes3
answers8989
viewsWhat is "build" and what is its relationship to the IDE?
In the area of software development has a term that appears very often that is the build. It always comes to me when I read about Android Studio and other development tools (usually Ides), I think…
-
12
votes1
answer20870
viewsWhat does compiling mean?
I have some questions about the process of compiling a code: What is the compilation process? How it works? What are the steps in the compilation process? What is the difference between build x…
-
11
votes2
answers2240
viewsHow does C99 work in relation to C90 for declaring variables in the middle of the code?
At C90 and C89 we have to loop for must have its variable declared earlier at the beginning of the function scope, example: void main (void) { int i; for(i = 0; i < 10; i++) { /* Qualquer coisa…
-
11
votes3
answers3987
viewsWhat does it mean to run lint in the code?
I saw that expression "lint code" in some places, in the IDE of Visual Studio and also when executing the NG CLI, the client of Angular. What does that mean? What exactly "lint code" ago?…
-
10
votes3
answers671
viewsA C program can tell which OS it is compiling?
I am developing a multi-platform C API and need to know if there is any way to know which OS is being compiled. For example, it could be a pre compilation directive #ifdef LINUX…
-
10
votes2
answers1301
viewsDifferences between compiling and recompiling?
Some Ides like Visual Studio have the options to compile and recompile the project, what is the difference between the two and what do they perform differently? And when each should be used?
-
10
votes2
answers210
viewsHow does an "if" work internally?
The if is widely used in programming, and he plays several important roles in a programmer’s everyday life. The code seems to magically run if an expression is passed in the if is true, otherwise…
-
9
votes1
answer264
viewsWhy does the compiler create repeated . class files?
I have noticed that when the java compiler compiles some class that has some swing/awt component, it creates another or even several classes of the same name, with a $ followed by a numbering. I…
-
8
votes2
answers1863
viewsHow to decrease compilation time?
I have a Solution with 20 projects, and most have a dependency relationship with each other. The build time takes a lot (6-8 minutes - may seem small, but it does a lot of damage when testing), even…
-
6
votes1
answer12372
viewsHow to compile C file using Sublime Text on Windows 8.1 64 bit?
I installed the Sublime Text in Windows 8.1 64 bit. How to compile a *.c file through Sublime on Windows? Is it necessary to install a compiler and/or another program to alert code errors and create…
-
6
votes2
answers2168
viewsCompile and run project via command line
I have an Android application developed in Eclipse. I know it is possible to compile and run a project from the console, but I don’t know how to do it. The basic steps to compile a program JAVA is…
-
6
votes1
answer857
viewsAny CPU or x64?
I searched for compilation on Any CPU and x64, but found nothing regarding performance and file size. There is difference between these two in this question when the machine is x64? Website using C#…
visual-studio performance compilation x64 jitasked 7 years, 2 months ago Fernando Augusto De Almeida Ba 91 -
6
votes1
answer87
viewsSymbols in compilation time
When compiling only with -c and when displaying the symbols with $nm ficheiro.o, what the symbol means C and which section is assigned to it? I have read that it means that the symbol is common and…
-
5
votes2
answers1093
viewsHow to compile a *.c file with Clang to signal problems?
In GCC I typed in the terminal: gcc -wall -o nomedoarquivo.c nomedoexecutavel or if you only had 1 file . c [OBS.: typed "a" to make it easier in the]: gcc -wall -o *.c a The restriction I used, if…
-
5
votes2
answers1314
viewsConfigure the compiler output path in Netbeans
Would anyone know how to configure in Netbeans, so that when I compile a project, it manages the executable in a given folder? In the project properties, you have the binding option, which I believe…
-
5
votes2
answers195
viewsCompile Linux-ready Assembly on OSX
I’m trying to do a study of compilers, so I have to compile an Assembly of a language called howto with nasm. the intermediate code generated by the howto compiler is as follows: extern printf…
-
5
votes1
answer550
viewsCompilation/Minification of HTML, CSS and class names
On the CSS side I already do the compilation and minification of the CSS file. Doubts began to arise when I noticed that some sites work with a type of Compile including in`HTML files. In other…
-
5
votes4
answers150
viewsHow to use unsafe code on a Web Site
I was looking to practice the use of pointers in C#, so I created in a website the following method: public static Nodo[] MontaTree(){ //... código ... } Obviously the above code does not allow to…
-
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
votes1
answer122
viewsInheritance at compilation time?
I was reviewing some codes and some concepts when I find the following assertive: The legacy mechanism in Java occurs at compile time, i.e., every reuse of code accomplished by inheritance is…
-
5
votes1
answer123
viewsHow to perform semantic analysis using pure functional programming without side Effect?
I wonder if there is any way to know what the current context is without using side effects as Agente of the elixir , letting semantic analysis be carried out along a pipeline of functions that walk…
-
4
votes2
answers4192
viewsBuild and build. What are the differences and when to use?
In some IDE’s there are 2 options to generate an executable file: compile and effect a build. Both generate a new file executable from source code, ready to run. What is the difference between the 2…
-
4
votes3
answers14619
viewsjava.lang.Noclassdeffounderror: Caused by: java.lang.Classnotfoundexception: When run . jar
I am developing in Netbeans IDE when running through the IDE everything works fine but when I do clean and build and create . jar while executing casts me this exception: I tried to compile package…
-
4
votes1
answer1912
viewsCompile multiple Java classes in cmd?
How to compile multiple files .class in java by cmd? I tried and he informs that it was not possible to locate the main.
-
4
votes2
answers3435
viewsCompile multiple java files in the same folder
I made a very simple Java program, using the notepad and compiling by CMD. The problem is that even though the files are in the same folder, the class that has the method main() does not compile.…
-
4
votes1
answer162
viewsCompiling code on Ubuntu and running on windows
Hi, I was wondering how can I compile a C code on Ubuntu and what execute on Windows. I tried to put the extension ". exe" at the end of the file, but when I sent the executable to my teacher he…
-
4
votes1
answer395
viewsHow to vector code in C++?
Would you like to know how to vector code in C++ ? because the material I found on the internet is a bit excasso. I understand as vectorization the use, not only of vectors, but of doing in a single…
-
4
votes1
answer169
viewsWhat’s the difference between a Windows compiler and Linux executable
When compiling a simple program for Linux, the compiler generates an executable that only works on Linux, but when compiling the same code with a compiler for Windows it generates an executable that…
-
4
votes1
answer159
viewsHow do IDE and compiler integrate?
Taken from here: What is a programming language, IDE and compiler? In general the compiler is a console program, but there are cases that they are libraries that can be used in conjunction with…
-
3
votes1
answer215
viewsprintln on Swift via terminal
I’m trying to compile a class people.swift for Terminal macosx class People { let name:String = "" let age:Int = 0 init(name:String, age:Int) { self.name = name self.age = age } let anyPeople =…
-
3
votes2
answers436
viewsError compiling in Delphi XE5 UPD2
I’m having the following error when compiling on Delphi XE5, does anyone know what it might be? started after an unsuccessful attempt to install XE6.…
-
3
votes2
answers729
viewsEncrypt source code Ruby on Rails?
I need to deploy a ready-made system made with the framework Ruby on Rails in a client’s company, the problem is that this client cannot have access to the source codes. Is there any way to…
-
3
votes1
answer145
viewsHow does the Java compiler work?
Why is the compiler of Java cannot guess which type of object will be returned on the line that will cause compilation error in this program? import java.util.*; class Teste { public static void…
-
3
votes4
answers343
viewsWhy not always use Optimize Code?
In Visual Studio there is the option Optimize Code which has the function of creating optimizations performed by the compiler to make your output file smaller, faster and more efficient. Why can’t I…
-
3
votes1
answer2178
viewsQuestions about executable program generation in VBA/Excel
I compiled a VBA program that interacts with an Excel spreadsheet. After having no more faults pointed out when compiling, the compilation is executed and no action is presented at the end. I did…
-
3
votes1
answer516
viewsIs it possible to load classes dynamically and use them as a type?
I’m trying to make a code that loads classes dynamically and can use them to create instances and be used for cast. I can create an instance in the newly loaded class using the method…