<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>제네릭 on wid's blog</title><link>https://wid-blog.github.io/tags/%EC%A0%9C%EB%84%A4%EB%A6%AD/</link><description>Recent content in 제네릭 on wid's blog</description><generator>Hugo</generator><language>ko</language><lastBuildDate>Tue, 17 Nov 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://wid-blog.github.io/tags/%EC%A0%9C%EB%84%A4%EB%A6%AD/index.xml" rel="self" type="application/rss+xml"/><item><title>Rust trait, 제네릭, dyn</title><link>https://wid-blog.github.io/posts/tech/language/rust-generics-dispatch/</link><pubDate>Tue, 17 Nov 2026 00:00:00 +0000</pubDate><guid>https://wid-blog.github.io/posts/tech/language/rust-generics-dispatch/</guid><description>제네릭(인자 위치 impl Trait 포함)은 호출된 타입마다 함수 사본을 만들어 정적으로 호출하고, dyn Trait 는 함수 하나가 vtable 에서 구현 주소를 읽어 호출한다. 둘 중 무엇을 고를지는 여러 타입을 섞어야 하는지, 사본이 늘어나는 비용과 간접 호출 비용 중 무엇이 문제인지가 기준이 된다고 봤다. Rust 공부 시리즈의 다섯 번째 글.</description></item></channel></rss>