Przejdź do treści
Logo

kuling.pl

  • Główna
  • Arkdisk
  • Forum
  • Kontakt

Jesteś tutaj

Start » Informatyka » Programowanie » C++

Templates

A Parallel Programming with Microsoft Visual C++

published by Kuling on pon., 2011-09-19 14:47

http://www.amazon.com/Parallel-Programming-Microsoft-Visual-Decomposition/dp/0735651752

Kategorie: 
Concurrency
Templates
Visual Studio 2010
  • Czytaj dalej wpis A Parallel Programming with Microsoft Visual C++
  • Blog
  • 67 odsłon

C and C++ Arrays on Stack and Heap

published by Kuling on wt., 2011-08-02 11:19

http://binglongx.wordpress.com/2011/05/08/c-and-c-arrays-on-stack-and-heap/

http://en.wikipedia.org/wiki/Stack-based_memory_allocation

http://www.codeguru.com/cpp/article.php/c18503

Kategorie: 
C++
Programowanie
Templates
  • Czytaj dalej wpis C and C++ Arrays on Stack and Heap
  • Blog
  • 119 odsłon

iterators-must-go

published by Kuling on pon., 2011-07-25 18:05

iterators-must-go
View more presentations from Hiroshi Ono
Kategorie: 
C++
Templates
  • Czytaj dalej wpis iterators-must-go
  • Blog
  • 98 odsłon

Herb Sutter and Erik Meijer - Perspectives on C++

published by Kuling on śr., 2011-01-19 11:30

http://channel9.msdn.com/Shows/Going+Deep/E2E-Herb-Sutter-and-Erik-Meijer-Perspectives-on-C

Kategorie: 
C++
Programowanie
Templates
  • Czytaj dalej wpis Herb Sutter and Erik Meijer - Perspectives on C++
  • Blog
  • 153 odsłony

STL Custom Allocators

published by Kuling on ndz., 2010-11-14 19:31

http://www.tantalon.com/pete.htm
http://www.tantalon.com/pete/customallocators.ppt
http://www.tantalon.com/pete/files/gdc03_custom_allocators.zip

http://www.lenholgate.com/archives/000928.html

http://blogs.msdn.com/b/calvin_hsia/archive/2010/03/16/9979985.aspx
 

Kategorie: 
C++
Templates
  • Czytaj dalej wpis STL Custom Allocators
  • Blog
  • 152 odsłony

Boost: Intrusive and non-intrusive containers

published by Kuling on czw., 2010-08-05 21:39

The main difference between intrusive containers and non-intrusive containers is that in C++ non-intrusive containers store copies of values passed by the user. Containers use the Allocator template parameter to allocate the stored values.

On the other hand, an intrusive container does not store copies of passed objects, but it stores the objects themselves. The additional data needed to insert the object in the container must be provided by the object itself. For example, to insert MyClass in an intrusive container that implements a linked list, MyClass must contain the needed next and previous pointers:

http://www.boost.org/doc/libs/1_37_0/doc/html/intrusive/intrusive_vs_nontrusive.html

Kategorie: 
C++
Programowanie
Templates
  • Czytaj dalej wpis Boost: Intrusive and non-intrusive containers
  • Blog
  • 180 odsłon

Erase-remove idiom

published by Kuling on wt., 2009-08-11 20:37

Cytat:
A common programming task is to remove all elements that have a certain value or fulfill a certain criteria from a collection. In C++, this could be achieved using a hand-written loop. It is, however, preferred to use an algorithm from the C++ Standard Library for such tasks.

The algorithms library provides the remove and remove_if algorithms for this. Because these algorithms operate on a range of elements denoted by two forward iterators, they have no knowledge of the underlying container or collection. Thus, the elements are not actually removed from the range, merely moved to the end. When all the removed elements are at the end of the range, remove returns an iterator pointing one past the last unremoved element.

http://en.wikipedia.org/wiki/Erase-remove_idiom

Kategorie: 
C++
Programowanie
Templates
  • Czytaj dalej wpis Erase-remove idiom
  • Blog
  • 253 odsłony

Polowanie na święty grall - concurrent collection

published by Kuling on wt., 2009-08-11 20:24

Poluje na pojemnik dający się bezproblemowo używać w programie wielowątkowym. Musi spełniać następujące parametry:

  • template'owy
  • nieblokujące dodawanie, złożoność najwyżej O(logN), najlepiej O(1)
  • nieblokujące kasowanie, złożoność nahwyżej O(n), najlepiej O(1)
  • możliwość iterowania po aktualnym "snapshocie" kolekcji

Czyli coś w rodzaju garbage collector'a z lepszą możliwością iteracji.

Kategorie: 
C++
Concurrency
Exceptions
Programowanie
Templates
  • Czytaj dalej wpis Polowanie na święty grall - concurrent collection
  • Blog
  • 265 odsłon

System.Collections.Concurrent Namespace - .NET 4.0

published by Kuling on wt., 2009-07-07 21:05

Bardzo ciekawe klasy. Zwłaszcza iteratory. Iterator dający możliwość iteracji w sposób wątkoodporny brzmi ciekawie.
http://msdn.microsoft.com/en-us/library/system.collections.concurrent%28VS.100%29.aspx

I blog jednego z ludzi zajmujących się jak podejrzewam implementacją tych iteratorów.
http://blogs.msdn.com/pfxteam/archive/2008/08/12/8852005.aspx

