Carlyle
d6a47f5e99
added get_page_size() to core:mem/virtual
2026-03-23 11:43:13 -07:00
Jeroen van Rijn
72f9d55266
Merge pull request #6456 from imp0s5ible/imp-file-mapping-fix
...
Fix #6455
2026-03-20 16:41:06 +01:00
imp0s5ible
e2bb7d70af
Make map_file_from_path use the open flags
...
map_file_from_path now passes the appropriate flags on to os.open
instead of always calling it with os.O_RDWR.
It will no longer try to open a file with write permissions if the user
didn't request write access to the file mapping (or vice-versa).
2026-03-20 15:21:12 +01:00
gingerBill
5e6e1c1e75
Add gethostname to ws2_32.odin
2026-03-20 11:44:10 +00:00
Yawning Angel
a171746a15
core/math/rand: Disable LLVM vectorization of xoshiro on Intel
...
LLVM tries really hard to vectorize this when it is a terrible idea,
when `-microarch:native` is specified on modern processors. Not doing
so is a 2.5->3x performance gain.
2026-03-19 19:25:23 +09:00
pawelt
911f00521c
Handle OOM error in path_linux / _get_working_directory()
2026-03-17 14:37:22 +01:00
Jeroen van Rijn
efccc9c87f
Merge pull request #6434 from Yawning/feature/arm-hw-sha512
...
core/crypto/sha2: Add Aarch64 SHA512 acceleration
2026-03-16 20:51:52 +01:00
Yawning Angel
36a3f691c1
core/crypto/sha2: Add Aarch64 SHA512 acceleration
2026-03-17 04:39:15 +09:00
Laytan
99dffb344a
Merge pull request #6424 from andzdroid/patch-4
...
encoding/cbor: fix order-dependent partial unmarshals
2026-03-16 15:17:57 +01:00
Yawning Angel
ccb56de19a
core/crypto/sha2: Add scaffolding for SHA512 acceleration
2026-03-16 16:05:21 +09:00
Yawning Angel
a030fb6596
core/crypto/sha2: Remove the broken Intel intrinsic kludge
2026-03-16 15:52:59 +09:00
Yawning Angel
9051f5a075
core/simd/x86: Fix _mm_blend_epi16
2026-03-16 15:52:59 +09:00
gingerBill
20dcc8fd80
Remove use of @(init) for checking if Windows has long path support and check on first usage instead
2026-03-15 19:09:45 +00:00
gingerBill
5f5c19fa2c
Add deprecation notice to small_array/doc.odin
2026-03-15 18:58:27 +00:00
gingerBill
4b95e8a040
Add generic count of arrays to to doc-format
2026-03-15 18:18:02 +00:00
gingerBill
55f398b734
Add #no_bounds_check to appropriate procedures
2026-03-15 16:00:40 +00:00
gingerBill
7207b545e6
Merge pull request #6406 from odin-lang/bill/fixed-capacity-dynamic-array
...
Fixed Capacity Dynamic Arrays
2026-03-15 15:31:31 +00:00
Jeroen van Rijn
66be1a799b
Fix #6425
2026-03-15 15:25:54 +01:00
andzdroid
f123fb1e91
encoding/cbor: fix order-dependent partial unmarshals
2026-03-15 13:20:57 +00:00
gingerBill
2f8da5ec67
Add fixed capacity dynamic array to the doc-format
2026-03-15 11:55:04 +00:00
gingerBill
c6772dfd06
Merge branch 'master' into bill/fixed-capacity-dynamic-array
2026-03-15 11:41:01 +00:00
Barinzaya
e5c7ab0660
Add fmt field tags to core:container/small_array.Small_Array.
...
This enables fmt (and other packages that use it, like log) to format
Small_Arrays with only the used portion of the array.
2026-03-15 07:16:02 -04:00
Jeroen van Rijn
fcac43e08f
Merge pull request #6420 from mlgudi/fix-math-big-powmod-int-mul-high
...
Fix two bugs in `core:math/big` modular exponentiation
2026-03-15 11:26:28 +01:00
Jeroen van Rijn
f82fbc9405
-vet-tabs
2026-03-15 11:06:22 +01:00
Yawning Angel
9194b599ec
core/crypto/sha2: Add ARMv8 SHA256 acceleration
2026-03-15 18:44:29 +09:00
mlgudi
76da2c3233
mul_high: fix aliasing bug when dest overlaps input
2026-03-15 02:47:26 +00:00
mlgudi
84b38810f1
powmod: fix Montgomery branch calling Barrett implementation
2026-03-15 02:46:30 +00:00
gingerBill
59bc428782
Update core/odin/ast/ast.odin
...
Co-authored-by: Laytan <laytanlaats@hotmail.com >
2026-03-14 16:22:12 +00:00
gingerBill
7b0121756c
Update core/encoding/cbor/marshal.odin
...
Co-authored-by: Laytan <laytanlaats@hotmail.com >
2026-03-14 16:22:01 +00:00
gingerBill
ee667ec02b
Update core/reflect/reflect.odin
...
Co-authored-by: Laytan <laytanlaats@hotmail.com >
2026-03-14 16:21:38 +00:00
Yawning Angel
3a59e8c849
core/simd/arm: Add the SHA intrinsics
...
The SHA3 ones aren't in the developer.arm.com documentation.
2026-03-14 14:05:15 +09:00
Yawning Angel
adb2890d2b
core/simd/arm: Formating fixes (NFC)
2026-03-14 14:05:15 +09:00
gingerBill
411e85f02e
Fix copy-and-paste doc typo
2026-03-13 13:37:34 +00:00
Yawning Angel
3139b7e755
core/crypto/aes: Migrate to generic SIMD + HW AES
2026-03-13 22:01:16 +09:00
Yawning Angel
e09923f585
core/crypto/deoxysii: Migrate to generic SIMD + HW AES
2026-03-13 22:01:16 +09:00
Yawning Angel
df1a966100
core/crypto/aegis: Migrate to generic SIMD + HW AES
2026-03-13 22:01:16 +09:00
Yawning Angel
6aeed0e20e
core/crypto/_aes/hw: Initial import
2026-03-13 22:01:16 +09:00
Yawning Angel
48b1f3b830
core/simd/arm: Initial import
2026-03-13 21:00:42 +09:00
Yawning Angel
004a65e382
core/crypto/_aes/hw_intel: Remove a copy of zero_explicit
2026-03-13 21:00:42 +09:00
gingerBill
b5801ea5c1
Handle endianness for floats
2026-03-13 11:10:28 +00:00
gingerBill
987aa04d6c
Minor formatting improvements, and more use of or_return
2026-03-13 11:08:50 +00:00
Jeroen van Rijn
27667ce36b
iff -> if and only if (⟺)
2026-03-13 11:54:15 +01:00
gingerBill
fa72a38036
Add fixed capacity dynamic array stuff to core:reflect
2026-03-12 17:44:35 +00:00
gingerBill
6898cbe678
Replace usage of Small_Array(N; T) with [dynamic; N]T in core:nbio for posix systems
2026-03-12 16:46:51 +00:00
gingerBill
e485d82c9d
cbor support for fixed capacity dynamic arrays
2026-03-12 13:01:29 +00:00
Jeroen van Rijn
b0e88fbed4
Merge pull request #6398 from Faker-09/virtual_arena_overcommit_bug_5821
...
Fix for virtual arena overcommit bug #5821
2026-03-12 12:29:44 +01:00
Laytan Laats
273ab7e3bb
nbio: fix posix big send/recv wrongly check if done
2026-03-11 22:19:28 +01:00
gingerBill
4df2de057b
Add Type_Info_Fixed_Capacity_Dynamic_Array to json
2026-03-11 18:43:01 +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
gingerBill
461486ef6c
Fix comments which used /// instead of //
2026-03-11 13:41:27 +00:00