# 만화로 보는 LLVM 프로젝트

> Clean Markdown view of GeekNews topic #8294. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=8294](https://news.hada.io/topic?id=8294)
- GeekNews Markdown: [https://news.hada.io/topic/8294.md](https://news.hada.io/topic/8294.md)
- Type: news
- Author: [joone](https://news.hada.io/@joone)
- Published: 2023-01-20T15:33:43+09:00
- Updated: 2023-01-20T15:33:43+09:00
- Original source: [joone.net](https://joone.net/2023/01/19/49-llvm-%ed%94%84%eb%a1%9c%ec%a0%9d%ed%8a%b8-1-2/)
- Points: 25
- Comments: 3

## Topic Body

* LLVM은 크리스 래트너가 기존 컴파일러와 GCC의 문제를 개선하기 위해 시작한 프로젝트로 2003년에 공개한 컴파일러 인프라스트럭처이다.   
* 컴파일러의 각 컴포넌트 재사용을 위해 중간 표현(intermediate representation)을 정의  
* 프론트 엔드로 새로운 언어를 추가하면 옵티마이저와 백엔드를 그대를 재사용 가능  
* 프론트 엔드만 따로 사용하여 정적 프로그램 분석 기능 작성 가능  
* LLVM을 GCC에 통합하려고 했으나 커뮤니티 반대로 무산  
* Apple이  LLVM을 도입. GCC 대신 새로 개발한 Clang을 사용  
* 크리스 래트너는 애플에서 Swift도 개발. Objective-C 대신 애플 플랫폼의 기본 언어로 사용.

## Comments



### Comment 14350

- Author: ragingwind
- Created: 2023-01-20T16:06:05+09:00
- Points: 1

사실상 defactor는 이제 clang 이 아닐까 싶어요 이제는 많은 거대 프로젝트도 지원하고

### Comment 14356

- Author: hohohoho
- Created: 2023-01-20T18:15:07+09:00
- Points: 1
- Parent comment: 14350
- Depth: 1

clang과 LLVM은 용도가 다르지 않나용?

### Comment 14377

- Author: ragingwind
- Created: 2023-01-21T22:04:54+09:00
- Points: 1
- Parent comment: 14356
- Depth: 2

llvm 을 쓰는 frontend 인 clang 이 이제는 gcc 대신 여러 오픈소스 프로젝트에서도 사용 된다는 이야기였어요 둘의 비교는 아닙니다. 2편 clang 릴리즈 보시면 될 것 같네요 https://joone.net/2023/01/19/50-llvm-%ed%94%84%eb%a1%9c%ec%a0%9d%ed%8a%b8-2-2/
