It seems like dslx is already similar to Rust at a surface level, but there are cases that are different for no apparent reason.
For example, why are arrays T[N] instead [T; N], like in Rust?
Should types have methods like in Rust? It would certainly make a lot of code cleaner.
struct F32 { ... }
impl F32 {
fn add(self, other: F32) -> F32 { ... }
// ...
}
What about traits and operator overloading?
It seems like dslx is already similar to Rust at a surface level, but there are cases that are different for no apparent reason.
For example, why are arrays
T[N]instead[T; N], like in Rust?Should types have methods like in Rust? It would certainly make a lot of code cleaner.
What about traits and operator overloading?