Comments by "p11" (@porky1118) on "What Makes Rust Different?" video.
-
3
-
@NoBoilerplate
>better ... in some areas
Feature-wise it's better in almost all areas.
It just isn't as clean as Rust, no focus on safety, etc. (also no orphan rules)
The main reason, I don't use it anymore.
>I note there's no macros
There are macros in Scopes.
Three different kinds of macros even.
The documentation is probably still missing a lot.
inline, which is a function partially evaluated at compile time, more like templates than inline functions
sugar, which is like lisp macros (transform one expression into another one, just syntactic sugar)
spice, which has access to type information and evaluated constants at compile time.
It's the only langugae where I was able to implement geometric algebra, generic (at compile time) over dimensions and types.
It also uses llvm vectors internally, important for addition and is able to track if a a multi vector is a versor at compile time for further optimizations.
2
-
1