gingerBill
ca3ef41dcf
Fix typo
2026-06-28 13:34:29 +01:00
gingerBill
7da5608121
Add _append_elem_ptr to optimize for append when the element is internally pointer-like
2026-06-28 13:31:49 +01:00
gingerBill
3e3fc1c906
Remove duplicated code
2026-06-24 11:11:16 +01:00
gingerBill
40e54a97ed
Merge branch 'master' into bill/bedrock
2026-06-24 11:07:02 +01:00
gingerBill
c843f3bb65
Optimize append_elem for different optimization levels
...
* For `-o:size` and below, uses the type erased approach
* For `-o:speed` and above, the inlined form is used
This is necessary because a generic `mem_copy_non_overlapping` cannot be optimized when type erasure is used, meaning in a hot path where `append_elem` is used a lot; thus `mem_copy_non_overlapping` becomes a bottleneck.
2026-06-22 12:57:00 +01:00
gingerBill
233242f4ea
Remove __copy_bits
2026-06-22 12:55:56 +01:00
gingerBill
588a8148f2
Remove the now defunct __write_bits and __read_bits
2026-06-22 12:55:33 +01:00
gingerBill
900ebd6b5b
Heavily improve reading and writing to bit fields
2026-06-22 12:55:29 +01:00
Sylphrena
0aa85a035f
Added optional allocator error to map_insert
2026-06-13 20:00:02 +02:00
juaumjuaumjuaum
bf2d33f0e5
Swap panic_contextless and unimplemented_contexless documentation
...
They were swaped
2026-06-02 00:00:45 +02:00
gingerBill
1e1f37fcef
n -> num_appended for append return values
2026-05-18 14:33:35 +01:00
gingerBill
d4508e39de
Merge pull request #6677 from BigBoyBarney/builtin-fix
...
Fix `make_aligned` and `new_aligned` to be builtin
2026-05-12 14:31:26 +01:00
Sylphrena
b603e7400f
Fix make_aligned and new_aligned to be builtin
2026-05-11 21:54:31 +02:00
gingerBill
b0ee0bb635
Add @(fast_math={...}) + intrinsics.Fast_Math_Flags
2026-05-11 11:55:07 +01:00
gingerBill
d21fea404b
Merge pull request #6631 from heavyrain266/deprecate-haiku
...
removed Haiku from supported targets
2026-05-06 15:52:36 +01:00
gingerBill
8ffcdf172a
Odin_Calling_Convention defined in compiler; Allow for main :: proc "contextless" () {} with -bedrock; intrinsics.type_proc_calling_convention
2026-05-05 15:07:42 +01:00
gingerBill
942c1bff17
Merge branch 'master' into bill/bedrock
2026-05-05 13:57:14 +01:00
gingerBill
09c7b75f79
Remove Odin_Endian_Type.Unknown
2026-05-05 10:18:19 +01:00
gingerBill
44e44911c8
Disable startup and cleanup calls in main with -bedrock
2026-05-04 11:55:00 +01:00
gingerBill
83dab63dcd
Fix when
2026-05-04 10:58:16 +01:00
gingerBill
ea00291519
Begin work on -bedrock mode
...
Currently disables 128-bit integers, `map` type, and RTTI
2026-05-02 15:06:01 +01:00
Ignacy Koper
183a4c2d7f
removed Haiku from base:runtime package
...
Signed-off-by: Ignacy Koper <ignacy423@gmail.com >
2026-04-28 19:27:24 +02:00
Ignacy Koper
3e64a72bad
removed Essence from supported targets
...
Signed-off-by: Ignacy Koper <ignacy423@gmail.com >
2026-04-27 11:10:48 +02:00
jakubtomsu
c55797356f
default NATIVE_SIMD_BIT_WIDTH to 128
2026-04-10 16:30:44 +02:00
jakubtomsu
0475456ac0
add native SIMD bit width constant
2026-04-09 20:43:14 +02:00
Tejas Hegde
d27f34f233
Updated delete_key doc to mention iteration behaviour
2026-03-30 19:29:52 +10:30
jakubtomsu
382ca331be
runtime align_forward procs as source of truth
2026-03-26 19:38:49 +01:00
WojtaZam
1f9f2dc0da
fix Error: Missing return statement at the end of the procedure pop_fixed_capacity_dynamic_array
2026-03-17 20:19:46 +01:00
Shane Shrybman
af2d8ca679
FCD array proc group add _elems
2026-03-15 21:45:44 -04:00
gingerBill
55f398b734
Add #no_bounds_check to appropriate procedures
2026-03-15 16:00:40 +00:00
gingerBill
ad1a10b8af
use intrinsics.mem_copy instead of a for-loop
2026-03-15 11:48:49 +00:00
gingerBill
310def1e71
Fix append_fixed_capacity_elems
2026-03-15 11:42:24 +00:00
gingerBill
c6772dfd06
Merge branch 'master' into bill/fixed-capacity-dynamic-array
2026-03-15 11:41:01 +00:00
Jeroen van Rijn
27667ce36b
iff -> if and only if (⟺)
2026-03-13 11:54:15 +01:00
gingerBill
c7308d86d4
Fix tests as they are not direct matches to small_array
2026-03-12 17:33:54 +00:00
gingerBill
26eb58b589
Move raw closer to usage
2026-03-12 17:03:07 +00:00
gingerBill
6c61b1d46c
Remove loc being passed
2026-03-12 16:59:58 +00:00
gingerBill
fac8471019
Fix typos
2026-03-12 16:59:11 +00:00
gingerBill
6e9d6bfbe5
Fixed tests
2026-03-12 16:55:46 +00:00
gingerBill
6a03cf5d68
Add "remove" procedures to fixed capacity dynamic arrays
2026-03-12 09:40:31 +00:00
gingerBill
535b70b82e
Add other @builtin procedures for fixed capacity dynamic arrays
2026-03-12 09:37:27 +00:00
gingerBill
f1dbe9c242
[dynamic; N]T proof of concept: fixed capacity dynamic array (akin to small_array.Small_Array(N, T))
2026-03-11 16:46:33 +00:00
Jeroen van Rijn
0087d6d62e
Add preserve/* to base:runtime
...
```odin
none :: proc "preserve/none" () {}
most :: proc "preserve/most" () {}
all :: proc "preserve/all" () {}
print_cc :: proc(type: any) {
ti := type_info_of(type.id)
p := ti.variant.(runtime.Type_Info_Procedure)
fmt.println(p.convention)
}
main :: proc() {
print_cc(none)
print_cc(most)
print_cc(all)
}
```
2026-03-08 15:05:23 +01:00
Gavin Rohrer
93b1e97402
fix documentation of assign_at
2026-03-07 10:07:15 -05:00
gingerBill
217b4967b0
Improve docs for type_info_underlying
2026-03-04 14:07:24 +00:00
gingerBill
029c96ce22
Separate type_info_core and type_info_underlying
2026-03-04 14:03:24 +00:00
Jeroen van Rijn
ed74233ace
Add bit_set to runtime.type_info_core.
2026-03-04 14:55:11 +01:00
gingerBill
2cb8155946
Add missing @(require_results)
2026-03-03 12:27:44 +00:00
gingerBill
a5e1eb56ab
Add explicit_underlying: bool RTTI field for bit_set; add runtime.type_info_underlying
2026-03-03 12:26:42 +00:00
gingerBill
30d87a2fd7
Merge pull request #6324 from Faker-09/dynamic_array_move_assert
...
Small optimization for dynamic arrays
2026-02-24 08:11:34 +00:00