본문 바로가기 메뉴 바로가기

두찡의 일상

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

두찡의 일상

검색하기 폼
  • 분류 전체보기 (131)
    • 개발 (120)
      • 알고리즘 (6)
      • 일상 (51)
      • 병렬프로그래밍 (8)
      • 도트도전기 (12)
      • 코드로 알아보는 ARM 리눅스 커널 TIL (33)
      • arm64 linux 6 분석 (10)
    • 게임근황 (7)
    • 개발 외 일상 (2)
  • 방명록

2025/06 (3)
펌프 400등 달성

펌끼얏호우

게임근황 2025. 6. 20. 23:38
c++ 와 typescript 를 통해 알아보는 언어별 generics 의 차이

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

개발/일상 2025. 6. 19. 11:03
cpu_uninstall_idmap (setup_arch)

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..

개발/arm64 linux 6 분석 2025. 6. 1. 14:43
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
  • 링크드인
  • 깃허브
TAG
  • 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
  • 봄날에 스케치
more
«   2025/06   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바