Optimized for: Gemini / ChatGPT / Claude
Advanced AI Prompt for Go/Rust Migration for Ultra-Low Latency Lambda
Use this engineered prompt to drastically optimize your workflow and output.
Required Variables
- ✦
[CURRENT_INTERPRETED_CODE] - ✦
[MEMORY_USAGE] - ✦
[PERFORMANCE_KPI]
lambda-go-rust-migration.txt
Compare the current execution metrics of [CURRENT_INTERPRETED_CODE] with potential performance gains from migrating to a compiled runtime like Go or Rust. Analyze the binary size and initialization speed (cold start) differences. Provide a boilerplate implementation in Go/Rust for the core logic and estimate the 'break-even' point where the development cost of migration is offset by the reduction in monthly Lambda billing.
Example Output
"The AI would provide a high-performance Rust handler and a cost projection showing a 70% reduction in billed duration compared to the original Python version."