Suositut: Tiedot päivitetty 27. lokakuuta 2026

Kategoriat

Internet1 356
Viestintä321
Ääni ja video898
Grafiikka ja suunnittelu539
Toimisto ja tuottavuus1 124
Kehitystyökalut3 134
Tekoälytyökalut529
Tietoturva ja yksityisyys385
Järjestelmätyökalut3 114
Pelit523
Opiskelu ja tiede239
Verkko ja IT284

Lataa Odin Programming Language dev-2024-04

Odin is a general-purpose programming language with distinct typing built for high performance, modern systems and data-oriented programming.

Tämä on vanhempi versio. Uusin versio on dev-2026-10. Odin Programming Language dev-2026-10 · Julkaistu:

Asennustiedostot dev-2024-04

ArkkitehtuuriTyyppiLaajuusTiedostokokoLatausSHA256
64-bittinen ZIP → Portable — — github.com VirusTotal

Linkki ja SHA256-tiiviste ovat peräisin Windows Package Managerin yhteisön manifestista. Vertaa ladatun tiedoston tiivistettä ennen kuin suoritat sen.

Muutosloki

New Language Features
- `bit_field` type
```
Foo :: bit_field u16 { // backing type must be an integer or array of integers
x: i32 | 3, // signed integers will be signed extended on use
y: u16 | 2 + 3, // general expressions
z: My_Enum | foo.SOME_CONSTANT, // ability to define the bit-width elsewhere
w: bool | foo.SOME_CONSTANT > 10 ? 2 : 1,
}
```
```
Handle :: bit_field u32 {
slot: u32 | 16,
generation: u32 | 15,
in_use: bool | 1,
}
```
- `name: type | bit_width`
- `name: type | bit_width "field_tag"` (similar to a struct field with a tag)

Compiler Improvements
- Improved Error Reporting System
- Sorted printing based on error position
- Ability to export error list to json `-json-errors`
- `-terse-errors` are only a single line now
- Error message suggestions for people making common C mistakes
- Aiding newcomers from C/C++ to Odin
- Loads of debug info refactors and improvements
- Add Haiku OS support by @avanspector in https://github.com/odin-lang/Odin/pull/3230
- Respect "smart linker" approaches
- Respect `-lld` on non-Windows machines
- Remove entry point when compiled with no-entry-point as shared library
- Numerous fixes to wasm targets
- Numerous fixes to ARM64 ABI on Darwin
- Numerous fixes to SysV AMD64 ABI on Darwin and Linux
- Speed up `path_to_fullpath` on Linux/macOS
- Numerous compiler fixes and error messages

New Packages
- Moved `vendor:darwin/Foundation` to `core:sys/darwin/Foundation`

Package Improvements
- Improvements to `core:crypto`
- Make raylib and stb_rect_pack be free of libc
- Numerous improvements to `core:encoding/json`
- Support writing enum value names
- Support for `using _: T` fields
- Fixes to `core:math/big`
- Fixes to `core:math/linalg`
- Fixes to `core:slice`
- Fixes to `core:odin/parser`
- General fixes to `base:runtime`
- `vendor:x11` fixes
- Allow for the new futex API on darwin platforms if it is available
- Fix `os.read_entire_file` for pipes and console

CI Improvements
- Update LLVM to 17 for the CI/Releases

Full Changelog: https://github.com/odin-lang/Odin/compare/dev-2024-03...dev-2024-04

https://github.com/odin-lang/Odin/releases/tag/dev-2024-04

Suosituin kategoriassa Ohjelmointikielet ja SDK:t

Näytä kaikki
  1. Go Programming LanguageOhjelmointikielet ja SDK:t
  2. LLVMOhjelmointikielet ja SDK:t · LLVM
  3. DenoOhjelmointikielet ja SDK:t · Deno Land Inc.
  4. CMakeOhjelmointikielet ja SDK:t · Kitware
  5. YarnOhjelmointikielet ja SDK:t · Yarn Contributors
  6. CcacheOhjelmointikielet ja SDK:t · Joel Rosdahl
  7. sbtOhjelmointikielet ja SDK:t · Lightbend, Inc.
  8. BOINCOhjelmointikielet ja SDK:t · Space Sciences Laboratory, U.C. Berkeley
  9. Dart SDKOhjelmointikielet ja SDK:t · Google
  10. NVM for WindowsOhjelmointikielet ja SDK:t · Ecor Ventures LLC

Tunnisteet

Jaa