ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

Today's fiasco: I rewrote a section of golang code in #rustlang, only to find out that that algorithm is already implemented in a crate, a pretty nifty one: crates.io/crates/range... A search for a similar crate in #golang yielded no results. Are there just more algorithms in rust than golang?

Apr 21, 2025, 9:55 PM

Record data

{
  "uri": "at://did:plc:wjyyltkrn7ppnwdtagyvpszk/app.bsky.feed.post/3lne5rdk5us2e",
  "cid": "bafyreicspkg4fonygylhspq2bzktzmxgxeouf5zbaghmtm7y4luhfnnf2m",
  "value": {
    "text": "Today's fiasco: I rewrote a section of golang code in #rustlang, only to find out that that algorithm is already implemented in a crate, a pretty nifty one: crates.io/crates/range...\n\nA search for a similar crate in #golang yielded no results. Are there just more algorithms in rust than golang?",
    "$type": "app.bsky.feed.post",
    "langs": [
      "en"
    ],
    "facets": [
      {
        "index": {
          "byteEnd": 63,
          "byteStart": 54
        },
        "features": [
          {
            "tag": "rustlang",
            "$type": "app.bsky.richtext.facet#tag"
          }
        ]
      },
      {
        "index": {
          "byteEnd": 182,
          "byteStart": 157
        },
        "features": [
          {
            "uri": "https://crates.io/crates/rangemap",
            "$type": "app.bsky.richtext.facet#link"
          }
        ]
      },
      {
        "index": {
          "byteEnd": 223,
          "byteStart": 216
        },
        "features": [
          {
            "tag": "golang",
            "$type": "app.bsky.richtext.facet#tag"
          }
        ]
      }
    ],
    "createdAt": "2025-04-21T21:55:53.607Z"
  }
}