• insomniac_lemon@lemmy.cafe
    link
    fedilink
    English
    arrow-up
    1
    ·
    15 days ago

    I feel it’s more true for Nim-lang. No dealing with pointers (it’s possible, just not a normal thing like int**, Nim has newer memory management options like arc/orc). There’s also stuff like for i in 0..9 (and ranges like that have more options/uses too)

    I mean I guess there is overlap (both languages have UFCS and interop). So it might come down to syntax or specific implementation. Though I imagine if you like the braces style, there are other options to look at like Zig (or Rust, there is complexity but also popularity).

    I know there is some difficulty when it comes to a language being niche (at least when lacking knowledge), and that’s certainly true for me with Nim.

    * the asterisk is instead used for public+importable