Enumerating Concurrent Collections
http://www.infoq.com/news/2008/08/Parallel-Enumerators
Zwłaszcza to wylistowanie jest fajne:

  • Deleted items will always be seen
  • Deleted items will never be seen
  • Added items will always be seen if added at the end of the collection
  • Added items will always be seen if added wherever they are added
  • Added items will always never be seen
  • Moved items will never be seen twice
  • Moved items will be seen twice, if moved to the end of the collection
  • Moved items will always be seen, even if moved to the beginning of the collection
  • No more than N items will be seen, where N is the original length of the collection

     

 

Kategorie: 
C++
Concurrency
Programowanie
Templates
Visual Studio 2010
  • Czytaj dalej wpis System.Collections.Concurrent Namespace - .NET 4.0
  • Blog
  • 249 odsłon

C++ 0x - Jednolita składnia dla funkcji

published by Kuling on śr., 2009-07-01 21:35

http://pl.wikipedia.org/wiki/C%2B%2B0x#Jednolita_sk.C5.82adnia_dla_funkcji

Kategorie: 
C++
Programowanie
Templates
Visual Studio 2010
  • Czytaj dalej wpis C++ 0x - Jednolita składnia dla funkcji
  • Blog
  • 286 odsłon

Strony

  • 1
  • 2
  • 3
  • następna ›
  • ostatnia »

Archiwum

  • luty 2012 (1)
  • Styczeń 2012 (7)
  • Grudzień 2011 (2)
  • Listopad 2011 (2)
  • Październik 2011 (2)
  • Wrzesień 2011 (3)
  • Sierpień 2011 (2)
  • Lipiec 2011 (3)
  • Czerwiec 2011 (1)
  • Kwiecień 2011 (4)
  • luty 2011 (1)
  • Styczeń 2011 (2)
  • Listopad 2010 (6)
  • Październik 2010 (5)
  • Sierpień 2010 (10)
  • Lipiec 2010 (3)
  • Czerwiec 2010 (2)
  • Maj 2010 (1)
  • Kwiecień 2010 (2)
  • luty 2010 (4)
  • Styczeń 2010 (5)
  • Grudzień 2009 (5)
  • Listopad 2009 (1)
  • Październik 2009 (4)
  • Wrzesień 2009 (6)
  • Sierpień 2009 (11)
  • Lipiec 2009 (23)
  • Czerwiec 2009 (14)
  • Maj 2009 (23)
  • Kwiecień 2009 (22)
  • Marzec 2009 (14)
  • luty 2009 (20)
  • Styczeń 2009 (14)
  • Grudzień 2008 (17)
  • Listopad 2008 (12)
  • Październik 2008 (10)
  • Wrzesień 2008 (4)
  • Lipiec 2008 (2)
  • Czerwiec 2008 (5)
  • Maj 2008 (5)
  • Kwiecień 2008 (9)
  • Marzec 2008 (9)
  • luty 2008 (30)
  • Styczeń 2008 (22)
  • Grudzień 2007 (15)
  • Listopad 2007 (19)
  • Październik 2007 (10)
  • Wrzesień 2007 (22)
  • Sierpień 2007 (21)
  • Lipiec 2007 (29)
  • Czerwiec 2007 (53)
  • Maj 2007 (61)
  • Kwiecień 2007 (14)
  • Marzec 2007 (5)
  • luty 2007 (4)
  • Styczeń 2007 (16)
  • Grudzień 2006 (69)
  • Listopad 2006 (15)
  • Wrzesień 2006 (25)
  • Sierpień 2006 (20)
  • Lipiec 2006 (10)
  • Czerwiec 2006 (10)
  • Maj 2006 (35)
  • Kwiecień 2006 (5)
  • Marzec 2006 (15)
  • luty 2006 (5)
  • Grudzień 2005 (10)
  • Listopad 2005 (15)
  • Sierpień 2005 (10)
  • Lipiec 2005 (20)
  • Czerwiec 2005 (30)
  • Maj 2005 (30)
  • Kwiecień 2005 (34)
  • Marzec 2005 (14)
  • luty 2005 (10)
  • Grudzień 2004 (30)
  • Listopad 2004 (48)
  • Październik 2004 (25)
  • Sierpień 2004 (18)
  • Lipiec 2004 (30)

Kategorie

  • Angielski (1)
    • FCE (0)
  • Dom (4)
    • Akwarium (3)
    • Kot (2)
  • Gry (11)
    • Counter Strike (8)
  • Informatyka (15)
    • Hardware (15)
      • Mój komputer (14)
    • Linux (0)
    • Programowanie (173)
      • C++ (134)
        • Concurrency (66)
        • Exceptions (14)
        • Templates (21)
      • Narzędzia (10)
        • Visual Studio 2003 (21)
        • Visual Studio 2005 (45)
        • Visual Studio 2008 (33)
        • Visual Studio 2010 (13)
      • PHP (9)
    • Windows (18)
  • Internet (10)
    • Drupal (18)
    • Linki (29)
  • Miejsca (2)
    • Poznań (3)
    • Sieradz (1)
    • Wrocław (12)
    • Zgorzelec (0)
  • Pieniądze (122)
    • Giełda (47)
    • Inwestowanie (66)
    • Mieszkanie (69)
  • Rodzina (14)
    • Magda (1)
  • Rozrywka (66)

Logowanie

  • Utwórz nowe konto
  • Prześlij nowe hasło
Theme provided by Danetsoft under GPL license from Danang Probo Sayekti