Plan a port from interface contracts

Original, untested text-only exercise by this site; it does not reproduce source devices, agents or integrations. Plan a port from interface contracts.

Execution environment and usage

AI / software

Gemini web: supplied-text-only editorial exercise

Where to operate

Eligible Gemini web text chat

Getting started

  1. Prepare shareable or fictional plain text using the prompt parameters; transcribe it yourself and mark ambiguities. Do not upload source files or connect accounts.
  2. Paste the text and prompt; request only a draft, comparison or plan, not tool execution.
  3. Check every output against supplied sources, references and unknowns. A human decides next steps; no automatic publishing, payment or deployment.

Setup and plan requirements

Checked 2026-10-27: official Gemini web lists Hong Kong, Macau, Taiwan and Traditional Chinese; account and age eligibility apply. Limited usage is available without a paid AI plan; limits vary by account and workload. Local paid prices and Traditional Chinese output quality are unknown. App and API need separate checks and are not required here. Original-tool features, devices and paid eligibility in these regions remain unconfirmed; do not bypass restrictions.

Prompt portability limits

Original, untested text-only exercise by this site; it does not reproduce source devices, agents or integrations.

Usage limitations

Original, untested text-only exercise by this site; it does not reproduce source devices, agents or integrations. Checked 2026-10-27: official Gemini web lists Hong Kong, Macau, Taiwan and Traditional Chinese; account and age eligibility apply. Limited usage is available without a paid AI plan; limits vary by account and workload. Local paid prices and Traditional Chinese output quality are unknown. App and API need separate checks and are not required here. Original-tool features, devices and paid eligibility in these regions remain unconfirmed; do not bypass restrictions.

Environment sources

適用情境 / When to use

Original, untested text-only exercise by this site; it does not reproduce source devices, agents or integrations. This is vendor engineering experience, not independent performance evaluation. Original case: Stephen Toub describes incrementally migrating the runtime from TypeScript to Rust with Copilot and fixing regressions. Source published 2026-09-16 and updated 2026-09-23; this site rechecked it on 2026-10-27 without hands-on testing.

步驟 / Steps

  1. Prepare shareable or fictional plain text using the prompt parameters; transcribe it yourself and mark ambiguities. Do not upload source files or connect accounts.
  2. Paste the text and prompt; request only a draft, comparison or plan, not tool execution.
  3. Check every output against supplied sources, references and unknowns. A human decides next steps; no automatic publishing, payment or deployment.

提示詞 / Prompt

Using [shareable code interfaces, behavior contracts and constraints I provide], [source and target languages] and [reason for migration], draft a phased migration plan in plain text. List observable behavior to preserve, proposed boundary/error/resource-lifecycle tests and rollback criteria for each phase. Ask questions where contracts are missing. Suggest plans and tests only; do not generate or execute changes or claim testing or performance gains.

Use only shareable or fictional plain text I provide in this conversation. Do not recognize images, request uploads, browse or fetch live prices, create webpages, execute code, connect accounts, create actual tasks, or make payments. Return only a plain-text draft for human review. Mark missing information as unknown and separate source facts from your inferences.

留意事項 / Cautions

  • Do not rewrite merely to follow a popular language.
  • Do not automatically merge, deploy or delete the original implementation.

來源限制 / Evidence limits

The original scale and speed do not transfer to other projects, and Rust is not assumed appropriate.

流程說明 / Workflow note

Original, untested text-only exercise by this site; it does not reproduce source devices, agents or integrations. Checked 2026-10-27: official Gemini web lists Hong Kong, Macau, Taiwan and Traditional Chinese; account and age eligibility apply. Limited usage is available without a paid AI plan; limits vary by account and workload. Local paid prices and Traditional Chinese output quality are unknown. App and API need separate checks and are not required here. Original-tool features, devices and paid eligibility in these regions remain unconfirmed; do not bypass restrictions.

原始工具組合 / Original tool stack

GitHub Copilot app; Copilot CLI; TypeScript; Rust

Source publication date: 2026-09-16

Source checked: 2026-10-27

Migrating the GitHub Copilot runtime to Rust, using Copilot