23.06.2011
Iterators in C#
|
|
Annotation: Article describes Iterator Design Pattern in context of C# programming language, including iterator block implementation by C# compiler.
Keywords: C#; Design Patterns; Iterator; |
04.07.2011
Random generation of combinations. Generation of combination from its sequence number
|
|
Annotation: The article is devoted to methods of generating random combinations. We analyze two such methods - generating a combination from randomly generated permutation and generating a combination from its sequence number. The library of C++ functions implementing the methods described is provided. The performance of the developed methods is compared. Also an interesting consequence of generating a combination from number is viewed - compact storage of sequences of elements.
Keywords: combinatorics; combination; combinations’ generation; random combination; sequence number of combination; binomial coefficient; permutation; algorithm; |
08.07.2011
The problem of tolerance to errors in floating point
|
|
Annotation: The problem of calculation errors with real numbers. The article gives some examples of the sensitive to errors in the code and look for ways to address them. The urgency of this problem for those involved in the creation of programs performing mathematical calculations.
Keywords: error in computation; real numbers; FPU; stability of the algorithm |
15.07.2011
Objects Representation in Operating Memory. Understanding Pointers. Part 2.
|
|
Annotation: Issues of memory organization in C++ are considered along with memory management principles and pointers usage basics. Еlements and definitions are explained from the perspective of their implementation and internal structure. A careful reader will be able to understand how language elements and structures work and why they function exactly that way.
Keywords: C++; objects; pointers; arrays; vectors; memory; stack; dynamic memory; memory leaks; new; delete; |
28.07.2011
Threading in C#
|
|
Annotation: In this article covered Parallel LINQ, class Parallel, Task Parallel Library, Concurrent Collections and SpinLock and SpinWait structures. This material based on book Joseph Albahari, Ben Albahari "C# 4.0 in a Nutshell" — http://oreilly.com/catalog/9780596800963
Keywords: Multithreading; PLINQ; TPL; C# |
21.08.2011
The article title (in English)
|
|
Annotation: Annotation of my article.
Keywords: semicolon separated keywords list; |