# Wine-Assembly: 브라우저 속 Windows 프로그램
# Wine-Assembly: Windows programs in a browser

- Site: https://select1.dev/2026-11-18 (English), https://select1.dev/ko/2026-11-18 (Korean)
- Entry: 039
- Published: 2026-11-18 (KST). Launch date: 2026-11-17
- Pick: Wine-Assembly <https://wine-assembly.berrry.app/> (source: Show HN)
- Verified: ran
- What: Wine-Assembly 는 Windows 98 프로그램을 브라우저에서 실행하는 프로덕트다.
- What (en): Wine-Assembly is a product that runs Windows 98 programs in a browser.
- Why: 오늘의 픽으로 선정한 이유는 옛 프로그램을 운영체제 설치 없이 바로 열 수 있기 때문이다.
- Why (en): It is today’s pick because you can open an old program without installing an operating system.
- Verdict: 작동한다. Solitaire 와 SkiFree 의 원본 실행 파일이 브라우저에서 실행됐다.
- Verdict (en): It works. The original Solitaire and SkiFree executables ran in a browser.
- Tags: emulator, webassembly, windows, retro, browser

## Checked against the README

- [fail] tools/build.sh 가 만드는 wasm 파일 두 개는 각각 약 1 MB 다(about 1 MB each) — npm 패키지를 설치하지 않아도 bash tools/build.sh 가 68초 만에 끝났다. build/wine-assembly.wasm 은 2,402,131바이트, build/wine-assembly.compat.wasm 은 2,404,777바이트였다. build/wine-assembly.wasm 을 gzip 으로 압축하면 958,274바이트다. README 의 "약 1 MB" 문장은 9월 4일 커밋 67f07e8 에서 추가됐다
- [fail] node test/run.js --app=sol 로 CLI 에서 Solitaire 를 실행한다(Quick start, Command line) — 새로 클론한 저장소에서 binaries/entertainment-pack/sol.exe 가 없다는 ENOENT 로 종료됐다. binaries 심볼릭 링크를 만든 뒤에는 test/binaries/tlbs/stdole32.tlb 가 없다는 ENOENT 로 종료됐다
- [pass] Solitaire, SkiFree, Windows 3.1 프로그램이 데스크톱과 휴대폰의 브라우저 탭에서 실행된다(launch in a tab, on desktop and on a phone) — python3 -m http.server 로 띄운 로컬 서버에서 Solitaire, SkiFree, 16비트 Solitaire 가 실행됐다. Playwright 의 iPhone 13 에뮬레이션에서도 Solitaire 와 SkiFree 가 실행됐다

## Measured

- 페이지를 열고 Solitaire 카드판이 표시될 때까지 걸린 시간: 539~631 ms(3회) (로컬 서버의 index.html?app=sol 을 Playwright 로 열고, 100 ms 마다 창 안쪽 한 점의 색을 읽어 카드판의 녹색이 나타난 시각을 기록했다)

## Progress (days after launch; full history https://select1.dev/2026-11-18/progress)

- day 3 (checked 2026-11-20) [active] commits since launch 786, stars 156, releases 0, contributors 32, last commit 2026-11-19
  - New docs describe test runs of games such as Quake II, GLTron, Re-Volt, SuperTux and Hexen II. They also say what each run could not check.
  - Fixed an OpenGL bug where making a texture on one texture unit released the texture on another unit.
  - Link preview cards changed. In the card, a fullscreen game’s screen now sits over a blurred copy of itself.
- day 7 (checked 2026-11-24) [active] commits since launch 1283, stars 162, releases 0, contributors 32, last commit 2026-11-23
  - Mouse input now keeps the Shift and Ctrl state and the held buttons.
  - Fixed wrong values that the C runtime math functions fmod, pow and ldexp returned in edge cases.
  - Fixed the Windows key-code function MapVirtualKey for keys such as Num Lock, Scroll Lock and Caps Lock.
  - String functions such as StrStrIA and strtok now handle strings that span guest memory pages that are not next to each other.

## 한국어

## 무엇이 문제인가

