v0.1.4
0.1.4 adds some major syntactical improvements, run-time speedups, compile-time speedups, and a lot of foundational improvements behind the scenes.
Optimizations:
- Eagerly calculated hashes, and switched from lists to vecs. 10-11x speedup!
- Added Solver, the next generics solver. Uses normalized rules, much more optimizable.
- New list uses the new arrays, should be much faster
User-visible language changes:
- Now two kinds of non-owning reference: borrow ref like
&Shipand pointer ref like*Ship. Midas will soon treat these differently. - Added break
- Added foreach
- Added basic variadic members!
- Added new functions: range(int, int), i64(i32), migrate for arrays
- Now need
sealedon the interface to define abstract functions outside an interface - All parameters need a type.
fn do(callable)->fn do<F>(callable F) - Destructors:
- Now need #!DeriveStructDrop now to make custom destructors.
- Custom destructors are now called , not .