dev-2024-03
版本发布时间: 2024-03-04 20:57:14
odin-lang/Odin最新发布版本:dev-2024-09(2024-09-02 23:33:25)
Distribution Changes
- MacOS ARM releases and CI support
- MacOS releases self-contained / bundle LLVM
New Language Features
Compiler Improvements
- General bug fixes in the compiler
- Fix
-no-crt
on Darwin and Linux - Make
odin run
args take the first '--' as the start of the args, instead of the last '--' - Fix intstrumentation in debug mode
- Add backend info to
odin report
- Change
runtime.type_table
to allow RTTI to be constantly initialized on all platforms- Removes the need for the start procedure initializing the RTTI table
- Previous approach was due to limitations and bugs in LLVM
- Promote types in
#c_varargs
according to C rules - Reduce dynamic library dependencies on macOS
- We were previously linking with LLVM-C, LLVM, and libunwind, however only LLVM was needed since it contains LLVM-C, and libunwind comes with macOS already
New Packages
-
core:crypto/hash
- General refactor of the cryptographic packages
-
core:container/avl
- AVL Tree Container
Package Improvements
-
fmt.*printfln
add tocore:fmt
- Fixes to the WebGL package
- General improvements to package os for *nix platforms
- Numerous documentation improvements
- Fixes to
core:mem/virtual
arena_static_reset_to
- Make spall able to be used in instrumentation procedures
- Expose
vendor:OpenGL
shader procedures in - Add more Windows window procedures
- Fix
return
in json unmarshal for enumerated arrays - Add
ID3DUserDefinedAnnotation
to direct3d package - Update miniaudio to 0.11.21
- Change
vendor:raylib
to use non-universal binaries - Fix
vendor:raylib
'sModelAnimation
alignment to match that of C's - Better error code for binding a privileged port without root access in
core:net
-
vendor:glfw
addRawMouseMotionSupported
- Basic EGL support on Linux
- Improved implementation of
core:math
round
Full Changelog: https://github.com/odin-lang/Odin/compare/dev-2024-02...dev-2024-03
1、 odin-macos-amd64-dev-2024-03.zip 61.34MB
2、 odin-macos-arm64-dev-2024-03.zip 59.26MB
3、 odin-ubuntu-amd64-dev-2024-03.zip 65.58MB
4、 odin-windows-amd64-dev-2024-03.zip 114.84MB