Gang Of Coders
Home
About Us
Contact Us
All Compiler Construction Solutions on Gang of Coders
Total of 142 Compiler Construction Solutions
Learning to write a compiler
Compiler Construction
Language Agnostic
What is an application binary interface (ABI)?
Compiler Construction
Abi
What does a just-in-time (JIT) compiler do?
Compilation
Compiler Construction
Jit
How does the compilation/linking process work?
C++
Compiler Construction
Linker
C++ Faq
Compiled vs. Interpreted Languages
Java
Python
Compiler Construction
Programming Languages
Interpreter
Clang vs GCC - which produces faster binaries?
Optimization
Gcc
Compiler Construction
Clang
Benchmarking
Why does Java switch on contiguous ints appear to run faster with added cases?
Java
Performance
Assembly
Compiler Construction
Switch Statement
What's the difference between __PRETTY_FUNCTION__, __FUNCTION__, __func__?
C++
C
Compiler Construction
Standards
What is the difference between LL and LR parsing?
Algorithm
Parsing
Compiler Construction
Ll
Lr
compilation warning: no rule to process file for architecture i386
Objective C
Xcode
Cocoa Touch
Compiler Construction
How does Go compile so quickly?
Performance
Go
Build
Compiler Construction
Writing a compiler in its own language
Compiler Construction
Bootstrapping
Could not load file or assembly ... The parameter is incorrect
C#
Exception
Compiler Construction
Compiler Errors
Where are static variables stored in C and C++?
C++
C
Compiler Construction
Reading GHC Core
Performance
Compiler Construction
Haskell
Ghc
It is more efficient to use if-return-return or if-else-return?
Python
C
Performance
Compiler Construction
How are GCC and g++ bootstrapped?
C++
C
Compiler Construction
"No newline at end of file" compiler warning
C++
Compiler Construction
Warnings
C Preprocessor
Parse a .py file, read the AST, modify it, then write back the modified source code
Python
Compiler Construction
Abstract Syntax-Tree
Compiling with g++ using multiple cores
C++
Compiler Construction
Makefile
G++
Multicore
How was the first compiler written?
Compiler Construction
Machine Instruction
How does the C# compiler detect COM types?
C#
Com
Compiler Construction
C# 4.0
Compiling vs Transpiling
Compiler Construction
Abstraction
Transpiler
What is difference between sjlj vs dwarf vs seh?
C++
Compiler Construction
Mingw
Cpu Architecture
Mingw W64
In which language is the C# compiler written?
C#
Compiler Construction
Roslyn
Why is the .bss segment required?
C
Linux
Compiler Construction
Can a recursive function be inline?
C++
C
Compiler Construction
how does array[100] = {0} set the entire array to 0?
C++
C
Compiler Construction
What does the -ObjC linker flag do?
Iphone
Objective C
Ios
Compiler Construction
TargetedPatchingOptOut: "Performance critical to inline across NGen image boundaries"?
C#
.Net
Compiler Construction
Ngen
error: writable atomic property cannot pair a synthesized setter/getter with a user defined setter/getter
Objective C
Xcode
Compiler Construction
Properties
C compiler for Windows?
C
Windows
Compiler Construction
How many GCC optimization levels are there?
C
Optimization
Gcc
Compiler Construction
How to drive C#, C++ or Java compiler to compute 1+2+3+...+1000 at compile time?
C#
Java
C++
Compiler Construction
Metaprogramming
Qt: can't find -lGL error
C++
Qt
Compiler Construction
Qt Creator
Ubuntu 13.04
What is compiler, linker, loader?
Compiler Construction
Linker
Terminology
Loader
How to create a static library with g++?
C++
Gcc
Compiler Construction
G++
Where to learn about VS debugger 'magic names'
C#
Compiler Construction
Debugging
What's the difference between parse trees and abstract syntax trees (ASTs)?
Compiler Construction
Terminology
Compiler Theory
Abstract Syntax-Tree
Parse Tree
Meaning of Android Studio error: Not annotated parameter overrides @NonNull parameter
Java
Android
Android Studio
Compiler Construction
Annotations
What is the difference between LR, SLR, and LALR parsers?
Algorithm
Parsing
Compiler Construction
Grammar
Lr
(A + B + C) ≠ (A + C + B) and compiler reordering
C++
C
Compiler Construction
Integer Overflow
Why is it impossible to build a compiler that can determine if a C++ function will change the value of a particular variable?
C++
Compiler Construction
What is the difference between a token and a lexeme?
Compilation
Compiler Construction
Token
Bootstrapping still requires outside support
Compiler Construction
Bootstrapping
Eclipse: enable assertions
Java
Eclipse
Compiler Construction
Assertions
implementing type inference
Compiler Construction
Functional Programming
Language Design
Type Inference
Why does this (null || !TryParse) conditional result in "use of unassigned local variable"?
C#
C# 4.0
Dynamic
Compiler Construction
Cil
What kinds of patterns could I enforce on the code to make it easier to translate to another programming language?
Php
Python
Compiler Construction
Coding Style
Abstract Syntax-Tree
Are GCC and Clang parsers really handwritten?
C
Parsing
Compiler Construction
Compilation
Compile, Build or Archive problems with Xcode 4 (and dependencies)
Objective C
Compiler Construction
Xcode4
Clang
C Preprocessor
Why does this Java code compile?
Java
Compiler Construction
How to approach creating a JVM programming language?
Compiler Construction
Programming Languages
Jvm
Jvm Languages
Is gcc C compiler written in C itself?
C
Gcc
Compiler Construction
Is the creation of Java class files deterministic?
Java
Compiler Construction
Javac
GCC: how is march different from mtune?
Optimization
Gcc
Compiler Construction
Options
Flags
combine two GCC compiled .o object files into a third .o file
Gcc
Compiler Construction
Linker
Ld
Object Files
How can the Linux kernel compile itself?
C
Linux
Compiler Construction
Why is writing a compiler in a functional language easier?
Compiler Construction
Haskell
Ocaml
Functional Programming
Where can I learn the basics of writing a lexer?
Language Agnostic
Lexer
Compiler Construction
What is the difference between LR(0) and SLR parsing?
Algorithm
Parsing
Compiler Construction
Lr
Do compilers produce better code for do-while loops versus other types of loops?
C
Performance
Compiler Construction
Why GDB jumps unpredictably between lines and prints variables as "<value optimized out>"?
C
Optimization
Compiler Construction
Gdb
Compilation
How does an interpreter/compiler work
Compiler Construction
Interpreter
Visual Studio: LINK : fatal error LNK1181: cannot open input file
C++
Visual Studio
Compiler Construction
How to create AST with ANTLR4?
Java
Compiler Construction
Antlr
Abstract Syntax-Tree
Antlr4
Adding scripting functionality to .NET applications
C#
.Net
Scripting
Compiler Construction
Is C open source?
C
Compiler Construction
Open Source
How do I compile the asm generated by GCC?
C
Gcc
Compiler Construction
Assembly
Compiling C# to Native?
C#
.Net
Compiler Construction
Native
How is TypeScript 100.0% written in TypeScript?
Javascript
Typescript
Compiler Construction
Why is this C++ program so incredibly fast?
C++
Performance
Assembly
Compiler Construction
Can compiler optimization introduce bugs?
Optimization
Compiler Construction
Compiler Optimization
How to compile .c file with OpenSSL includes?
C
Linux
Compiler Construction
Openssl
Compiler Errors
Is it possible to install a C# compiler without Visual Studio?
C#
Compiler Construction
Msbuild
Csc
Why does the C# compiler allow empty enums?
C#
Compiler Construction
Enums
How can a C compiler be written in C?
C
Compiler Construction
Kernighan and-Ritchie
What is Haskell's Stream Fusion
List
Optimization
Compiler Construction
Haskell
What is the difference between clang (and LLVM) and gcc / g++?
Compiler Construction
Invoking GCC as "cc" versus "gcc"
C
Linux
Gcc
Compiler Construction
Gnu
Purpose of "let expression" (LetExpr) in the Java compiler?
Java
Compiler Construction
Language Design
Let
Is it possible to use GPU acceleration on compiling multiple programs on a gcc compiler?
Gcc
Compiler Construction
Gpu
Hardware Acceleration
Why do I have to specify data type each time in C to printf() and scanf()?
C
Compiler Construction
Printf
Scanf
How to compile makefile using MinGW?
C
Compiler Construction
Makefile
Mingw
C / C++ compiler warnings: do you clean up all your code to remove them or leave them in?
C++
C
Compiler Construction
Warnings
Duck typing in the C# compiler
C#
Compiler Construction
Idisposable
Duck Typing
Update GCC on OSX
C++
Macos
Gcc
Compiler Construction
G++
How is release handled for @synthesized retain properties?
Objective C
Compiler Construction
Memory Management
Properties
How was the first C compiler written?
C
Assembly
Compiler Construction
Can we use C code in Python?
Python
C
Linux
Compiler Construction
"g++" and "c++" compiler
C++
Compiler Construction
Ubuntu
G++
How exactly does java compilation take place?
Java
Compiler Construction
Jvm
Multi-line DEFINE directives?
C++
C
Compiler Construction
Why is so much space allocated on the stack?
C++
Compiler Construction
Convert javascript code to c code
Javascript
C
Compiler Construction
implicit operator using interfaces
C#
Generics
Compiler Construction
Casting
Implicit Conversion
I wrote a program that allow two classes to "fight". For whatever reason C# always wins. What's wrong with VB.NET?
C#
vb.net
Compiler Construction
Initialization
JavaScript parser in Python
Javascript
Python
Parsing
Compiler Construction
Disabling g++'s return-value optimisation
C++
Optimization
Compiler Construction
G++
Return Value-Optimization
Compiler vs Interpreter vs Transpiler
Compiler Construction
Language Agnostic
Terminology
Interpreter
Transpiler
What's the difference between parse trees and abstract syntax trees?
Compiler Construction
Abstract Syntax-Tree
Parse Tree
What do R_X86_64_32S and R_X86_64_64 relocation mean?
C
Compiler Construction
Linker
Elf
Relocation
what is "stack alignment"?
C++
Data Structures
Mingw
Visual C++
Compiler Construction
initial value of int array in C
C
Arrays
Compiler Construction
How to compile a Visual Studio C# Project with Mono
C#
Visual Studio
Compiler Construction
Mono
C++ variable has initializer but incomplete type?
C++
Class
Compiler Construction
Why do compilers duplicate some instructions?
C++
Compiler Construction
Clang
Why don't C++ compilers do better constant folding?
C++
Compiler Construction
Eigen
Automatic Differentiation
Ceres Solver
Portability of #warning preprocessor directive
C++
Compiler Construction
Warnings
C Preprocessor
Portability
Do programming language compilers first translate to assembly or directly to machine code?
Assembly
Gcc
Compilation
Compiler Construction
How does C-- compare to LLVM?
C
Compiler Construction
Code Generation
Llvm
C Minus-Minus
What's the difference between GNU99 and C99 (Clang)?
C
Compiler Construction
Option
Clang
DMD vs. GDC vs. LDC
Compiler Construction
D
Dmd
Gdc
Do unused functions get optimized out?
C++
C
Compiler Construction
Template within template: why "`>>' should be `> >' within a nested template argument list"
C++
Templates
Compiler Construction
Vector
Lexicographic
If Int32 is just an alias for int, how can the Int32 class use an int?
C#
Compiler Construction
Internals
When to use babel.config.js and .babelrc
Javascript
Compiler Construction
Babeljs
Why is (void) 0 a no operation in C and C++?
C++
C
Compiler Construction
ios5 ARC what is the compiler flag to exclude a file from ARC?
Compiler Construction
Ios5
xcode4.2
Automatic Ref-Counting
What does the clang -cc1 option do?
Compiler Construction
Llvm
Clang
Differences between Just in Time compilation and On Stack Replacement
Java
Compiler Construction
Jvm
Jit
Vm Implementation
CLR vs JIT
C#
Compiler Construction
Clr
Jit
likely/unlikely equivalent for MSVC
Visual Studio
Gcc
Optimization
Compiler Construction
Likely Unlikely
What do C and Assembler actually compile to?
C++
C
Compiler Construction
Linker
Assembly
Compiler warning - suggest parentheses around assignment used as truth value
C
Compiler Construction
Compiler Warnings
What is Linux utility to mangle a C++ symbol name?
C++
Compiler Construction
Dlsym
Demangler
Abstract Method in Non Abstract Class
C#
Oop
Compiler Construction
fatal error C1010 - "stdafx.h" in Visual Studio how can this be corrected?
C++
Visual Studio
Compiler Construction
Header
Python Compilation/Interpretation Process
Python
Compiler Construction
Interpreter
Python Internals
Literal Syntax For byte[] arrays using Hex notation..?
Java
Arrays
Compiler Construction
Hex
Literals
shared_ptr: horrible speed
C++
Performance
Compiler Construction
Shared Ptr
Why do I get this compile error trying to call a base constructor/method that takes a dynamic argument?
C#
.Net
C# 4.0
Dynamic
Compiler Construction
Why does C need "struct" keyword and not C++?
C++
C
Compiler Construction
What does "Cannot evaluate expression because the code of the current method is optimized." mean?
C#
.Net
Debugging
Optimization
Compiler Construction
For what reason would I choose a C# compiler file alignment setting other than 512?
C#
Compiler Construction
Csc
For { A=a; B=b; }, will "A=a" be strictly executed before "B=b"?
C++
C
Optimization
Compiler Construction
Standards
Constants and compiler optimization in C++
C++
Optimization
Compiler Construction
Cannot refer to the static enum field within an initializer?
Java
Compiler Construction
What does the error "the exec task needs a command to execute" mean?
C#
.Net
Exception
Compiler Construction
What are the differences between a compiler and a linker?
C
Compiler Construction
Linker
Terminology
C# 4.0 Compiler Crash
C#
Compiler Construction
Crash
How to create a C compiler for custom CPU?
C
Compiler Construction
Customization