# Cosmopolitan v1.0 공개

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

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=4278](https://news.hada.io/topic?id=4278)
- GeekNews Markdown: [https://news.hada.io/topic/4278.md](https://news.hada.io/topic/4278.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2021-05-18T09:43:54+09:00
- Updated: 2021-05-18T09:43:54+09:00
- Original source: [github.com](https://github.com/jart/cosmopolitan/releases/tag/1.0)
- Points: 9
- Comments: 3

## Topic Body

- C코드를 빌드하면 윈/맥/리눅스/BSD 등 어디서나 실행하게 만들어주는 libc 라이브러리

- Redbean 웹서버 Productionize

- APE 바이너리가 자기 자신(ZIP) 수정 지원

ㅤ→ redbean 웹서버가 내장한 파일들을 수정하면서 운영가능

- 써드파티에 SQLite 추가

- sendmsg/recvmsg 추가

## Comments



### Comment 5213

- Author: xguru
- Created: 2021-05-18T09:44:02+09:00
- Points: 2

제가 근래에 본 프로젝트중에 가장 hacker 스러운 듯 합니다.

지금까지 상황을 설명하면,

- 유명한 해커인 Justine Tunney가 APE(αcτµαlly pδrταblε εxεcµταblε) 포맷을 공개

- APE는 UNIX 쉘스크립트이면서 윈도우즈 실행파일 이어서 맥/윈/리눅스/BSD 어디서나 실행이 가능

- Cosmopolitan 은 이렇게 포터블한 상황에서 C코드를 어디서나 실행가능하게 만들어주는 LibC

- 이 APE 와 Cosmpolitan을 가지고 파일 1개로 실행되는 Redbean 웹서버를 개발

- Redbean은 실행파일이면서 ZIP 파일이어서 모든 HTML/CSS/JS 등의 리소스를 내장하는게 가능

- 이제 Cosmopolitan 1.0 에서는 Redbean 웹서버가 자기 자신인 Zip 파일의 내용을 수정하는게 가능

- Dynamic한 웹페이지를 만들어서 내용도 수정이 되지만, 파일은 1개

- Cosmopolitan libc - Build-Once Run-Anywhere C  https://news.hada.io/topic?id=3489

- Redbean - 파일1개로 실행되는 웹서버 https://news.hada.io/topic?id=3815

### Comment 20346

- Author: cosine20
- Created: 2023-11-03T17:53:47+09:00
- Points: 1
- Parent comment: 5213
- Depth: 1

심지어 BIOS에서도 실행이 된다고 하네요(...)

### Comment 5216

- Author: baeba
- Created: 2021-05-18T10:15:11+09:00
- Points: 1
- Parent comment: 5213
- Depth: 1

간단하고 크기작은 웹서버가 없을까 하고

써봤었는데..  생각(?) 만큼 사용하기가 쉽지는 않더군요.

그리고 여자 해커가 많지는 않던데.

찾아보니 대단한 분이시네요.

그리고 남자에서 여자로 성변환한.

https://en.wikipedia.org/wiki/Justine_Tunney

예전 루빅 큐브계에서도 뛰어난 분이 계셨는데.

남자였다가 여자로 성변환한분이 있었습니다.

키도 190이 넘는다는..-_-

https://en.wikibooks.org/wiki/How_to_Solve_the_Rubik%27s_Cube/CFOP
