C# 9.0 신기능 프리뷰 C# 9.0 New Features Preview
C# 9.0에서 추가된 record 타입, init 접근자, 향상된 패턴 매칭, top-level statements 등 주요 기능을 코드 예제와 함께 정리. A look at the newly released features in C# 9.0.
C# 9.0에서 추가된 record 타입, init 접근자, 향상된 패턴 매칭, top-level statements 등 주요 기능을 코드 예제와 함께 정리. A look at the newly released features in C# 9.0.
C# lock 문이 내부적으로 Monitor.Enter/Exit를 호출하는 과정과, CLR의 Thin Lock 최적화, 스핀 대기 전략을 분석한다. When programming in C#, you naturally end up using lock when resource access control is needed in a multithreaded environment.
C# 코드 생성(Code Generation)으로 보일러플레이트를 제거하고 생산성을 높인 사례. T4 템플릿과 자동화 파이프라인. Lately, I've been actively leveraging code generation.
Unity 멀티플레이 게임 프로젝트에서 실제 사용한 라이브러리와 패키지 소개. 네트워킹, 직렬화, 로깅 등 실전 선택 기준. This third post introduces the libraries and packages used in the project.
Unity 2019.4 + .NET 4.x 기반 멀티플레이 게임의 서버 구조. 클라이언트-서버 통신, 직렬화, 네트워크 레이어 설계. Unity 2019.4x, .Net 4.x
C#에서 GC를 거치지 않는 비관리 메모리 할당과 해제 방법. Marshal, stackalloc, Span<T> 활용법과 주의사항. Memory managed by the CLR (Common Language Runtime), subject to Garbage Collection.
C# Reflection이 느리다는 통념을 벤치마크로 검증한다. 실제 성능 비용과 캐싱, Expression Tree 등 최적화 방법 정리. One of the most common misconceptions in the C# programming scene is...
C# 람다 식을 컴파일러가 클래스와 메서드로 변환하는 과정을 IL 코드와 함께 분석한다. 클로저, 캡처 변수, 성능 영향까지. There is no magic. It's worth understanding how the compiler implements lambdas under the hood.
Unity Assembly Definition(.asmdef)으로 프로젝트를 모듈 단위로 분리하는 방법. 컴파일 시간 단축, 순환 참조 방지, 테스트 격리 실전 가이드. Split assemblies to clearly manage per-module dependencies and reduce compile times.