• GetOffMyLan@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    28 days ago

    It has always had structs. They are often used for interop but can be used to avoid allocations and they are memory safe out the box, which nice.

    Both languages are really great in my opinion. But very different use cases generally.