dev-2024-08
版本发布时间: 2024-08-02 21:53:52
odin-lang/Odin最新发布版本:dev-2024-09(2024-09-02 23:33:25)
New Language Features
Compiler Improvements
- Update to LLVM 18.1.8
- Force compiler source to be parsed as UTF-8 (Windows)
- Improve various compiler-internal asserts
- Fix
#soa
assignment bug - Add error for
type_of(value of untyped type)
- Remove
*_test.odin
; always compile it for all targets - Add
-print-linker-flags
- Allow
x :: y when cond else proc(...){...}
- Allow using a precompiled Windows resource file with
-resource:foo.res
- Fix problem where the initial package's directory name ended in .odin
- Fix check for whether executable output path is a directory
New Packages
Package Improvements
- Add bindings for WOW64 API
- Improve
os.open
for WASI - Support
vendor:stb/truetype
andvendor:fontstash
on WASM - Fix linker errors with empty project for
vendor:wgpu
- Fix SDL constants
- Fix alignment bug in
mem.dynamic_pool
and add tests for it - Fix
reflect.as_pointer
- Remove implicit allocator usage in
core:dynlib
- Fix
utf8_to_wstring
given zero bytes. - Add
setenv
andunsetenv
for Darwin - Improve
core:encoding/cbor
- Remove syscall usage on Darwin to comply with Apple guidelines
- Add some XKB extension procedures and constants to
vendor:x11
- Fix
@(optimization_mode)
usage in builtin collections - Add synonyms
strings.starts_with
andstrings.ends_with
as aliases - Allow overriding random generator in
rand
calls - Add documentation and example for
core:container/intrusive/list
- Update stb_truetype.odin
- Add support of
ignore
tag forjson.marshal
- Allow json maps with int keys in
marshal
andunmarshal
- Add Intel AES-NI support to
core:crypto/aes
- Improve
rand.shuffle
- Fix leak in
core:encoding/ini
and add tests for it - Document
core:time
,core:time/datetime
,core:thread
andcore:sync
- Add example and tests for
vendor:lua
- Many
core:sys/windows
improvements - Add json reporting to
core:testing
- Add
time.to_string*
formatters. - Clamp
dot
inlinalg.angle_between
to avoid precision errors. - Update RayGui procedures
1、 odin-macos-amd64-dev-2024-08.zip 107.5MB
2、 odin-macos-arm64-dev-2024-08.zip 100.03MB
3、 odin-ubuntu-amd64-dev-2024-08.zip 85.31MB
4、 odin-windows-amd64-dev-2024-08.zip 128.36MB