Skip to content

Releases

v0.1.0: Plink natively, PuTTY GUI and SSH in hosted mode

Choose a tag to compare

@Sahilg93 Sahilg93 released this 15 Nov 19:31

First tagged release of a static recompiler that turns real Windows x86-64 PE binaries into native Apple Silicon (ARM64) Mach-O executables via LLVM IR.

Plink -V natively, then the lifted PuTTY GUI opening an SSH session

What works

  • PuTTY Plink 0.83, natively. The original Windows release runs -V with output matching Wine + Rosetta byte-for-byte, at 6.20× the speed (42.31 ms vs. 262.23 ms) and a 68.9% smaller memory footprint.
  • PuTTY 0.83 GUI. Renders its configuration dialog and opens raw and SSH terminal sessions (hybrid NTRU Prime / Curve25519 key exchange, Ed25519 public-key login, AES-256).
  • Plink over SSH. Key exchange, public-key login, a remote command and exit status 0 against OpenSSH. With wineserver already running the lifted command takes 293 ms against 452 ms under Wine + Rosetta (1.54×); from a cold start the two are level.
  • jq 1.8.2. Verified against the upstream macOS build for stdin, file input, Unicode filenames, sorting, regex and error handling.
  • ripgrep 14.1.1. A single-threaded recursive search agrees with Wine.
  • Runtime DLL loading, and Wine's own ntdll, kernelbase, ucrtbase, user32, gdi32, comctl32 and ws2_32 lifted as ordinary guest DLLs.
  • Shared lifted modules. Each lifted DLL is built once as a shared library and reused by every program.

Known limits

This is not a general "run any Windows binary" tool.

  • GUI and network programs need hosted mode: a Wine 11.0 install, Wine's unix-side syscall layer and a Wine prefix, with wineserver under Rosetta. There is no standalone .app bundle (#3, #4).
  • AES-NI, SHA extensions, carry-less multiply and AVX are not lifted (#1). PuTTY and Plink are built with --trace and use their software ciphers.
  • Some code still runs in a fallback x86 interpreter (#7).
  • Hosted programs use 1.6 to 2 times the memory of the original under Wine (#2).
  • ripgrep runs only single-threaded, in diagnostic mode (#5).

Getting started

See the README for the quickstart and measurements, and WAR_STORIES.md for the bugs found along the way. This release is source only; there are no prebuilt binaries.