Rewrite your app in Rust, piece by piece, checked against the original at every step. Works with TypeScript, JavaScript, Python, Go, Ruby, Java, C, PHP, C#, Kotlin, PowerShell and Swift.
Rust agent-skillsclaude-codeclicode-migrationcodexffigolangjavajavascriptmcpmigrationnapiperformanceportingpyo3pythonrewriterubyrusttypescript
<?php
namespace Acme;
use Monolog\Logger;
use Stripe\StripeClient;
use Acme\Greeter;
use function Acme\helper;
class User
{
public function hello(string $name): string
{
(new Logger('app'))->info('hello');
new StripeClient('sk_test');
return helper((new Greeter())->greet($name));
}
}