# Core War の定番ツールチェーン pMARS を Rust で再実装した「dmars」、ブラウザで遊べる

Original title: Dmars – A modern Core Wars toolchain

> Hacker News story 48847365 · language: ja · submitted 2026-07-09
> Web version: https://zeli.app/ja/story/48847365
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 8 · by [holliplex](<https://news.ycombinator.com/user?id=holliplex>) · 💬 4
[original](<https://dmars.drpz.xyz/>) · [HN discussion](<https://news.ycombinator.com/item?id=48847365>)

## Summary

dmars は、1984 年のプログラミングゲーム「Core War」のツールチェーンを Rust で再実装したものです。自己変形するプログラム（Redcode で書かれた「warrior」）が円環状のメモリ（core）上で戦います。アセンブラは ICWS'94 仕様のプリプロセッサを完全サポートし、pMARS とバイト互換のロードファイルを生成。シミュレータは並列実行に対応し、多数のバトルを高速に処理します。WebAssembly にコンパイルされており、ブラウザ上で実際にバトルを観戦・参加できるプレイグラウンドも公開されています。

## Key quote

> 500 ラウンドの戦いで、pMARS は 0.77 秒、dmars は 0.10 秒（7.5 倍高速）でした。

---

## Cite

- Page: https://zeli.app/ja/story/48847365
- Date: 2026-07-09
- Source: dmars.drpz.xyz (https://dmars.drpz.xyz/)
- Hacker News: https://news.ycombinator.com/item?id=48847365

## Other languages

- en: https://zeli.app/story/48847365 · markdown: https://zeli.app/story/48847365.md
- zh: https://zeli.app/zh/story/48847365 · markdown: https://zeli.app/zh/story/48847365.md
- ko: https://zeli.app/ko/story/48847365 · markdown: https://zeli.app/ko/story/48847365.md
- de: https://zeli.app/de/story/48847365 · markdown: https://zeli.app/de/story/48847365.md
- es: https://zeli.app/es/story/48847365 · markdown: https://zeli.app/es/story/48847365.md
