upvote
It does not matter, you (rust devs) won't use anything else either way and other people just don't care
reply
I switch between languages a lot and I'm currently learning PHP. I've found that syntax similarities can be a hazard. I see "function" and I think I'm writing JavaScript, but then I try to concatenate strings with "+" and I realize I'm actually writing PHP and need to use ".". These challenges are especially noticeable in the early days of learning.
reply
These are just syntax differences, which not only are easy to learn but I believe aren't the primary goal of the language, which is to bring the benefits of Rust's type system to Go.

As for int and float64, this comes from Go's number type names. There's int, int64, and float64, but no float. It's similar to how Rust has isize but no fsize.

reply
> It's similar to how Rust has isize but no fsize.

isize is the type for signed memory offsets, fsize is completely nonsensical.

reply
deleted
reply
Same. I started writing a high level Rust that was based on typescript.

Then realized Rust wasn't that hard.

reply
Writing actual Rust for any GC language (including Golang) would ultimately be quite weird. You'd have to entirely change the way memory is modeled, to account for the restrictions GC introduces. It's similar to the restrictions introduced by having multiple address spaces, except even weirder because every object is its own tiny address space and a reference is just an address space descriptor.
reply
deleted
reply
Because it's inspired by Rust, but doesn't try to be Rust? And it's aimed at Go developers?
reply
Yea I think this is targeted at Go devs. Im in the target audience and I like it, not sure id ever use it, but I like it.

Rust devs continued belief that they're the center of the universe is amusing.

reply
I think "Because (the dev) prefers it that way" is a satisfactory answer. Often, these small languages don't aim to be used in production and become the next big thing. They're made for fun and exploration's sake.
reply
Its rust like. There is no borrow checking etc. Rust syntax is verbose so why copy it nilly willy when you dont need to.

Look at gleam, its a fresh take on nice dxp

reply