# Record
**Author:** @cameron.stream (`did:plc:gfrmhdmjvxn2sjedzboeudef`)

## `rust-and-stuff`
**Collection:** `site.standard.document`
**AT URI:** `at://did:plc:gfrmhdmjvxn2sjedzboeudef/site.standard.document/rust-and-stuff`

**Title:** Rust & More
**Published:** Sun, 03 Jun 2018 07:00:00 GMT
**Publication:** `at://did:plc:gfrmhdmjvxn2sjedzboeudef/site.standard.publication/3md7ylshxzk2y`
**Path:** /rust-and-stuff
**Tags:** blog

**Content:**
```json
{
  "$type": "pub.leaflet.content",
  "pages": [
    {
      "id": "09bf849e-bd1e-4c94-9a39-e02b11bb872b",
      "$type": "pub.leaflet.pages.linearDocument",
      "blocks": [
        {
          "$type": "pub.leaflet.pages.linearDocument#block",
          "block": {
            "$type": "pub.leaflet.blocks.text",
            "facets": [
              {
                "index": {
                  "byteEnd": 74,
                  "byteStart": 70
                },
                "features": [
                  {
                    "uri": "https://www.rust-lang.org/",
                    "$type": "pub.leaflet.richtext.facet#link"
                  }
                ]
              },
              {
                "index": {
                  "byteEnd": 184,
                  "byteStart": 179
                },
                "features": [
                  {
                    "uri": "https://crates.io/",
                    "$type": "pub.leaflet.richtext.facet#link"
                  }
                ]
              }
            ],
            "plaintext": "For the past two or so weeks I've been spending a lot of time writing Rust. Rust is a really spectacularly designed language with perhaps the greatest package manager.It's called Cargo. I've been continuously blown away by how lovely it is to write stuff in!"
          }
        },
        {
          "$type": "pub.leaflet.pages.linearDocument#block",
          "block": {
            "$type": "pub.leaflet.blocks.text",
            "plaintext": "Rust is fascinating to me because it's one of my first true compiled languages. In contrast to the other languages I'm somewhat good at:"
          }
        },
        {
          "$type": "pub.leaflet.pages.linearDocument#block",
          "block": {
            "$type": "pub.leaflet.blocks.text",
            "plaintext": "• R (mostly interpereted)"
          }
        },
        {
          "$type": "pub.leaflet.pages.linearDocument#block",
          "block": {
            "$type": "pub.leaflet.blocks.text",
            "plaintext": "• Python (interpereted)"
          }
        },
        {
          "$type": "pub.leaflet.pages.linearDocument#block",
          "block": {
            "$type": "pub.leaflet.blocks.text",
            "plaintext": "• C# (JIT compiled)"
          }
        },
        {
          "$type": "pub.leaflet.pages.linearDocument#block",
          "block": {
            "$type": "pub.leaflet.blocks.text",
            "plaintext": "• Julia (JIT compiled)"
          }
        },
        {
          "$type": "pub.leaflet.pages.linearDocument#block",
          "block": {
            "$type": "pub.leaflet.blocks.text",
            "plaintext": "I am only passingly familiar with C and have mostly repressed C++, so Rust was both new and refreshing to me. The workflows are strikingly different -- with Julia or R or what have you, I go through a very rapid iterative process. Write something, run it, see what worked, fix it, move on to the next issue. It's very slapdash."
          }
        },
        {
          "$type": "pub.leaflet.pages.linearDocument#block",
          "block": {
            "$type": "pub.leaflet.blocks.text",
            "facets": [
              {
                "index": {
                  "byteEnd": 77,
                  "byteStart": 72
                },
                "features": [
                  {
                    "$type": "pub.leaflet.richtext.facet#italic"
                  }
                ]
              },
              {
                "index": {
                  "byteEnd": 204,
                  "byteStart": 195
                },
                "features": [
                  {
                    "$type": "pub.leaflet.richtext.facet#bold"
                  }
                ]
              }
            ],
            "plaintext": "With Rust (and, I presume other compiled languages), I have to stop and think a lot more about what I'm doing and how I'm doing it. This is a bit more important in Rust because of the concept of ownership, an entirely bizarre concept of who owns what thing in any given program."
          }
        },
        {
          "$type": "pub.leaflet.pages.linearDocument#block",
          "block": {
            "$type": "pub.leaflet.blocks.text",
            "plaintext": "My (admittedly frail) understanding of ownership is that everything that exists in a program is owned by a varible. Once that variable goes out of scope, the memory allocated goes with it. It's how Rust manages memory safety. It has a pretty steep learning curve initially, but once you've learned it it's almost effortless to use."
          }
        },
        {
          "$type": "pub.leaflet.pages.linearDocument#block",
          "block": {
            "$type": "pub.leaflet.blocks.text",
            "plaintext": "All in all, it's a spectacular language. Fast, too. And ultra strongly typed with none of the rigid puritanical stuff that comes with Haskell."
          }
        }
      ]
    }
  ]
}
```

---
*Fetched from https://enoki.us-east.host.bsky.network via `com.atproto.repo.getRecord`*