dev-2023-02
版本发布时间: 2023-02-03 19:28:44
odin-lang/Odin最新发布版本:dev-2024-09(2024-09-02 23:33:25)
New Language Features
Compiler Improvements
Compile Time Speed Optimizations
- Multithreaded frontend by default
- Using the new and improved work stealing thread pool system
- Fix numerous race conditions
- Replace many instances of MPMC queues with MPSC queues
- Replace many instances of
BlockingMutex
withRwMutex
- Replace many instances of
RecursiveMutex
withBlockingMutex
- Multithread backend when the experimental
-use-separate-modules
is used-
-use-separate-modules
turns each package into a separate translation unit (object file) and then links them all together. This allows LLVM be multithreaded at the translation unit stage (LLVM Module). -
-use-separate-modules
will not produce as good code compared to without it because of the multiple translation units.
-
- Improvements to the hash table related structures (
StringMap
,StringSet
,PtrMap
,PtrSet
) - Big improvement to compile times due to the above improvements
General fixes
- Improved type inference for ternary if expressions
- Remove
auto_cast
from procedure parameters - Fix bug with built-in matrix transpose caused by misalignment of the value
- Fix valgrind assembly generation
- Allow
when
statements withinforeign
blocks at the file scope
New Packages
Package Improvements
-
core:mem/virtual
Arena_Temp
improvements-
arena_temp_ignore
allowing for ignoring of a temporary section if necessary
-
- Numerous bug fixes
1、 odin-macos-amd64-dev-2023-02.zip 21.12MB
2、 odin-ubuntu-amd64-dev-2023-02.zip 45.96MB
3、 odin-windows-amd64-dev-2023-02.zip 41.56MB