dev-2021-08
版本发布时间: 2021-08-03 05:32:47
odin-lang/Odin最新发布版本:dev-2024-09(2024-09-02 23:33:25)
New Language Features
-
or_else
built-in procedure for values which have an optional-ok value - Allow
x in ptr_to_map_or_bit_set
- Ability to add custom warnings to procedures with the attribute
@(warning=<string>)
Compiler Improvements
- Multithread the entire Semantic Checker stage of the compiler
- This will decrease
odin check
times - Can be disabled with either
-no-threaded-checker
(disables parsing in only the semantic checker) or-thread-count:1
(will also disable threading in parser)
- This will decrease
- Improve error handling for parsing errors
- Replace the old big int library with libTomMath
Packages
- Add
#no_bounds_check
to linalg procedures - Add
slice.sort_by_cmp
- Add
slice.min
andslice.max
- Add
strings.cut
- Deprecate
sort.slice
andsort.reverse_slice
- Add documentation for the overview of
package fmt
Bug Fixes
- Fix numerous swizzle related bugs
- Fix parametric Polymorphic struct with default parapoly parameter bug
1、 odin-macos-amd64-dev-2021-08.zip 1.44MB
2、 odin-ubuntu-amd64-dev-2021-08.zip 1.37MB
3、 odin-windows-amd64-dev-2021-08.zip 17.59MB