
개요얼마전 타입스크립트 교육을 받으면서, typescript 의 generics 를 다뤘습니다.교육을 받는 중 별 생각없이 c++ 개념으로 템플릿 특수화나 sfinae 같은걸 사용하면 되는게 아닌가? 라는 생각을 했고,문득 언어별로 generics 를 다루는 철학이 다르다는 생각을 했습니다.이를 간단하게 정리해봅니다.c++ 과 typescript 의 generics 공통점공통점은 type 을 변수처럼 사용하고 싶다라는 개념입니다.예를 들어 list 를 만들 때 primitive type 뿐 아니라 내가 만든 구조체나 타입의 리스트를 만들고 싶은 경우 이를 각각 구현하는 것이 아니라 코드 한벌로 구현이 가능합니다. c++template class ListNode { T data; ListNode* next..

TTBRTranslation Table Base Register가상 주소를 싥제 주소로 매핑시 사용하는 레지스터TTBR0_EL1 : 유저 스페이스Holds the base address of the translation table for the initial lookup for stage 1 of the translation of an address from the lower VA range in the EL1&0 translation regime, and other information for this translation regime.TTBR1: 커널 스페이스Holds the base address of the translation table for the initial lookup for stage..
- Total
- Today
- Yesterday
- ad skip
- Visual Studio
- hole-punching
- cockroach db
- print shared_ptr class member variable
- Golang
- Quest2
- vrpit
- Obstacle Avoidance
- boost
- 카카오
- shared_from_this
- mysql
- vr핏
- 클래스 맴버 변수 출력하기
- C++
- set value
- 에러 위치 찾기
- it's called a vrpit
- 잘못된 빨간줄
- 우리는 vr핏이라고 부릅니다
- SuffixArray
- 영상 픽셀화 하기
- 코어 남기기
- RVO
- Reciprocal n-body Collision Avoidance
- chrome-extension
- 면접
- red underline
- 봄날에 스케치
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |