Skip to content

docs(adr): 记录 runner 通道保留 channel 的决策 - #87

Merged
StillMisty merged 1 commit into
mainfrom
docs/adr-runner-channels
Nov 20, 2026
Merged

StillMisty merged 1 commit into
mainfrom
docs/adr-runner-channels

Conversation

@StillMisty

Copy link
Copy Markdown
Owner

概要

ADR-0038 新增 §13:说明 window / taskbar / audio_output / playback_menu 为什么保留 MethodChannel,不迁 JNI / FFI / Pigeon native interop。

  • runner 是 exe 不是库:FFI 需要 C ABI / native asset DLL;C++/COM/GTK 不能直接绑定
  • 低频、双向、强生命周期;性能收益不可感
  • Pigeon native interop 不支持 Windows/Linux;Pigeon channel 只解决类型化,不退休 transport
  • 重新评估条件:高频 UI/可视化 / 后台 isolate 同步调用 -> 抽 C ABI native asset 库

验证

  • docs check:OK
  • git diff --check:通过

@StillMisty
StillMisty merged commit b6a3608 into main Nov 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant