github odin-lang/Odin dev-2025-10

11 days ago

New Language Features

New Compiler Improvements

  • Improve type inferencing of literals when calling proc groups
  • Windows i386 support
  • Fix Darwin addObserver methods and add support for new Objc_Block
  • Fix segfault involving string_to_string16 on Linux
  • Improve OSX threading performance
  • Basic support for constant union literals
  • Add -para-poly-diagnostics
  • Prevent returning a struct containing compound literal slice
  • Relax signature_parameter_similar_enough on struct params and fix various foreign signatures
  • Preempt field checking on signature_parameter_similar_enough with a type ptr equality check
  • Remove stray debug printf

New Packages

  • [core/image]: Add baseline JPEG support

Package Improvements

  • Use .Image_Dimensions_Too_Large in core:image
  • tick_now: Use f64 (was f32) as a return type of odin_env.tick_now()
  • Allow missing trailing comma with proc groups in core:odin parser
  • Fix incorrect json encoding for control characters < 32
  • Initializing big.Int constants is now "contextless"
  • Add CancelIoEx and other overlapped I/O functions.
  • Add missing caller location param to append in strings.Builder
  • Add "contextless" to small_array get_safe and get_ptr_safe
  • Zero small_array resize
  • Unify filepath.join return between Unix/Windows
  • Fix out-of-band allocations in dynamic arenas by
  • Fix for temp_file name prefix being deallocated before being used
  • Add runtime.conditional_mem_zero to improve heap_allocator performance on non-Windows systems
  • Add digit_to_int to core:strconv
  • Remove inaccurate tprint comment

Full Changelog: dev-2025-09...dev-2025-10

Don't miss a new Odin release

NewReleases is sending notifications on new releases.