Skip to main content

Home/ Programming/ Group items tagged how-to

Rss Feed Group items tagged

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?
jdr santos

Lazarus Project :: Write once compile everywhere! - 0 views

  •  
    Welcome About Lazarus Status Screenshots Updated Feb 20, 2001 How to participate How to code Bug Tracking FAQ Documentation Mailing list Download
  •  
    Welcome About Lazarus Status Screenshots Updated Feb 20, 2001 How to participate How to code Bug Tracking FAQ Documentation Mailing list Download
Andrey Karpov

How to unite several separate projects into one general Visual Studio solution (.sln fi... - 0 views

  •  
    For the purpose of testing our C/C++ analyzer PVS-Studio, we often check various open-source projects and publish reports about bugs we have found. It is obvious that we seek projects of large sizes (hundreds of thousands of code lines), as there is little to be tested and caught in just a few dozens of files. We already had opportunities to test large collections consisting of hundreds of small open-source projects, for example sets of test samples for various SDKs and Frameworks. We are especially interested in checking such collections to see how the analyzer supports various specific code constructs, Visual C++ project subtypes, and so on.
Andrey Karpov

Efficient Programming with Components (A9Videos) - 0 views

  •  
    Performance is essential for infrastructure software. Modern infrastructure software depends heavily on components. Therefore, writing performant code in this environment requires deep understanding of the characteristics of such components. The course will help programmers to improve performance of their code by learning how to use these existing generic components effectively. In addition, it will teach them to extend the library with new high-performance components. Along the way, participants will learn how to use C++ as a high-performance language. The course will be taught interactively with the class discussing, discovering, and developing components together.
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.
Andrey Karpov

C++ Hints - 0 views

  •  
    The PVS-Studio team has analyzed over 200 open-source projects with their static code analyzer. Among them are such titles as Unreal Engine, Php, Haiku, Qt, and even Linux. In each of these projects, bugs of varying severity were detected. The team regularly reports the analysis results in their blog. Each post is a separate article of several pages, describing in detail each of the bugs found and giving recommendations on how to fix them. The PVS-Studio team decided to go further to create a service of tips and recommendations on C/C++ usage, CppHints.com, in addition to the practice of writing articles. Within the scope of this service, the team publishes 1 recommendation/tip per day. Each publication delivers concentrated information on C/C++ programming approaches and techniques used in various situations and includes examples of correct and incorrect language use from over 200 open-source projects.
Andrey Karpov

Low-Fragmentation, High-Performance Memory Allocation in Despair Engine - 0 views

  •  
    I recently wrote about dlmalloc and how it is a poor choice for a memory allocator for console games. As I explained in my previous article, dlmalloc has two major limitations. It manages a pool of address space composed of discrete regions called segments. It can easily add segments to grow its pool of address space, but it can't easily remove segments to return address space to the OS. Additionally, it doesn't distinguish between physical and virtual memory, which means that it can't take advantage of virtual memory's ability to combat fragmentation.
mahesh 1234

How to Setup Android for Eclipse IDE, java development kit(jdk), Android sdk - 0 views

  •  
    In this page, you will learn what softwares are required for running an android application on eclipse IDE. Here, you will be able to learn how to install the android SDK ADT plugin for Eclipse IDE. Let's see the softwares required to setup android for eclipse IDE manually.
Richard Boss

Steps to Write PHP Code in Joomla Article | TechNet - 0 views

  •  
    This article explores you how to follow steps to write PHP code in Joomla article. In this post, you will get full information. Read this post now!
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.
improgrammer

how to write c program in ubuntu - 0 views

  •  
    how to write c program in ubuntu
Richard Boss

Store Multiple Types of Data in a Single File Using NSFileWrapper in iOS - 0 views

  •  
    In this article, lets see how to use NSFIleWrapper in iOS for store multiple types of data in a single file
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.
Richard Boss

Custom Query using Database Object in CakePHP - 0 views

  •  
    In this article, we will see how to use custom query using database object instead of model object?
Emilyn Manuela

Visual Studio 2015 Hosting Tutorial - Using New Options in Context Menu - 1 views

  •  
    There are many changes and improvements in Visual Studio 2015. In this article, we will tell you how to use the new options in Visual Studio 2015 Context Menu.
Andrey Karpov

What Every Programmer Should Know About Memory - 0 views

  •  
    As CPU cores become both faster and more numerous, the limiting factor for most programs is now, and will be for some time, memory access. Hardware designers have come up with ever more sophisticated memory handling and acceleration techniques-such as CPU caches-but these cannot work optimally without some help from the programmer. Unfortunately, neither the structure nor the cost of using the memory subsystem of a computer or the caches on CPUs is well understood by most programmers. This paper explains the structure of memory subsys- tems in use on modern commodity hardware, illustrating why CPU caches were developed, how they work, and what programs should do to achieve optimal performance by utilizing them.
Richard Lloyd

Ideal programmer - 0 views

  •  
    Take a little action each day to transform yourself into the ideal programmer.
k0st1x

Git How To - 0 views

shared by k0st1x on 16 May 11 - No Cached
1 - 19 of 19
Showing 20 items per page