Skip to content

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.

website: list Swift on the home page (#1275)

jakalijeyad8530dd67da
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b6887c7a..58a40a7b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,9 @@
## Unreleased
+- The website home page lists Swift: in the language grid (Tested), the hero animation's "also"
+ line, the page description and the languages without batches, and the stat says 11 languages
+ (#1265 by @jakalijey).
- `map --help` and `docs/how-it-works.md` say that `map --check` also exits 1 when a recording
cannot be trusted (fingerprint missing, cases edited, removed or dropped), not only when an
original changed (#1252 by @jakalijey).
diff --git a/website/components/landing/Hero.tsx b/website/components/landing/Hero.tsx
index 07f3d6b6..b3cbf010 100644
--- a/website/components/landing/Hero.tsx
+++ b/website/components/landing/Hero.tsx
@@ -76,6 +76,11 @@ const LANGS: Lang[] = [
file: 'Words.psm1',
bridge: 'P/Invoke',
},
+ {
+ name: 'Swift',
+ file: 'Words.swift',
+ bridge: 'C ABI',
+ },
]
const SHOWN = [0, 2, 3, 5]
diff --git a/website/components/landing/Home.tsx b/website/components/landing/Home.tsx
index 0e847cf5..a9832f10 100644
--- a/website/components/landing/Home.tsx
+++ b/website/components/landing/Home.tsx
@@ -49,6 +49,7 @@ const LANGS = [
{ key: 'csharp', name: 'C#' },
{ key: 'kotlin', name: 'Kotlin', tested: true },
{ key: 'powershell', name: 'PowerShell', tested: true },
+ { key: 'swift', name: 'Swift', tested: true },
] as const
const CODERABBIT = 'https://coderabbit.link/er-kam'
diff --git a/website/lib/messages/en.ts b/website/lib/messages/en.ts
index 62f53cf6..df59a92b 100644
--- a/website/lib/messages/en.ts
+++ b/website/lib/messages/en.ts
@@ -2,7 +2,7 @@ export const en = {
meta: {
title: 'Rewrite your whole app in Rust, piece by piece',
description:
- 'Migrate your app to Rust piece by piece, checked against the original at every step. CLIs, servers and libraries in TypeScript/JavaScript, Python, C, Go, Ruby, Java, Kotlin, PHP, PowerShell and C#.',
+ 'Migrate your app to Rust piece by piece, checked against the original at every step. CLIs, servers and libraries in TypeScript/JavaScript, Python, C, Go, Ruby, Java, Kotlin, PHP, PowerShell, C# and Swift.',
},
ui: {
docs: 'Docs',
@@ -137,7 +137,7 @@ export const en = {
{ v: '32', unit: 'x', k: 'Fuse.js search per query on 50,000 strings, Apple M4, 10 cores' },
{ v: '3.5', unit: 'MB', k: 'json-server idle memory after the lift, from 74 MB in Node' },
{ v: '514/514', unit: '', k: 'json-server HTTP cases matching on a pure Rust binary' },
- { v: '10', unit: '', k: 'languages: eight with verified ports, Kotlin and PowerShell tested end to end' },
+ { v: '11', unit: '', k: 'languages: eight with verified ports, Kotlin, PowerShell and Swift tested end to end' },
],
installTitle: 'Install',
installDesc: 'Install the CLI, then register the MCP server and the workflow skill with Claude Code, Codex, Cursor, Gemini CLI and OpenCode.',
@@ -226,7 +226,7 @@ export const en = {
'Where the gap is small: one connection reading the whole 10,000-post list (1.2x), and writes on the big database (1.1 to 1.2x), since both rewrite the whole file on every write. [Full tables](/docs/real-world/json-server)',
langsTitle: 'Languages',
langsDesc:
- 'The language is detected from the repository. Every language except C, PHP, C# and PowerShell also gets batches: the items cross once and stay in Rust, on all cores.',
+ 'The language is detected from the repository. Every language except C, PHP, C#, PowerShell and Swift also gets batches: the items cross once and stay in Rust, on all cores.',
verified: 'Verified',
wholeApps: 'Whole apps',
tested: 'Tested',
@@ -241,6 +241,7 @@ export const en = {
csharp: 'P/Invoke. Google.Protobuf: 2,941/2,941',
kotlin: 'JNI through the Java bridge. Tested on a Gradle fixture',
powershell: 'P/Invoke, pwsh 7.4+. Tested on a .psm1 fixture',
+ swift: 'A JSON dispatcher over the C ABI. Tested on a SwiftPM fixture',
},
sponsoredBy: 'Sponsored by',
prettierTitle: 'Prettier, ported to Rust',