Windows 98 프로그램을 브라우저에서 실행하려면 보통 PC 전체를 에뮬레이션한다. 제작자는 README 에서 Wine-Assembly 를 브라우저에서 실행되는 에뮬레이터 v86 과 비교했다. v86 은 x86 CPU 와 하드웨어를 에뮬레이션하고, 디스크 이미지에서 운영체제를 부팅한다. 제작자는 js-dos, Wine 과도 비교했다. js-dos 는 DOSBox 를 WebAssembly 로 컴파일한 에뮬레이터다. Wine 은 Windows 의 API 를 다시 구현해 Linux 와 macOS 에서 Windows 프로그램을 실행하지만, 브라우저에서는 실행되지 않는다. PC 전체를 에뮬레이션하면 Solitaire 하나를 실행하려 해도 Windows 98 을 먼저 부팅해야 하고, Windows 가 설치된 디스크 이미지가 있어야 한다.

## 어떻게 해결했나

제작자 Vladimir Grichina 가 2026년 11월 17일 Hacker News 에 Show HN 글로 Wine-Assembly 를 소개했다.

Wine-Assembly 는 운영체제를 부팅하지 않는다. 프로그램의 실행 파일(.exe)을 읽어 메모리에 적재한다. 실행 파일 안의 x86 기계어는 WebAssembly 로 작성한 인터프리터가 실행한다. 프로그램이 창 만들기, 그리기, 파일 열기 같은 Windows 함수를 호출하면, Wine-Assembly 는 다시 구현한 Win32 API 로 Windows 대신 처리한다. JavaScript 는 화면에 픽셀을 그리고 입력과 파일을 전달하는 일만 한다. Wine-Assembly 는 Windows 3.1 의 16비트 프로그램도 실행한다.

## 무엇이 다른가

첫째, 에뮬레이션하는 범위가 다르다. Wine-Assembly 는 프로그램 하나와 그 프로그램이 호출하는 Windows 함수만 다룬다. 그래서 Windows 가 설치된 디스크 이미지가 필요 없다. 페이지를 열면 부팅을 기다리지 않고 Solitaire 가 표시된다. 트레이드오프는 실행할 수 있는 프로그램이 제한된다는 점이다. v86 은 실제 Windows 98 을 부팅하므로 Windows 의 기능을 다시 구현할 필요가 없다. Wine-Assembly 는 프로그램이 호출하는 함수를 모두 다시 구현해야 그 프로그램을 실행할 수 있다. README 에 적힌 최근 검사에서는 실행 파일 114개 중 81개가 통과했다. 29개는 실행됐지만 경고가 출력되거나 알려진 제약이 있었다. 나머지 4개는 검사에서 제외했다.

둘째, 에뮬레이터를 만드는 방식이 다르다. js-dos 는 C++ 로 작성된 DOSBox 를 WebAssembly 로 컴파일해 사용한다. Wine-Assembly 의 인터프리터와 Win32 API 구현은 WAT 로 직접 작성됐고, 자체 WAT 컴파일러로 빌드된다. 제작자는 README 에서 WebAssembly 에 맞춰 설계한 에뮬레이터를 만들어 보는 것이 목표였다고 밝혔다. README 에 따르면 WAT 로 직접 작성하면 모듈의 모든 바이트가 어느 코드에서 나왔는지 알 수 있다. 트레이드오프는 C++ 로 작성할 때보다 컴파일러가 잡아 주는 오류가 적다는 점이다. tools/build.sh 의 주석에 따르면 WAT 에서는 메모리에 배치한 두 테이블의 주소 범위가 겹쳐도 컴파일 오류가 없다. 실행하면 두 테이블이 서로의 값을 덮어쓴다. 그래서 빌드는 메모리 배치를 검사하는 단계를 여러 번 거친다.

## 어떻게 만들었나

- 저장소의 커밋은 2026년 3월 26일부터 오늘 클론한 커밋 1eecca9 까지 14,189개다. 작성자별로는 Codex 가 6,744개, 제작자가 6,405개, Claude 가 796개다.
- 커밋 메시지 4,163개에 Claude 의 Co-authored-by 트레일러가 있다. 제작자는 README 에서 리버스 엔지니어링, 구현, 테스트, 문서 작성의 많은 부분에 Claude Code 와 Codex 를 사용했다고 밝혔다.
- WAT 소스는 파일 145개, 390,274줄이다. README 에는 파일 61개, 약 210,000줄이라고 적혀 있다. README 의 이 문장은 9월 4일 커밋에서 추가됐다. PROJECT_STORY.md 에 따르면 11월 4일에는 파일 134개, 약 360,000줄이었다.

