ããã°ã©ã
FILE *fp = nullptr; auto backup = _dup(_fileno(stderr)); fopen_s(&fp, "nul", "w"); _dup2(_fileno(fp), _fileno(stderr)); //ããã®éãstderrã¸ã®åºåã¯ç¡ã¸ã¨æ¶ãã(ãã¡ã¤ã«ånulã¯ç¡ã¸ã®åºå) _dup2(backup, _fileno(stderr)); ::fclose(fp);
https://dev.smt.docomo.ne.jp/?p=docs.api.index ãã³ã¢ãæä¾ãã¦ããAPIä¸è¦§ã é³å£°åæã¨ãã楽ãããã
ã³ã³ãã¤ã©ã¨ãVMã«ã¤ãã¦ã®æ å ±ãéããwiki èå³æ·±ãã®ã§ä»åº¦å ¨é¨èªãã
ã»ãã¥ã¢ããã°ã©ãã³ã°è¬åº§ C/C++ç·¨ https://www.ipa.go.jp/security/awareness/vendor/programmingv2/clanguage.html x86/x64 SIMDå½ä»¤ã«ããAESæå·å¦ç http://www.officedaytime.com/tips/simdimg/aes.php?f=aesenc clang/gccã«çµã¿è¾¼ã¾ããAddressSaniâ¦
Crypto API (Linux) https://en.wikipedia.org/wiki/Crypto_API_(Linux) https://kernel.readthedocs.io/en/sphinx-samples/crypto-API.html
é£è¼1 é«éãªã¡ã¢ãªã¼ã³ãã¼ http://amalabo.blog35.fc2.com/blog-category-8.html ã¹ããªã¼ãã³ã° SIMD æ¡å¼µå½ä»¤ 2 ã®æ´æ°ã¹ãã¢æä½ http://www2.kobe-u.ac.jp/~lerl2/l_cc_p_10.1.008/doc/main_cls/mergedProjects/intref_cls/common/intref_sse2_int_stoâ¦
recvmmsg使ã£ã¦1024åã¾ã¨ãã¦ãã±ãããåå¾ãã¦ããããã±ããå¦çç³»ãé ãããã netmapãDPDK使ããããªãã®ãã Linuxããã©ã«ãã«çãã±ãããæ±ãæ¹æ³ããããããªã®ã§ãè²ã 調ã¹ã¦ã¿ã¦ãã Linuxã§ã¯ã©ããã£ã¦çã®ãã±ãããæ±ããã§ããããã£ã¦è©±â¦
ãããç´°ãã説æãã¦ããã¦ãããµã¤ã https://notes.shichao.io/unp/
Programming UNIX Sockets in C - Frequently Asked Questions http://www.kt.rim.or.jp/~ksk/sock-faq/unix-socket-faq-ja.html#toc1 ãããã¯ã¼ã¯ããã°ã©ã ãçµããªããã¨ãããããã®ãã¼ã¸ã¯å ¨é¨èªãã§ããã¦å½ç¶ã Linux ã½ã±ããã»ããã°ã©ãã³ã°ã® 5â¦
http://qiita.com/cypher512/items/396cdabb066bb828a4fa
C#ã§ãã«ãã¹ã¬ããã®ãã¹ããã©ã¯ãã£ã¹ã£ã¦ä½ãããï¼(What are the best practices with multithreading in C#?) http://qiita.com/yohhoy/items/603f636e39188a9c3439 å¤æ´é¨åãå ¨ã¦æä»å¶å¾¡ããã¦ããå ´åã§ãatomicã¯å¿ è¦ãï¼ https://teratail.com/qâ¦
http://postd.cc/designing-a-fast-hash-table/ STLã®ããã·ã¥ãã¼ãã«ã¯ãå¶éãã¤ãã¦ããã®ã§ã¡ã¨é ããããèªä½ãããã ã¨ããã話ã
LibTomProject http://www.libtom.net/ å¤åé·æ´æ°ã©ã¤ãã©ãªããæå·ã©ã¤ãã©ãªãªã©ã ã©ã¤ã»ã³ã¹ãããããã Crypto++ãç´ æ´ãããã®ã ããæé©åãã¦ãå®è¡ãã¡ã¤ã«ãµã¤ãºãç°¡åã«1MBãããå¢ããã®ã§ãã¡ãã調æ»ãã¦ã¿ããReleaseãã«ãã®libã使ã£ãâ¦
ãµã¼ãã¼ãã·ã³1å°ã§åææ¥ç¶è æ°1ä¸åãå®ç¾ããã«ã¯ã©ãããã°ããã®ãã¨ãããã¦ãã¦ã¨èãæ¹ http://gigazine.net/news/20120831-10000-jointer-1-server-cedec2012/ æå·ã©ã¤ãã©ãª boostã©ã¤ã»ã³ã¹ https://www.cryptopp.com/ xorshift plus http://xoâ¦
https://shikihuiku.wordpress.com/2012/06/12/directx%E3%81%AB%E3%81%8A%E3%81%91%E3%82%8B%E6%8F%8F%E7%94%BB%E3%83%95%E3%83%AC%E3%83%BC%E3%83%A0%E3%81%AE%E9%81%85%E5%BB%B6%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6/ http://www.atmarkit.co.jp/fdotnetâ¦
http://ja.wikipedia.org/wiki/%E3%83%80%E3%83%83%E3%82%AF%E3%83%BB%E3%82%BF%E3%82%A4%E3%83%94%E3%83%B3%E3%82%B0 æ¨æ¥åãã¦ç¥ã£ãåèªã§ããã ãªãã»ã©ãä¾ãã°ãããã®ã¤ã³ã¹ã¿ã³ã¹ãå¿ ãsay()ã¨ããã¡ã½ãããæã£ã¦ããã®ãªãããããã¯å ±éã®ã¤ã³â¦
ä¹ ã ã«åçåä»ãè¨èªã§ã²ã¼ã ãä½ãä»äºããã¦ãã¾ãã ã¯ã©ã¤ã¢ã³ãå´ã®ããã¸ã§ã¯ããçä¸ããããã®ç«æ¶ãã§ããã ã§ããã®ã¯ã©ã¤ã¢ã³ããåçåä»ãè¨èªã§ä½ããã¦ãã®ã§ãããåå ãã¦ããããã°ã©ãããç²æ«ãªããæ²æ¨ãªãã¨ã«ãªã£ã¦ãã¾ãã ï¼ããâ¦
http://www.soi.wide.ad.jp/class/20010000/slides/03/sfc2002.pdf C++0xã§ãå°å ¥ã決å®ããã¦ãããMTä¹±æ°ã ãã®æ´å²ã«ã¤ãã¦ãPDF注æã ãããªæããéçºããã¦ããã®ã«ãç¥ããã¦ããªãã£ãã®ãMT
http://myoga.web.fc2.com/prog/cpp/opti01.htm ãã¬ã¤ãä»ãæé©åã®ãããã¡ã¤ã«ãã¨ããã£ããã¨ãªãã£ãã ã¡ãã£ã¨ãã¾ãããªãã¹ãã¼ããéè¦ããWindowsããã°ã©ã çµãã§ãããããã¯åèã«ãªããã ããè¨äºã 追è¨ã ã¨ããã§ãã®è¨äºããã£ãGooglâ¦
http://msdn.microsoft.com/ja-jp/library/ms235519%28VS.80%29.aspx 以åãæ¸ããªãã£ãã®ã ãã©ãæ¹ãã¦ã ããªã³ã³ãã¤ã«æ¸ã¿ãããã§å®ç¾©ããã¦ããé¢æ°ããã¼ã ã¹ãã¼ã¹ãªã©ãã¤ã³ããªã»ã³ã¹ã«èªèãããªãåé¡ã«ã¤ãã¦ã stdafx.h ãã¤ã³ã¯ã«ã¼ã ãã¹â¦
http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx 対象ããã°ã©ã ã®ã¬ã¸ã¹ããªã¢ã¯ã»ã¹ãªã©ãã¢ãã¿ãªã³ã°ã§ãããã¼ã«ã ã¡ã¢ã¡ã¢ã
id:Ozy:20100225 ç·ãªãããã£ã±ãç´ æ°ã¯å¤§å¥½ãã ã¨æããã§ããã æè¿ã¯è½ã¡çãããã«æ°ãã¦ã¿ãã¨ãã£ã使ãæ¹ãä¸è¬çãªããã§ãããSSLæå·ã®æ ¹åºããªãã¦ããããããããã誰ã«ãå²ãããªãï¼ãã¨ããç«ã¡ä½ç½®ãæ ¼å¥½è¯ãã£ããã ãããããããªé¢ç½â¦
ãkanokeã¯ã©ã¤ãã¨ãå«ãã§ããï¼ãã¨ãããè¨ãããã®ã§ããã好ãã§ããã åã«ã¯ã¼ã¨ããã£ã¼ã¨ãå«ã³ãªããããªããªã«ãªããããªæ¥½ãã¿æ¹ãããªãã¨ããã ãã§ã ãã©ã° ä¼å ´å ¨ä½ãé§ããã£ã¦ãããé ãã»ã©ç½ã£ã½ãè¦ãã¾ããã é§ã«ã¤ãã¦ã¯å¤ãããâ¦
ã¤ãã§ã«æ¸ãã¦ããã¾ããã http://codezine.jp/article/detail/235?p=4 ã®ã³ã©ã ã¨ãé¢é£ãã¾ãããããããç§ãNyaRuRuããã®ãã¼ã¸ã«ãã©ãçããåå ãªãã§ããã D3DXVec3Lengthã¨ãã®D3DXé¢æ°ã£ã¦ãç°å¢ã«ãã£ã¦çµæãç°ãªããã§ããã D3DXã¯ã¹ãã¼â¦
http://codezine.jp/article/detail/235?p=3 DirectXã«ã¯æåãªåé¡ç¹ã¨ãã¦ãd3d9.libã¨d3dx9.libãéçãªã³ã¯ãã¦ãã¾ãã¨ã該å½ããDLLãç¡ãã£ãå ´åã¢ããªã±ã¼ã·ã§ã³èµ·åæã«åããã¥ãããã¤ã¢ãã°ãåºãã¨ã¨ãã«èµ·å失æãã¦ãã¾ãã¨ããåé¡ãããã¾â¦
http://www.t-pot.com/program/131_PIX/index.html ä½ãã®ç¥ãã¼ã«ã Direct3Dã®è² è·æ¸¬å®ãã¼ã«ãä½ãã§ãããã¯ãªã³ã¯å åç §ã ããã§ãéããé¨åãæ¢ã£ããã¨ãã表示ããã¾ããããªãæã®åå ãã¬ã¼ã¹ã¨ãã§ããããããã
http://d.hatena.ne.jp/amachang/20081209/1228804423 ãã ããæ¢ã¾ããªã楽ãã話ãã ãããåã¿ç ãã¦è¨ãã¨ããã©ã¦ã¶ä¸ã§Flashã¨åãããã«EXEãã¡ã¤ã«ãåããã¨ãããã®ã ä»ã¾ã§ãããä¸ããEXEãâ¦ãªãã¦ããã¨ãã¦ã¤ã«ã¹ãªã©ã®å±éºæ§ããã£ãããã§â¦
http://www.watch.impress.co.jp/game/docs/20070927/wv.htm ç¥ãããã£ãã Vistaã«ãã®ãã¡é¢ããããããããã¡ã¢ã¡ã¢ã
Windows2000ãã¤ãVS6.0ã§éçºãã¦ãã¦ã©ãã«ããããå ´æãããã¾ããã D3DXLoadMeshHierarchyFromXInMemoryããå é¨ã§ä¾å¤åºããã§ããâ¦ã ID3DXAllocateHierarchyãç¶æ¿ãã¦å®ç¾©ããä»®æ³é¢æ°ç³»ãå¼ã°ããåã«ã ããã20åã«1åãããã¨ããä¸å®ãã ç§â¦
#define ASSERT() {*((int*)0xcdcdcdcd)=0;} #define ASSERT() do{*((int*)0xcdcdcdcd)=0;}while(false) åè ããå¾è ã®æ¹ãè¯ãã¨ã®ãã¨ã if (error()) ASSERT(); else printf("OK"); ã¨ããæãåè ã ã¨ã³ã³ãã¤ã«ã¨ã©ã¼ã«ãªãã