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

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

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

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.

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.
  1. inigyou

    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?

  2. internet_points

    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

  3. cachius

    I love random associations between different concepts!

    And that the page title becomes 'Michaelsoft Teams' when inactive <3

More from this day

2026-07-24