Toto je starší verze. Nejnovější verze je dev-2026-10. Odin Programming Language dev-2026-10 · Datum vydání:
Instalační soubory dev-2024-06
| Architektura | Typ | Pro koho | Velikost souboru | Stáhnout | SHA256 |
|---|---|---|---|---|---|
| 64bit | ZIP → Přenosná verze | — | — | github.com | VirusTotal |
Odkaz a SHA256 pocházejí z komunitního manifestu Windows Package Manageru. Před spuštěním porovnejte hash staženého souboru.
Seznam změn
New Language Features
- `intrinsics.type_is_matrix_row_major` + `intrinsics.type_is_matrix_column_major`
- `#hash(<string>[, algo])`
- `@(link_suffix=<string>)`
Compiler Improvements
- New NetBSD target support
- Experimental `orca_wasm32` target support
- Documentation tests fixed and re-enabled
- Fix `>=` for strings, add test for string comparisons
- Suggest `-all-packages` if testing an empty directory
- `core:intrinsics` -> `base:intrinsics`
- `..` range is now an error. Use `..<` or `..=`
- Reimplement `-build-mode:static` / `-build-mode:lib`
- Strictly enforce `switch &x in y` semantics and fix `for &v in &fixed_array`
- Fix `intrinsics.ptr_sub`
- Fix indexing type when using a `#row_major matrix`
- Remove constant indexing for `matrix` value propagation
- Improve error messages and their suggestions
- Delay checking `foreign import` paths until the global scope is checked
New Packages
- `core:container/rbtree`
- `core:encoding/ini`
- `core:crypto/aes`
Package Improvements
- Fix some edge cases and oversights for `bit_field`
- Fix `read_directory` skipping directories on Unix-likes
- Add default heap/general purpose allocator for WASM
- Fix and improve `i18n` .mo plurals
- Correctly load/store uint & int for wasm64p32
- Fix bug in `QOI` encoder + decoder
- Fix the way `%32b` and other prefixed numbers are written`
- Improve `fmt` parsing of struct field tags
- `vendor:microui` gained textbox selection, cut, copy and paste
- Add a custom iterator to `CSV` package.
- Allow space as allowed separator to RFC 3339 parser
- Add abbreviated ISO 8601 parser
- Lots and lots of bugfixes
Packages deprecated
- `core:odin/printer` and `core:odin/format` have been removed in favor of using OLS
Full Changelog: https://github.com/odin-lang/Odin/compare/dev-2024-04a...dev-2024-05