Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why does InspIRCd take so long to compile compared to other ircds?

inspircd ircds
0
Posted

Why does InspIRCd take so long to compile compared to other ircds?

0

Short (but technical) answer: Templates. Long (and easier to understand) answer: C++ is a much more complex language than C. It is more difficult for the compiler to optimize and to parse, and takes more cpu time and memory for it to do so. However, when written properly, well-written C++ code can perform equally to, or even outperform, C code designed to do the same task. In short, wait a little longer for your program to build, and it might just run a bit faster.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123