[아임구루] Design Patter 2일차
* folly library c++ (facebook/modern c++ design저자 : Andrei Alexandrescu)
https://github.com/facebook/folly
멀티쓰레드 환경에서는 동기화를 사용해서는 안된다.
- 비동기 기반의 컨테이너 : Lock Free Container
=> Intel TBB, Boost, PPL(MS)
=> 자바 병렬 프로그래밍(멀티코어를 100%활용하는 자바 병렬 프로그래밍) : 멀티쓰레드에서 가장 최적화된 책 추천!!! (더그 리)
tbb cache aligned allocator
https://www.threadingbuildingblocks.org/docs/help/reference/memory_allocation/cache_aligned_allocator_cls.htm
#if 0
#include <iostream>
#include <vector>
using namespace std;
#include "tbb/cache_aligned_allocator.h"
using namespace tbb;
int main()
{
vector<int, cache_aligned_allocator<int>> v;
}
#endif
compile
g++ 1.cc -I/user/local/include -std=c++14 -ltbb
http://cppcon.org/
github에서 cppcon 으로 검색 : https://github.com/CppCon/CppCon2015
writing good c++14 에서 유튜브로 검색