## 실행해 보니

커밋 1eecca9 를 클론해 Linux 에서 Node.js 22 로 빌드했다. 빌드 결과는 Python 의 HTTP 서버를 띄워 브라우저에서 열었다.

1. 빌드. npm 패키지를 설치하지 않아도 `bash tools/build.sh` 가 68초 만에 끝났다. build/wine-assembly.wasm 과 build/wine-assembly.compat.wasm 은 각각 2,402,131바이트와 2,404,777바이트였다. README 에는 각각 약 1 MB 라고 적혀 있다. build/wine-assembly.wasm 을 gzip 으로 압축하면 958,274바이트다. README 는 이 1 MB 가 압축한 크기인지 밝히지 않는다.
2. CLI 실행. README 의 `node test/run.js --app=sol` 을 실행하자 `binaries/entertainment-pack/sol.exe` 가 없다는 오류와 스택 트레이스가 출력되고 프로세스가 종료됐다. 프로그램 경로는 저장소 루트의 `binaries` 심볼릭 링크를 거치는데, 이 링크는 .gitignore 에 포함돼 있어 클론한 저장소에는 없다. 링크를 만들자 이번에는 `stdole32.tlb` 가 없어 종료됐다. 코드 주석에 따르면 이 파일은 Wine-Assembly 가 공개 사이트에 배포하지 않는 Microsoft 시스템 파일이다. README 의 다른 예인 `test/binaries/notepad.exe` 도 저장소에 없었다.
3. 브라우저. 링크를 만든 뒤 Solitaire 를 열었다. 세 번 측정하니 페이지를 열고 카드판이 표시될 때까지 539~631 ms 가 걸렸다. 덱을 누르자 카드 3장이 뒤집혔다. 창 아래의 타이머도 작동하기 시작했다.
4. 다른 프로그램. SkiFree 와 Windows 3.1 용 16비트 Solitaire 도 실행됐다. Pinball 은 저장소에 실행 파일이 없어 다운로드 오류(HTTP 404)가 표시됐다. 공개 사이트에서는 Pinball 이 실행됐다.
5. 휴대폰. Playwright 의 iPhone 13 에뮬레이션에서 SkiFree 창이 화면을 채웠다. 화면 키보드 버튼과 New game, Fast 버튼이 함께 표시됐다.

```text title="터미널, 링크를 만든 뒤 node test/run.js --app=sol"
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/tmp/run/app/test/binaries/tlbs/stdole32.tlb'
}
```

## 확인하지 못한 것

- 회귀 테스트 약 850개. 다음에는 `npm run test:quick` 부터 실행해 보자.
- DirectX 게임. 실행되는지 확인하려면 저장소에 없는 실행 파일을 직접 준비해야 한다.

## 판정

작동한다. Solitaire 와 SkiFree 의 원본 실행 파일이 브라우저에서 실행됐다. 다만 저장소를 새로 클론하면 README 의 CLI 실행 예시가 실패한다. 옛 Windows 프로그램을 운영체제 설치 없이 보여 주려는 경우에 써 볼 만하다.

## 얻어갈 것

- README 의 빠른 시작에 있는 명령을 새로 클론한 저장소에서 실행해 보자. Wine-Assembly 의 CLI 예시는 클론한 저장소에 없는 링크와 파일 때문에 실패했다.
- 필요한 파일이 없으면 CLI 에서도 스택 트레이스 대신 오류 메시지로 알리자. Wine-Assembly 는 브라우저에서 오류 대화상자를 표시했다. CLI 에서는 스택 트레이스를 출력하고 종료됐다.
- README 의 수치는 빌드 결과에서 생성해 보자. Wine-Assembly 의 README 에는 9월 4일의 라인 수가 그대로 남아 있었다.

### 용어

- DOSBox: MS-DOS 시절의 PC 를 에뮬레이션해 DOS 프로그램을 실행하는 오픈소스 프로그램이다. 옛 DOS 게임을 실행할 때 많이 쓴다.
- WebAssembly: 브라우저와 여러 런타임에서 같은 방식으로 실행되는 바이너리 형식이다. WebAssembly 모듈을 실행하는 프로그램은 그 모듈의 접근 권한을 제한할 수 있다.
- WAT: WebAssembly 명령어를 바이너리 대신 텍스트로 표기하는 저수준 언어다.

