github odin-lang/Odin dev-2022-02

latest releases: dev-2025-11, dev-2025-10, dev-2025-09...
3 years ago

New Language Features

None

New Compiler Features

  • Add #no_type_assert and #type_assert to disable implicit type assertions with x.(T)
  • Add ODIN_ERROR_POS_STYLE constant and -error-pos-style:<string> option to allow for default or unix style error messages

Compiler Improvements

  • Correct debug information logic for procedure parameters
  • General improvements to odin doc support the new https://pkg.odin-lang.org/
  • Correct //+private for odin doc
  • Make ODIN_ENDIAN a constant enum value rather than a string
  • Rename architecture 386 to i386
  • Improve entry code handling to support more platforms easily in the future
  • Improve/simplify quaternion casting

New Packages

  • core:container/lru
  • Rename core:path to core:path/slashpath

Package Improvements

  • slice.stable_sort* procedures
  • Add allocator parameter to rand.perm
  • rand.exp_float64
  • strings.split_lines* procedures

Don't miss a new Odin release

NewReleases is sending notifications on new releases.