Relative Content

Tag Archive for compilation

Compiling vs using pre-built binaries performance?

Will performance be better (quicker) if I manually compile the source for a software component for the actual machine that it will be used on, compared to if the source was compiled on another platform perhaps for many different architectures? I got some good results compiling source that I downloaded and I wonder whether this was due to compiling it instead of downloading a pre-compiled binary which is often the case with software updates.

Constants in C#

Why does the compiler store constant values in the assembly metadata?
Are they directly embedded to Intermediate Language code from the assembly metadata?

Shipping my first class library. Any gotchas I need to be aware of?

I’m a Web Developer about to unlock the “First Class Library Published” achievement in my career and I’m sweating bullets (I was up all night stressing out). I’d love to tap the experience of the community to see if anyone has any suggestions or recommendations for making sure this goes as smoothly as possible. Are there any specifics or gotchas I need to be aware of? Anything special about the build process that can come back to bite me?

Compiling multiple languages and Javascript

I have read numerous times that programming languages when making games or large software often use multiple languages / scripts together. I’m wondering how that works. How do they compile it? How does it work together?

Checking out and compiling repository. What is the correct approach for starting the compilation process?

I am writing a Bash script that automatically updates a repository containing source code and then compiles it. I have been a bit stuck on the part about how to start the compilation itself, i.e. if I should cat all the files in the repository and look for the main (or equivalent) function and then compile that file. Or if I should let the user specify which file in the repository contains the main function (or possibly a makefile) in the config file. This option requires more work and insight from the user, but I fear that the first option might cause long delays by unnecessary scanning all the files in the repository. What would be the best approach for solving this problem?

Pros and cons of the following Parsing methods?

I’m thinking of making a Python-JavaScript converter/compile. I’ve been wondering about the pros and cons of the following methods to parse the Pythonic code, into JavaScript equivalent.

Must OpenCL code be compiled for a specific GPU?

Most OpenCL Tutorials give a nice introduction to OpenCL, yet I have not found information on the question of interoperability of the compilation targets. It seems that I have to compile OpenCL code for the target GPU. Now when making a binary distribution of an application using OpenCL, does one have to make several builds for the vendor-platforms?

Must OpenCL code be compiled for a specific GPU?

Most OpenCL Tutorials give a nice introduction to OpenCL, yet I have not found information on the question of interoperability of the compilation targets. It seems that I have to compile OpenCL code for the target GPU. Now when making a binary distribution of an application using OpenCL, does one have to make several builds for the vendor-platforms?