# Programming Language File Extensions That Match ISO 3166-1 Country Codes

Original title: Programming language file extensions that match ISO 3166-1 alpha-2 country code

> Hacker News story 49034673 · language: en · submitted 2026-07-24
> Web version: https://zeli.app/story/49034673
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 52 · by [speckx](<https://news.ycombinator.com/user?id=speckx>) · 💬 27
[original](<https://www.bruh.ltd/blog/programming-language-file-extensions-that-match-an-iso-3166-1-alpha-2-country-code/>) · [HN discussion](<https://news.ycombinator.com/item?id=49034673>)

## Summary

I explored the surprising overlap between programming language file extensions and ISO 3166-1 alpha-2 country codes. Starting with Rust's .rs extension coinciding with Serbia, I compiled a list of other matches like Python for Paraguay and Ruby for Russia. This curiosity-driven investigation reveals how technical standards and geographical identifiers sometimes intersect in unexpected ways.

## Key quote

> Either by a sheer coincidence or someone playing 5D chess, .rs is also the file extension for the Rust programming language, which is why the domain name of every other Rust project now belongs to Serbia.

## HN discussion (27 comments)

### [inigyou](<https://news.ycombinator.com/item?id=49035908>)

> Isn't ruby .RB?
>
> And why have I not seen loads an loads of .py domains for python? Paraguay is a stable enough country for this purpose. Do they limit domain names to residents?

### [internet_points](<https://news.ycombinator.com/item?id=49035606>)

> Try also
>
> wget https://iso639-3.sil.org/sites/iso639-3/files/downloads/iso-639-3.tab
>
> grep -xFf <(grep -o ^... iso-639-3.tab) /usr/share/dict/british-english 
>
> You can make whole English sentences out of ISO 639-3 language codes:
>
> woo yes, any fun car has the big dry cat, and thy ads are zen too; bye!
>
> using the codes of Manombai
>
> Nyankpa
>
> Anyin
>
> Fulniô
>
> Galibi_Carib
>
> Haisla
>
> Chitwania_Tharu
>
> Biangai
>
> Darai
>
> Catalan
>
> Ansus
>
> Tha
>
> Adamorobe_Sign_Language
>
> Western_Arrarnta
>
> Zenaga
>
> Xicotepec_De_Juárez_Totonac
>
> Pouye

### [cachius](<https://news.ycombinator.com/item?id=49035250>)

> I love random associations between different concepts!
>
> And that the page title becomes 'Michaelsoft Teams' when inactive <3

---

## Cite

- Page: https://zeli.app/story/49034673
- Date: 2026-07-24
- Source: bruh.ltd (https://www.bruh.ltd/blog/programming-language-file-extensions-that-match-an-iso-3166-1-alpha-2-country-code/)
- Hacker News: https://news.ycombinator.com/item?id=49034673

## Other languages

- zh: https://zeli.app/zh/story/49034673 · markdown: https://zeli.app/zh/story/49034673.md
- ja: https://zeli.app/ja/story/49034673 · markdown: https://zeli.app/ja/story/49034673.md
- ko: https://zeli.app/ko/story/49034673 · markdown: https://zeli.app/ko/story/49034673.md
- de: https://zeli.app/de/story/49034673 · markdown: https://zeli.app/de/story/49034673.md
- es: https://zeli.app/es/story/49034673 · markdown: https://zeli.app/es/story/49034673.md
