dev-2023-07
gingerBill
released this
08 Jul 10:20
·
4429 commits
to master
since this release
New Language Features
- Allowing for Positional and Named Arguments in Procedure Calls details
#reverse for
- Allow
for &e, i in array
andfor k, &v in map
andswitch &v in ...
- Will replace the old style of passing the iterable by pointer
- The
&e
value will still be of the same type but will be addressable (a reference to the actual value)- Variable Addressing Mode (L-Value in C-speak)
Compiler Improvements
intrinsics.type_merge
ODIN_COMPILE_TIMESTAMP
(unix timestamp in nanoseconds)- Default to
panic
allocator for wasm targets - Numerous Fixes
New Packages
- New and Improved
io.Stream
interface - details core:math/cmplx
- Font texture atlas builder port of fontstash was added to
vendor:fontstash
- Vectorized rendering port of nanovg was added to
vendor:nanovg
Package Improvements
- Add
math.sincos
- Update to Botan 3.0
- Use C calling convention within most Objective-C related procedures in
vendor:darwin
packages - Add loads of
@(require_results)
to many procedures withincore
- Make the vast majority of
math
procedures"contextless"
- Add
Mutex
tomem.Tracking_Allocator
bindFramebuffer
was added toWebGL
package- Added
self_cleanup
flag to properly auto-clean threads - Correct printing in
core:fmt
forODIN_ERROR_POS_STYLE
- General Fixes