Are there any programming languages with the same syntax as rust (or similar)?

Are there any programming languages with the same syntax as rust (or similar)?

21 points · 5 comments · view on lemmy.world

5 Comments

CameronDev@programming.dev · 6 pts · 1y

Gleam is very similar syntactically. Never used it, so can't say anything more about it.

capuccino@lemmy.world · 5 pts · 1y

Go zig! It's really awesome

ClemaX@lemm.ee · 2 pts · 1y

Rust is special regarding references but Kotlin reads similarly.

sabin@lemmy.world · 2 pts · 1y

I take it you're not a fan of the borrow rules?

Would you rather manage your memory yourself, or would you rather use a language with a runtime?

Those are your only 2 remaining options for managing memory if you exclude rust-like reference constraints.

2xsaiko@discuss.tchncs.de · 1 pts · 1y

Swift is pretty close. I've been trying it out recently after writing years of Rust and it's been great so far (and pretty much completely eliminates the big tooling complaints I have about Rust...).