Skip to main content

Questions tagged [compilation]

1 vote
1 answer
259 views

As far as I understand (not much), the archival .a file is just, roughly speaking, the collection/batch of object .o files. It's like a library of compiled code that can be cached and which can be ...
LeaBit's user avatar
  • 151
-3 votes
3 answers
372 views

Why is it necessary to have an instruction set for processors and controllers? Can't we simply convert high-level language programs, like those written in C, directly into binaries without the need ...
Harshith Gowda's user avatar
-1 votes
2 answers
223 views

When writing a tokenizer, what is the standard practice for handling aliased language keywords? For example, notethat signed short int is a language keyword in C++ and several aliases might be allowed....
Samuel Muldoon's user avatar
-3 votes
3 answers
100 views

On a platform with ECC memory, you can assure the compiled binary is 100% legit with EDAC daemon. (single-bit error will be corrected automatically, and multi-bit error will be logged so you can just ...
hurryman2212's user avatar
0 votes
0 answers
48 views

I am part of a small project that is doing some research code in C++. Our work involves a lot of mathematics and due to its nature we often need to temporarily use other people's code/libraries. To ...
Makogan's user avatar
  • 261
1 vote
4 answers
3k views

Java source code is compiled into bytecode for the JVM. But, how does JVM convert bytecode into machine code? Does it re-compile bytecode into machine code and then run it? Or does it simply just run ...
Grateful's user avatar
  • 149
0 votes
1 answer
298 views

Related (but different) question: How do you dive into large code bases? I have always worked on small projects where editing a piece of code is easy: you modify the code, you recompile and in a ...
Acerbic's user avatar
  • 69
-3 votes
2 answers
356 views

How specific is hardware optimization when building from source and what should I look for in the documentation to decide if building for my hardware might be worth it? From threads like this one I ...
Stonecraft's user avatar
-1 votes
1 answer
361 views

In C#, if I hide away implementation behind a facade, or the "pimpl" pattern, does the compiler optimize away the intermediate function call if all it's doing is calling an equivalent method from ...
pugdogfan's user avatar
  • 109
0 votes
1 answer
1k views

Scenario After having written an integration test in in JUnit 5, that executes the compiled project.jar, I used to manually compile the project after modifications, then manually execute the ...
a.t.'s user avatar
  • 225
0 votes
1 answer
987 views

This is basically a code development question that deals with frequent changes to one or more java files among many thousands. A few years ago, as a software intern, I was given a large java / jsp ...
gordonprog's user avatar
1 vote
2 answers
1k views

I recently had a discussion with a friend about code maintainability with regards to modifying an iterator inside of the body of a loop (C# syntax): List<int> test = new List<int>(); for (...
Taco's user avatar
  • 1,175
63 votes
9 answers
14k views

A friend of my family asked me for a bit of help as he learns to program (in the C language). As we were talking, he expressed frustration about having a hard time understanding the error messages his ...
einpoklum's user avatar
  • 2,808
5 votes
3 answers
18k views

A pretty critical issue came up, which is more legal than technical, but I hope to find a lower cost technical solution. There are laws in some countries (I'll leave out name) where you have to keep ...
Arthur Tarasov's user avatar
3 votes
1 answer
433 views

"Single item in a set depends on the whole set. Set depends on that item." I'm creating a compiler (https://github.com/SuperJMN/Plotty). In the last stage, the Intermediate Code is converted to ...
SuperJMN's user avatar
  • 453

15 30 50 per page
1
2 3 4 5