## English

## The problem

Today, the usual way to open a Windows 98 program in a browser is to emulate a whole PC. The maker compares Wine-Assembly with v86, an emulator that runs in a browser, in the README. v86 emulates an x86 CPU and hardware, and boots an operating system from a disk image. The maker also compares it with js-dos and Wine. js-dos is an emulator made by compiling DOSBox to WebAssembly. Wine reimplements the Windows API to run Windows programs on Linux and macOS, but it does not run in a browser. When you emulate a whole PC, even running Solitaire means booting Windows 98 first, and you need a disk image with Windows installed.

## How it solves it

The maker, Vladimir Grichina, posted Wine-Assembly to Hacker News as a Show HN on November 17, 2026.

Wine-Assembly does not boot an operating system. It reads the program’s executable (.exe) and loads it into memory. An interpreter written in WebAssembly runs the program’s x86 machine code. The program calls Windows functions to make a window, to draw and to open a file. Wine-Assembly’s own Win32 API handles these calls in place of Windows. JavaScript only draws pixels to the screen and passes input and files. Wine-Assembly also runs 16-bit programs from Windows 3.1.

## What is different

First, the scope of emulation is different. Wine-Assembly handles only one program and the Windows functions that program calls. So it needs no disk image with Windows installed. When you open the page, Solitaire appears without waiting for a boot. The trade-off is that fewer programs can run. v86 boots Windows 98 itself, so it does not need to reimplement Windows features. Wine-Assembly can run a program only after it reimplements every function the program calls. In the latest check recorded in the README, 81 of 114 executables passed. Another 29 ran with warnings or known limits, and the other four were skipped.

Second, the emulator is built differently. js-dos uses DOSBox, which is written in C++, compiled to WebAssembly. Wine-Assembly’s interpreter and its Win32 API implementation are written directly in WAT, and the project’s own WAT compiler builds them. The maker says in the README that the goal was to build an emulator designed for WebAssembly. The README says that when WAT is written directly, every byte of the module can be traced to its code. The trade-off is that the compiler catches fewer errors than it would for C++. A comment in tools/build.sh says that in WAT, the address ranges of two tables in memory can overlap with no compile error. At runtime, the two tables then overwrite each other’s values. So the build runs several checks on the memory layout.

## How it was built

- Today I cloned the repository at commit 1eecca9. Its history has 14,189 commits dating back to March 26, 2026. Of these, 6,744 commits name Codex as the author, 6,405 name the maker and 796 name Claude.
- 4,163 commit messages have a Co-authored-by trailer for Claude. The maker says in the README that much of the reverse engineering, implementation, testing and documentation was done with Claude Code and Codex.
- The WAT source is 390,274 lines in 145 files. The README says about 210,000 lines in 61 files. That README sentence was added in a September 4 commit, and PROJECT_STORY.md gives about 360,000 lines in 134 files as of November 4.

## Running it

I cloned commit 1eecca9 and built it with Node.js 22 on Linux. Then I opened it in a browser through Python’s HTTP server.

1. Build. `bash tools/build.sh` finished in 68 seconds without installing npm packages. build/wine-assembly.wasm and build/wine-assembly.compat.wasm were 2,402,131 bytes and 2,404,777 bytes. The README says about 1 MB each. build/wine-assembly.wasm is 958,274 bytes when compressed with gzip. The README does not say whether its 1 MB means the compressed size.
2. Command line. The README’s `node test/run.js --app=sol` printed an error and a stack trace because `binaries/entertainment-pack/sol.exe` was missing, then exited. That path starts with `binaries`, a symbolic link at the repository root. But .gitignore lists that link, so a clone does not have it. After I made the link, the command exited because `stdole32.tlb` was missing. A code comment says this is a Microsoft system file that the project does not publish to its public site. The README’s other example, `test/binaries/notepad.exe`, was not in the repository either.
3. Browser. After I made the link, I opened Solitaire. In 3 runs, the card table appeared 539–631 ms after I opened the page. A click on the deck turned over 3 cards. The timer at the bottom of the window also started.
4. Other programs. SkiFree and the 16-bit Solitaire for Windows 3.1 also ran. Pinball showed a download error (HTTP 404), because its executable is not in the repository. On the public site, Pinball ran.
5. Phone. Under Playwright’s iPhone 13 emulation, the SkiFree window filled the screen. An on-screen keyboard button and New game and Fast buttons appeared with it.

