Skip to content

Instantly share code, notes, and snippets.

View jacking75's full-sized avatar

Choi HeungBae jacking75

View GitHub Profile
@jacking75
jacking75 / c++Course.md
Created August 31, 2020 04:01 — forked from VeganPower/c++Course.md
Low level programming in C++

Reference CPU: Multicore AVX 2 capable

Lets' start:

  • Compiler / compile units / linker.
    • Setup makefile
  • Imperative algorithm
  • Understand our processor
  • bit/byte/word/dword/qword
@jacking75
jacking75 / functionperformance.cpp
Last active September 17, 2019 01:24 — forked from benloong/functionperformance.cpp
c++11 direct function call, virtual function call, functor and std::function(using a lambda) performance test
#include <iostream>
#include <chrono>
#include <memory>
#include <functional>
using namespace std;
using namespace std::chrono;
class Base
{
@jacking75
jacking75 / Client.cs
Last active July 8, 2020 05:44 — forked from ichiroku11/Client.cs
.NETでTCP(TcpClientとTcpListener)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace Tcp.ConsoleApp {
// 클라이언트
@jacking75
jacking75 / MPMCQueue.cpp
Created May 24, 2017 16:34 — forked from ujentus/MPMCQueue.cpp
MPMC Wait-free Queue for C++, Windows
#pragma once
/****************************************************************************
* Wait-Free MPMC Queue
* Minimum requirement: Windows XP or Windows Server 2003
* Author: @sm9kr
* License type: GPL v3
* Drawback: Fixed size, __int64 overflow-able
****************************************************************************/
@jacking75
jacking75 / WaitFreeQueue.cpp
Last active May 24, 2017 14:32 — forked from ujentus/WaitFreeQueue.cpp
MPSC Wait-free Queue for C++, Windows
#pragma once
/****************************************************************************
* Wait-Free MPSC Queue
* Minimum requirement: Windows XP or Windows Server 2003
* Author: @sm9kr
* License type: GPL v3
* References
** [1] http://groups.google.ru/group/comp.programming.threads/browse_frm/thread/33f79c75146582f3
** [2] http://www.boost.org/doc/libs/1_35_0/doc/html/intrusive/intrusive_vs_nontrusive.html