Recent Pages
| Boost Memory Library: boost-memory-0.2.00 | Anonymous (219.131.196.x) | (rev. 2) | 1210933546|%e %b %Y - %H:%M|agohover |
What is new?
1. Lock-free free list (workarounds ABA problem).
2. Provide both region allocators (boost::auto_alloc, boost::scoped_alloc) and general-purpose allocators (boost::gc_alloc).
3....
| StdExt Library | xushiwei | (rev. 10) | 1210207316|%e %b %Y - %H:%M|agohover |
NOTE
StdExt Libary (english version) is under construction. Refer to chinese version and sorry for the inconvenience.
Introduction
StdExt is a GUI-less library. StdExt means STL (Standard...
| Boost Memory Library: boost-memory-0.1.01 | xushiwei | (rev. 1) | 1210206831|%e %b %Y - %H:%M|agohover |
Exception Semantics
I update GC Allocator specification now. See the example named "testExceptionSemantics".
The following is the new minimum specification for GC Allocator:
typedef void...
| Boost Memory Library: boost-memory-0.1.00 | Anonymous (219.131.196.x) | (rev. 1) | 1210129318|%e %b %Y - %H:%M|agohover |
What is new?
Lock-free free list.
Provide both region allocators (boost::auto_alloc, boost::scoped_alloc) and general-purpose allocators (boost::gc_alloc).
Highlights
Allocating memory is very...
| Dive into GC Allocator | Anonymous (125.89.24.x) | (rev. 1) | 1209806844|%e %b %Y - %H:%M|agohover |
Introduction
I introduced a new concept "GC Allocator" in "C++ Memory Management Innovation: GC Allocator". I didn't explain any details about the implementation. If you are interested in it,...
| Exception Specification | Anonymous (125.89.24.x) | (new) | 1209804828|%e %b %Y - %H:%M|agohover |
Exception Specification
#include <exception>
class SysException { };
void f( ) throw (SysException)
{
throw std::exception();
}
int main()
{
f();
}
Calling f() should...
| Boost | Anonymous (125.89.20.x) | (rev. 4) | 1209579609|%e %b %Y - %H:%M|agohover |
Boost Introduction
Boost provides free peer-reviewed portable C++ source libraries.
We emphasize libraries that work well with the C++ Standard Library. Boost libraries are intended to be widely...
| boost::gc_alloc | Anonymous (125.89.20.x) | (rev. 2) | 1209579510|%e %b %Y - %H:%M|agohover |
Recently I write a new class named "boost::gc_alloc" (see boost/memory/gc_alloc.hpp). Here is its specification:
class gc_alloc
{
public:
gc_alloc(); // same as:...
| TLS (Thread Local Storage) | Anonymous (219.131.196.x) | (rev. 3) | 1209120029|%e %b %Y - %H:%M|agohover |
TlsKey
TlsKey is a simple wrapper class of pthread TLS procedures and windows TLS APIs.
Specification:
class TlsKey
{
public:
void create();
void clear();
void put(void* p) const;...
| TlsBlockPool | Anonymous (219.131.196.x) | (new) | 1209118755|%e %b %Y - %H:%M|agohover |
Introduction
I add a new class: TlsBlockPool. And now you can define a ScopeAlloc instance without given parameters:
ScopeAlloc alloc;
It is same as:
ScopeAlloc...
| Unit Tests | winxgui | (rev. 2) | 1202929233|%e %b %Y - %H:%M|agohover |
| boost::pool, object_pool | Anonymous (219.131.196.x) | (rev. 1) | 1202798279|%e %b %Y - %H:%M|agohover |
No english version currently. See chinese version.
| MemPool example: boost::pool | Anonymous (219.131.196.x) | (rev. 1) | 1202798091|%e %b %Y - %H:%M|agohover |
No english version currently. See chinese version.
| Dive into memory pool | Anonymous (219.131.196.x) | (rev. 1) | 1202797988|%e %b %Y - %H:%M|agohover |
No english version currently. See chinese version.
| RegExp | xushiweizh | (new) | 1202760016|%e %b %Y - %H:%M|agohover |
ICU Regular Expressions
http://icu-project.org/userguide/regexp.html
Boost.Regex
http://www.boost.org/libs/regex/doc/index.html
| IO (Input/Output) | xushiweizh | (rev. 1) | 1202757167|%e %b %Y - %H:%M|agohover |
| File IO | xushiweizh | (new) | 1202757109|%e %b %Y - %H:%M|agohover |
| Diagnosis | xushiweizh | (rev. 1) | 1202756988|%e %b %Y - %H:%M|agohover |
| STL | xushiweizh | (rev. 1) | 1202756899|%e %b %Y - %H:%M|agohover |
STL (C++ Standard Template Library)
| About | xushiweizh | (rev. 1) | 1202756801|%e %b %Y - %H:%M|agohover |
| 7. ScopeAlloc on STL collections | xushiweizh | (rev. 1) | 1202756232|%e %b %Y - %H:%M|agohover |
No english version currently. See chinese version.
| 6. A general GC allocator: ScopeAlloc | xushiweizh | (rev. 2) | 1202756154|%e %b %Y - %H:%M|agohover |
No english version currently. See chinese version.
| 1. Story of C/C++ memory management innovation | xushiweizh | (rev. 3) | 1202756018|%e %b %Y - %H:%M|agohover |
No english version currently. See chinese version.
| 2. The tiniest GC allocator: AutoFreeAlloc | xushiweizh | (rev. 4) | 1202755953|%e %b %Y - %H:%M|agohover |
No english version currently. See chinese version.
| 4. GC allocator and boost::object_pool | xushiweizh | (rev. 1) | 1202755881|%e %b %Y - %H:%M|agohover |
No english version currently. See chinese version.
| Memory Management Innovation | xushiweizh | (rev. 8) | 1202755811|%e %b %Y - %H:%M|agohover |
Memory management innovation: GC allocator
Terms of memory management
GC allocator
GC, Garbage collection
Allocator
| 3. Peculiar ideas of memory management: AutoFreeAlloc's typical applications | xushiweizh | (rev. 3) | 1202755734|%e %b %Y - %H:%M|agohover |
No english version currently. See chinese version.
| 5. GC (Garbage Collection) in C++ | xushiweizh | (rev. 3) | 1202755643|%e %b %Y - %H:%M|agohover |
No english version currently. See chinese version.
| Memory Management | xushiweizh | (rev. 4) | 1202755059|%e %b %Y - %H:%M|agohover |
Memory management innovation: GC allocator
Classical C++ memory management
Dive into memory pool
MemPool example - boost::pool
Terms of memory management
GC allocator
GC, Garbage...
| ICU | xushiweizh | (rev. 1) | 1202754463|%e %b %Y - %H:%M|agohover |
ICU (International Components for Unicode)
ICU is a mature, widely used set of C/C++ and Java libraries providing Unicode and Globalization support for software applications. ICU is widely...
| C++ Libraries | xushiweizh | (new) | 1202754433|%e %b %Y - %H:%M|agohover |
| How To Use | winxgui | (new) | 1200813741|%e %b %Y - %H:%M|agohover |
todo
| Contact | winxgui | (new) | 1200810879|%e %b %Y - %H:%M|agohover |
Please change this page according to your needs
| What is a Wiki Site? | winxgui | (new) | 1200810879|%e %b %Y - %H:%M|agohover |
According to Wikipedia, the world largest wiki site:
A Wiki ([ˈwiː.kiː] <wee-kee> or [ˈwɪ.kiː] <wick-ey>) is a type of website that allows users to add, remove, or otherwise edit...
| How To Edit Pages - Quickstart | winxgui | (new) | 1200810879|%e %b %Y - %H:%M|agohover |
If you are allowed to edit pages in this Site, simply click on edit button at the bottom of the page. This will open an editor with a toolbar pallette with options.
To create a link to a new page,...