this post was submitted on 17 Oct 2024
50 points (96.3% liked)

Rust

5953 readers
7 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS
 

It's possible that the .io cctld is going to go away [0]. Does crates.io have a backup plan at all? Does anyone know what problems it would end up causing?

I imagine the package registry having to move domains is going to cause a ton of problems.

Frankly, it's concerning to me that so much of the Rust ecosystem has chosen to standardize on shaky ccTLDs. The Indian Ocean Territory (.io) is a small island territory whose only inhabitants are a single military base, it is crazy to use that domain for something important. Serbia (.rs) is more stable, but they could still cut off access for non-Serbians if they wanted to.

[0] - https://en.wikipedia.org/wiki/.io#Phasing_Out

you are viewing a single comment's thread
view the rest of the comments
[–] BatmanAoD@programming.dev 8 points 3 weeks ago (2 children)

Obviously this isn't specific to Rust, but frankly it's bizarre to me that ICANN chose to tie top-level domains to country codes in the first place. Languages might have made sense, but a major feature of the internet is that it's less beholden to political boundaries than most of the physical world is.

[–] Rogue@feddit.uk 9 points 3 weeks ago (1 children)

It's more bizarre that a single organisation would have such tight control over the Internet. Assigning a tld to each country is a good way to appease each country and give them autonomy over their own portion

[–] BatmanAoD@programming.dev 2 points 3 weeks ago (3 children)

But do they actually have autonomy, give that random companies can use .io and .ai? Or did the British Indian Ocean Territory and Anguilla approve all such uses of those domains?

[–] Flipper@feddit.org 6 points 3 weeks ago

There are several cctld where the entity buying the domain needs to be a local. EU is an example for that. De requires you to be able appoint a representative within 2 weeks living in Germany.

[–] Rogue@feddit.uk 6 points 3 weeks ago (1 children)

Yep. The governments typically select who administers the tld and then get a lump sum or portion of the revenues.

For .ai it was 10% of their GDP in 2023 which is insane...

The registration fees earned from the .ai domains go to the treasury of Government of Anguilla. As per a New York Times report, in 2018, the total revenue generated out of selling .ai domains was $2.9 million.[13][14]

In 2023, Anguilla’s government made about US$32 million from fees collected for registering .ai domains. That amounted to more than 10% of gross domestic product for the territory.[

https://en.m.wikipedia.org/wiki/.ai

[–] BatmanAoD@programming.dev 3 points 3 weeks ago* (last edited 2 weeks ago) (1 children)

Wow, I definitely should have google that myself before asking, but thank you for explaining and calling out that data point.

I honestly think that shows that it was in fact a bad idea to assign TLDs to countries. Having a country code acronym with a popular tech meaning is essentially just luck of the draw, so they've basically just arbitrarily given a few small countries a valuable resource to sell. I guess that benefits those countries, but I doubt "quasi-random fundraising for small countries" was ever the intent.

[–] Rogue@feddit.uk 2 points 3 weeks ago

They are just iso country codes though, so it is just the luck that some have become so popular.

Some countries are pretty strict that their tlds must be local or at least provide translation in the regional language. The cook islands for instance have prime opportunity with .co.ck but they refuse the to let people take advantage

[–] Strykker@programming.dev 2 points 2 weeks ago

Canada specifically won't issue .ca without proof of residence in the country, or something close to that.

I think .io is unfortunately administered by a group outside of the country it's related to. Which means they have less control at the moment (something something British colonialism or something)

But yeah imo country code tlds should be limited to businesses / people who reside within the specific country.

We have soo many other tld options that are better choices.

[–] jeff@programming.dev 6 points 3 weeks ago (1 children)

It makes a lot of sense for businesses, especially where different countries might have different regulations. E.g., amazon.ca and amazon.in. Both sites are in English but it makes way more sense to split them up by country.

[–] BatmanAoD@programming.dev 1 points 3 weeks ago (1 children)

Why top-level, though? Why not amazon.in.com?

[–] nebeker@programming.dev 2 points 3 weeks ago

Interestingly enough, you also have amazon.co.uk, which combines the nature (commercial) and location served (UK), but in the opposite order.