Follow + star official account , don't miss exciting content
Author | strongerHuang
WeChat public account | strongerHuang
Embedded software development, if there is no good development environment, it is easy to affect the coding efficiency, especially the code compilation speed.
For a C/C++ software project, one minute to code and one hour to compile, who can bear it?
Today, let’s talk about some common operations and methods to improve compilation speed in software development.
Change to a higher configuration computer
It may be that the first thing most people think of is: change to a computer with a higher configuration.
This is also one of the methods. Large companies are okay, but if it is a small and medium company, how many small companies are willing to replace your computer?
Therefore, this method is not realistic for many small and medium-sized companies.
optimize code
For small projects, it is true that the compilation speed can be improved by optimizing the code, but the problem is that small project compilation itself does not take time.
For large projects, optimizing the code itself is not an easy task, and requires a lot of manpower and material resources.
Again, optimize the code, I can't guarantee that the code is bug-free, or that the function will not have problems. In other words, the potential risks are relatively large, especially for large projects.
Therefore, this method is only suitable for small projects. For large projects of small companies, it is unrealistic when time is urgent.
Change compiler tool
Unlike changing the computer, changing the compilation tool is only a software tool, and you don't need to look at the boss's face.
There is a problem with this approach: compatibility issues.
If your software project is not compatible with the corresponding compilation tools, there will be certain risks.
Using Incredibuild (Shortcut Master)
I came into contact with Incredibuild last year, and found that the functions are still very powerful, and the main one is [fast compilation speed].
What is Incredibuild?
Incredibuild is called Kuaibian Master in Chinese, which uses idle CPU or cloud computing in the local area network to arm each machine with hundreds of cores, thereby accelerating time-consuming software development.
To put it bluntly: it can shorten the compilation time of your project . Here are some acceleration figures for different types of projects:
How cutouts work:
It can do: code unchanged • process unchanged • tool unchanged • substantial speedup.
Compatible with most platforms and tools on the market:
If you need it, you can scan the QR code to apply for a trial license:
Or enter the group to chat with technical support,
You can also private message me.