Skip to main content

Home/ Programming/ Contents contributed and discussions participated by Andrey Karpov

Contents contributed and discussions participated by Andrey Karpov

Andrey Karpov

The reasons why 64-bit programs require more stack memory - 0 views

  •  
    In forums, people often say that 64-bit versions of programs consume a larger amount of memory and stack. Saying so, they usually argue that the sizes of data have become twice larger. But this statement is unfounded since the size of most types (char, short, int, float) in the C/C++ language remains the same on 64-bit systems. Of course, for instance, the size of a pointer has increased but far not all the data in a program consist of pointers. The reasons why the memory amount consumed by programs has increased are more complex. I decided to investigate this issue in detail.
Andrey Karpov

A nice, little known C feature: Static array indices in parameter declarations - 0 views

  •  
    The people who created C sure loved keeping the number of keywords low, and today I'm going to show you yet another place you can use the static keyword in C99.
Andrey Karpov

PVS-Studio 5.01 Released - 0 views

  •  
    Support has been implemented for several previous versions of C++Builder. Now PVS-Studio supports the following versions of C++Builder: XE3 Update 1, XE2, XE, 2010, 2009.
Andrey Karpov

10+ powerful debugging tricks with Visual Studio - 0 views

  •  
    The article describes 10 sime-saving debugging techniques available in Visual Studio
Andrey Karpov

Do programmers still write in C++? - 0 views

  •  
    I find this question pretty strange. The answer is yes, of course, and that will be so for a long time. But I'm asked this question from time to time at conferences or when communicating with developers on forums. I've decided to answer this question in the form of a brief post so that I could just refer people to it in the future.
Andrey Karpov

Poll: Do you think C++ will regain the spotlight? - 0 views

  •  
    Let us know whether you predict C++ is primed for a resurgence in market share by taking this one-question poll.
Andrey Karpov

PVS-Studio 5.00 released - 0 views

  •  
    PVS-Studio 5.00: support of Embarcadero C++Builder, Windows Store and Windows Phone 8 applications in Visual Studio, and several hundreds of diagnostic rules
Andrey Karpov

The D language comes to help - 0 views

  •  
    My name is Andrey Karpov. I develop software for developers, and I'm fond of writing articles on code quality issues. In this connection, I have met the wonderful man Walter Bright who has created the D language. In the form of an interview, I will try to learn from him how the D language helps programmers get rid of errors we all make when writing code.
Andrey Karpov

All about PVS-Studio - 0 views

  •  
    PVS-Studio is a static analyzer that detects errors in source code of C/C++/C++11 applications. The PVS-Studio tool integrates into the Visual Studio 2005/2008/2010 environment.
Andrey Karpov

Development of resource-intensive applications in Visual C++ - 0 views

  •  
    The article will familiarize application developers with tasks given them by the mass introduction of 64-bit multi-core processors symbolizing revolutionary increase of computing power available for an average user. It will also touch upon the problems of effective use of hardware resources for solving everyday applied tasks within the limits of Windows x64 operating system
Andrey Karpov

SQL-like queries for C++ code: is this the task for static analysis? - 0 views

  •  
    Static analysis tools' users often wonder how to fulfill the task of searching for certain code fragments. For instance, how to find a function longer than 1000 lines; or how to find a class containing more than 100 methods; or which functions contain the largest (or the smallest) number of comments. Why do they want to know it?
Andrey Karpov

Creating a plugin for the Visual Studio 2005-2012 development environment - 0 views

  •  
    I decided to fool around a bit with the plugin and the picture to attract your attention. A whole lot of articles on programming regularly appear on the Internet, but most of them are unfortunately brief and all about nothing. But we are sure that our material is extremely useful, and it will be a pity if it remains unnoticed. We tell our users in every detail about how to develop plugins in C# for the Visual Studio 2005/2008/2010/2012 development environment. This material is based on our own experience and describes some subtleties you won't read anywhere about.
Andrey Karpov

Visual Studio tool windows - 0 views

  •  
    This article covers the extension of Visual Studio IDE through integration of a custom user toolwindow into the environment. Discussed are the issues of window registration and initialization in VSPackage and Add-In plug-in modules, hosting of user components and handling of window's events and states.
Andrey Karpov

A database of errors detected by PVS-Studio is available on our website - 0 views

  •  
    The best way to advertise a static code analyzer is to find errors in open source projects and share them with the world. We have been using this method for a long time while promoting our tool PVS-Studio. If you have ever heard of PVS-Studio, it was most likely from our articles reporting on the checks of such projects as Chromium, WinMerge, TortoiseSVN, Apache HTTP Server, Qt, Clang and many others.
Andrey Karpov

Developing extension packages for Visual Studio 2005/2008/2010/2012 using C# with real-... - 0 views

  •  
    Creating extension packages (plug-ins) for Microsoft Visual Studio IDE appears as quite an easy task at the first sight. There exist an excellent MSDN documentation, as well as various articles, examples and a lot of other additional sources on this topic. But, at the same time, it could also appear as a difficult task when an unexpected behavior is encountered along the way. Although it can be said that such issues are quite common to any programming task, the subject of IDE plug-in development is still not thoroughly covered at this moment. Part1
Andrey Karpov

The compiler is to blame for everything - 0 views

  •  
    Many programmers are very fond of blaming the compiler for different errors. Let's talk about it.
Andrey Karpov

Static analysis should be used regularly - 0 views

  •  
    We have a practice of occasionally re-analyzing projects we have already checked with PVS-Studio. There are several reasons why we do so. For example, we want to know if we have managed to eliminate false positives for certain diagnostics. But the most interesting thing is to see how new diagnostic rules work and what errors they can find. It is very interesting to watch the tool catch more and more new defects in a project that seems to be cleaned out already. The next project we have re-checked is Clang.
‹ Previous 21 - 37 of 37
Showing 20 items per page