Aquesta és una versió anterior. La versió actual és la dev-2026-10. Odin Programming Language dev-2026-10 · Data de publicació:
Fitxers d’instal·lació dev-2024-05
| Arquitectura | Tipus | Àmbit | Mida del fitxer | Baixa | SHA256 |
|---|---|---|---|---|---|
| 64 bits | ZIP → Portable | — | — | github.com | VirusTotal |
L’enllaç i l’SHA256 provenen del manifest comunitari del Gestor de paquets del Windows. Convé comparar el hash del fitxer baixat abans d’executar-lo.
Notes de la versió
New Language Features
-
Compiler Improvements
- `odin root` command
- Normalize `ODIN_ROOT` path
- Improvements to arm64 ABI for returning 0 sized types
- Allow compiling with LLVM 18 (non-Windows targets)
- Fix linking with clang-18
- Fix wrote llvm-config in build script for FreeBSD
- Change layout of compiler (not language) hash maps for minor performance improvements
- Numerous improvements to catch the possible race conditions with the new error reporting system
- Allow `-default-to-nil-allocator` on wasm targets
- Allow `@(init) procs to be `@(disabled)`
- Performance improvements for access and storing fields from a `bit_field` type
- Minimally support compiling Odin on FreeBSD arm64
- Improved target feature support
- Improved `-microarch` support with list of possible micro-architectures.=
New Packages
- `core:sys/darwin/CoreFoundation`
- `core:sys/darwin/Security`
- `core:encoding/cbor`
Package Improvements
- General bug fixes
- General documentation improvement (typos and `doc.odin` fixes)
- core:net Add support for URL fragments
- Fix `big.internal_random_prime` with `Second_MSB_On`
- Fix `vendor:d3d12` calling convention mistakes
- Fix to Fisher-Yates shuffle in `core:rand`
- Fix `core:text/i18n` default `number` value in `get_*_section`
- Fix `#soa` `%#v` formatting
- Fix `%e` formatting
- Fix `%[N].*[M]v` style formatting
- Improvements to `Negative_Read/Negative_Write` logic for `core:io`
- Fix `omitempty` in `json.marshal`
- Improved statistics for `core:mem/Tracking_Allocator`
- Require results for non-buffered `print` procs
- `core:sys/info`: add arm feature detection, fix Linux implementation, show more CPU info on Darwin
- Fix vendor dynamic libraries not working on Linux
- Fixes to `core:encoding/json` invalid JSON when an error does not have a position
- Add `slice.enum_slice_to_bitset` & `slice.bitset_to_enum_slice`
- Add DXGI 1.5 & 1.6 APIs
- Update d3d12 API
- Refactor `fmt.wprintf`
- Fix `core:odin/parser` crashing on empty and/or no package files
Full Changelog: https://github.com/odin-lang/Odin/compare/dev-2024-04a...dev-2024-05