Warning: preg_grep(): Compilation failed: quantifier does not follow a repeatable item at offset 157 in /var/www/tg-me/post.php on line 75
Библиотека C/C++ разработчика | cpp, boost, qt | Telegram Webview: cppproglib/5768 -
Telegram Group & Telegram Channel
⚠️ Debugging: инструменты для поиска багов

Для C++ инструменты помогающие находить и исправлять ошибки имеют такое же значение, как и само написание кода. Сама же отладка превращается в искусство, которое призвано заставить код работать не только быстро, но и выполнять возложенные на него задачи.

Делимся арсеналом инструментов для разных типов багов.

Memory issues:

• Valgrind (Linux/Mac) — поиск утечек и ошибок доступа
• AddressSanitizer (-fsanitize=address) — встроенный в GCC/Clang
• Dr. Memory (Windows)

Performance:

• gprof — профайлинг CPU
• perf (Linux) — системное профилирование
• Intel VTune — продвинутое профилирование

Thread issues:

• ThreadSanitizer (-fsanitize=thread)
• Helgrind (Valgrind tool)

Static analysis:

• clang-static-analyzer
• PVS-Studio
• PC-lint Plus

Это всего лишь небольшая часть, которая используется для борьбы с насекомыми, но достаточная, чтобы попробовать улучшить свой код.

🔍 Какие инструменты для отладки используете чаще всего? Есть любимые фишки?

Библиотека C/C++ разработчика #междусобойчик



tg-me.com/cppproglib/5768
Create:
Last Update:

⚠️ Debugging: инструменты для поиска багов

Для C++ инструменты помогающие находить и исправлять ошибки имеют такое же значение, как и само написание кода. Сама же отладка превращается в искусство, которое призвано заставить код работать не только быстро, но и выполнять возложенные на него задачи.

Делимся арсеналом инструментов для разных типов багов.

Memory issues:

• Valgrind (Linux/Mac) — поиск утечек и ошибок доступа
• AddressSanitizer (-fsanitize=address) — встроенный в GCC/Clang
• Dr. Memory (Windows)

Performance:

• gprof — профайлинг CPU
• perf (Linux) — системное профилирование
• Intel VTune — продвинутое профилирование

Thread issues:

• ThreadSanitizer (-fsanitize=thread)
• Helgrind (Valgrind tool)

Static analysis:

• clang-static-analyzer
• PVS-Studio
• PC-lint Plus

Это всего лишь небольшая часть, которая используется для борьбы с насекомыми, но достаточная, чтобы попробовать улучшить свой код.

🔍 Какие инструменты для отладки используете чаще всего? Есть любимые фишки?

Библиотека C/C++ разработчика #междусобойчик

BY Библиотека C/C++ разработчика | cpp, boost, qt




Share with your friend now:
tg-me.com/cppproglib/5768

View MORE
Open in Telegram


Библиотека C C разработчика | cpp boost qt Telegram | DID YOU KNOW?

Date: |

Telegram Be The Next Best SPAC

I have no inside knowledge of a potential stock listing of the popular anti-Whatsapp messaging app, Telegram. But I know this much, judging by most people I talk to, especially crypto investors, if Telegram ever went public, people would gobble it up. I know I would. I’m waiting for it. So is Sergei Sergienko, who claims he owns $800,000 of Telegram’s pre-initial coin offering (ICO) tokens. “If Telegram does a SPAC IPO, there would be demand for this issue. It would probably outstrip the interest we saw during the ICO. Why? Because as of right now Telegram looks like a liberal application that can accept anyone - right after WhatsApp and others have turn on the censorship,” he says.

How to Use Bitcoin?

n the U.S. people generally use Bitcoin as an alternative investment, helping diversify a portfolio apart from stocks and bonds. You can also use Bitcoin to make purchases, but the number of vendors that accept the cryptocurrency is still limited. Big companies that accept Bitcoin include Overstock, AT&T and Twitch. You may also find that some small local retailers or certain websites take Bitcoin, but you’ll have to do some digging. That said, PayPal has announced that it will enable cryptocurrency as a funding source for purchases this year, financing purchases by automatically converting crypto holdings to fiat currency for users. “They have 346 million users and they’re connected to 26 million merchants,” says Spencer Montgomery, founder of Uinta Crypto Consulting. “It’s huge.”

Библиотека C C разработчика | cpp boost qt from us


Telegram Библиотека C/C++ разработчика | cpp, boost, qt
FROM USA