```text title="Terminal, node test/run.js --app=sol after making the link"
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/tmp/run/app/test/binaries/tlbs/stdole32.tlb'
}
```

## Not checked

- The roughly 850 regression tests. Next, start with `npm run test:quick`.
- DirectX games. Checking them needs executables that are not in the repository.

## Verdict

It works. The original Solitaire and SkiFree executables ran in a browser. But on a fresh clone, the README’s command-line example fails. It is worth trying if you want to show old Windows programs without installing an operating system.

## What to take away

- Run the README’s quick start on a fresh clone. Wine-Assembly’s command line examples failed because of a link and files a clone does not have.
- When a needed file is missing, print an error message in the CLI too, instead of a stack trace. Wine-Assembly showed an error dialog in the browser. In the CLI, it printed a stack trace and exited.
- Generate the README’s numbers from the build. Wine-Assembly’s README still had the line count from September 4.

### Terms

- DOSBox: An open-source program that emulates an old PC to run DOS programs. People often use it to play old DOS games.
- WebAssembly: A portable binary format for code that browsers and other runtimes can run. The runtime can limit what the code can access.
- WAT: The WebAssembly text format. It represents low-level WebAssembly instructions as readable text.

## Launches the same day

- Agav <https://github.com/prapaa-ai/agav> (Show HN, 24): 터미널 코딩 에이전트. 토큰을 덜 사용하도록 설계한 오픈소스다.
- Wine-Assembly <https://wine-assembly.berrry.app/> (Show HN, 21): Windows 98 에뮬레이터. 원본 실행 파일을 브라우저에서 실행한다.
- Pulsar <https://github.com/yocontra/pulsar> (Show HN, 20): 에이전트 메시징 도구. 서로 다른 코딩 에이전트끼리 메시지를 주고받는다.
- flat.social Virtual Office <https://flat.social/virtual-office-platform> (Show HN, 12): 가상 사무실. 에이전트가 일하는 동안 사람들과 함께 일하는 웹 공간이다.
- AI Agent Governance Course <https://studio.sinapsdata.com.br> (Show HN, 12): 온라인 강의. AI 에이전트 거버넌스를 무료로 배운다.
- Wireless Device Battery Monitor <https://github.com/krisgfx9/Wireless-Device-Battery-Monitor> (GitHub, 2403): Windows 도구. 무선 마우스, 헤드셋, 키보드, 컨트롤러의 배터리 잔량을 보여 준다.
- inference-optimisation-skill <https://github.com/sybil-solutions/inference-optimisation-skill> (GitHub, 850): 에이전트 스킬. 로컬 LLM 서빙 속도를 단계마다 측정하며 개선한다.
- Boring Marketing Skills <https://github.com/boringmarketer/boring-marketing-skills> (GitHub, 492): 에이전트 스킬 모음. 조사, 포지셔닝, 카피, SEO 같은 마케팅 스킬 31개다.
- RankSpot <https://www.producthunt.com/products/rankspot> (Product Hunt, 309): 에이전트용 SEO 도구. 사용한 만큼 비용을 낸다.
- TheBold <https://www.producthunt.com/products/thebold> (Product Hunt, 289): 투자 유치 도구. 실행 기록을 투자자 미팅으로 연결한다.
- Creatify Max <https://www.producthunt.com/products/creatify> (Product Hunt, 283): 광고 제작 도구. 전략부터 제작, 집행까지 맡는다.

## Getting started

- Steps: bash tools/build.sh ; ln -s test/binaries binaries ; python3 -m http.server 8080
- Needs: Node.js(빌드)., WebAssembly 를 지원하는 브라우저., 저장소에 없는 프로그램(Pinball 등)은 실행 파일을 직접 준비해야 한다.
- Cost: MIT, 무료. 공개 사이트 wine-assembly.berrry.app 는 가입 없이 사용할 수 있다.
- Note: README 의 빠른 시작에는 binaries 심볼릭 링크를 만드는 단계가 없다. 링크가 없으면 프로그램을 불러오지 못한다.
