zig/lib/std
Frank Denis ee4df4ad3e
crypto - threaded K12: separate context computation from thread spawning (#25793)
* threaded K12: separate context computation from thread spawning

Compute all contexts and store them in a pre-allocated array,
then spawn threads using the pre-computed contexts.

This ensures each context is fully materialized in memory with the
correct values before any thread tries to access it.

* kt128: unroll the permutation rounds only twice

This appears to deliver the best performance thanks to improved cache
utilization, and it’s consistent with what we already do for SHA3.
2025-11-03 17:09:00 +01:00
..
Build Merge pull request #25558 from jacobly0/elfv2-load-obj 2025-10-30 12:09:13 -04:00
builtin feat: init x86_16 arch via CBE 2025-10-27 11:19:51 +01:00
c remove all Oracle Solaris support 2025-10-27 07:35:38 -07:00
compress add deflate compression, simplify decompression 2025-09-30 18:28:47 -07:00
crypto crypto - threaded K12: separate context computation from thread spawning (#25793) 2025-11-03 17:09:00 +01:00
debug fix typo in std.debug.ElfFile.loadSeparateDebugFile 2025-10-31 09:44:47 +01:00
dwarf fix compiler ftbfs from std.macho and std.dwarf changes 2025-09-30 13:44:51 +01:00
fmt
fs std.Io.Threaded: add ioBasic which disables networking 2025-10-29 06:20:51 -07:00
hash Remove usages of deprecatedWriter 2025-09-18 22:39:33 -07:00
heap std: fix compilation errors on Windows 2025-10-29 06:20:50 -07:00
http Revert "std.http: disable failing test on 32-bit arm" 2025-11-01 11:21:28 -04:00
Io std: serenity has preadv now 2025-11-02 14:45:32 -08:00
json std.debug.lockStderrWriter: also return ttyconf 2025-10-30 09:31:28 +00:00
math Coff: implement threadlocal variables 2025-10-10 22:47:47 -07:00
mem std.mem.Allocator: fix resize doc comment 2025-10-22 11:41:16 +02:00
meta
os std.os.windows: eliminate forwarder function in kernel32 (#25766) 2025-10-31 13:54:50 +00:00
posix std: make signal numbers into an enum 2025-10-29 06:20:51 -07:00
process std.Io.Threaded: add ioBasic which disables networking 2025-10-29 06:20:51 -07:00
Random Remove usages of deprecatedWriter 2025-09-18 22:39:33 -07:00
sort std.sort.pdq: fix out-of-bounds access in partialInsertionSort (#25253) 2025-09-17 19:54:15 -07:00
tar compiler: update for introduction of std.Io 2025-10-29 06:20:49 -07:00
Target Merge pull request #25558 from jacobly0/elfv2-load-obj 2025-10-30 12:09:13 -04:00
testing fix compile errors and minor bugs 2025-09-30 13:44:54 +01:00
Thread std.os.windows: eliminate forwarder function in kernel32 (#25766) 2025-10-31 13:54:50 +00:00
time
tz
unicode Remove usages of deprecatedWriter 2025-09-18 22:39:33 -07:00
valgrind
zig Merge pull request #25558 from jacobly0/elfv2-load-obj 2025-10-30 12:09:13 -04:00
zon coerce vectors to arrays rather than inline for 2025-09-20 18:33:00 -07:00
array_hash_map.zig Coff2: create a new linker from scratch 2025-10-02 17:44:52 -04:00
array_list.zig std.ArrayList: swapRemove set removed element to undefined (#25514) 2025-10-11 19:04:32 -07:00
ascii.zig std: Skip element comparisons if mem.order args point to same memory 2025-10-31 18:34:33 -07:00
atomic.zig std.atomic: define cache line size for alpha, hppa, microblaze, sh 2025-10-23 09:27:17 +02:00
base64.zig std.Io: delete GenericWriter 2025-08-28 18:30:57 -07:00
bit_set.zig
BitStack.zig std.ArrayList: make unmanaged the default 2025-08-11 15:52:49 -07:00
buf_map.zig
buf_set.zig
Build.zig std.debug.lockStderrWriter: also return ttyconf 2025-10-30 09:31:28 +00:00
builtin.zig Merge pull request #25592 from ziglang/init-std.Io 2025-10-29 13:51:37 -07:00
c.zig std.c: add missing MINSIGSTKSZ for some FreeBSD targets 2025-11-01 09:58:05 +01:00
coff.zig Coff: implement threadlocal variables 2025-10-10 22:47:47 -07:00
compress.zig
crypto.zig std.crypto: add AES-CCM and CBC-MAC (#25526) 2025-10-14 12:00:44 +02:00
debug.zig std.os.windows: eliminate forwarder function in kernel32 (#25766) 2025-10-31 13:54:50 +00:00
deque.zig std: remove loop from growCapacity 2025-09-20 14:34:18 -07:00
DoublyLinkedList.zig *LinkedList.remove() assumes node is in the list 2025-10-25 21:10:02 -07:00
dwarf.zig
dynamic_library.zig std: fix seekBy unit test 2025-10-29 06:20:49 -07:00
elf.zig Elf2: load relocations from input objects 2025-10-29 18:06:17 -04:00
enums.zig
fmt.zig std.fmt: migrate bufPrintZ to bufPrintSentinel (#25260) 2025-09-19 05:02:22 +00:00
fs.zig std.Io.Threaded: add ioBasic which disables networking 2025-10-29 06:20:51 -07:00
gpu.zig
hash.zig
hash_map.zig std.hash_map: tune slow unit tests 2025-10-29 06:20:52 -07:00
heap.zig remove all Oracle Solaris support 2025-10-27 07:35:38 -07:00
http.zig http.BodyWriter: improve clarity of chunked state machine 2025-08-17 14:42:57 +02:00
Io.zig Io: fix some horrible data races and UAFs caused by Condition misuse 2025-10-30 16:53:05 -04:00
json.zig std.Io: delete GenericReader 2025-08-29 17:14:26 -07:00
leb128.zig std.Io: delete GenericReader 2025-08-29 17:14:26 -07:00
log.zig std.log: colorize output in default implementation 2025-10-30 09:31:30 +00:00
macho.zig std: fixes 2025-09-30 13:44:51 +01:00
math.zig std: skip some failing tests on hexagon 2025-08-30 06:36:41 +02:00
mem.zig std: Skip element comparisons if mem.order args point to same memory 2025-10-31 18:34:33 -07:00
meta.zig std: disable a few failing tests on hexagon 2025-10-16 22:11:51 +02:00
multi_array_list.zig std: remove loop from growCapacity 2025-09-20 14:34:18 -07:00
once.zig
os.zig std.fs: use BadPathName rather than InvalidWtf8 on Windows 2025-10-29 06:20:50 -07:00
pdb.zig std.Io: delete GenericReader 2025-08-29 17:14:26 -07:00
pie.zig std.pie: add sh support 2025-10-23 09:27:17 +02:00
posix.zig std: serenity has preadv now 2025-11-02 14:45:32 -08:00
priority_dequeue.zig std.ArrayList: make unmanaged the default 2025-08-11 15:52:49 -07:00
priority_queue.zig
process.zig remove all Oracle Solaris support 2025-10-27 07:35:38 -07:00
Progress.zig std: make signal numbers into an enum 2025-10-29 06:20:51 -07:00
Random.zig std.Io.net: progress towards DNS resolution 2025-10-29 06:20:48 -07:00
SemanticVersion.zig std.Io: delete GenericReader 2025-08-29 17:14:26 -07:00
simd.zig std: disable a few failing tests on hexagon 2025-10-16 22:11:51 +02:00
SinglyLinkedList.zig SinglyLinkedList.remove docs: Assumes -> asserts 2025-10-25 21:28:54 -07:00
sort.zig
start.zig Elf2: start implementing dynamic linking 2025-10-29 18:15:09 -04:00
static_string_map.zig
std.zig std.Io.Threaded: install and cleanup signal handlers 2025-10-29 06:20:52 -07:00
tar.zig std.Io: add dirOpenDir and WASI impl 2025-10-29 06:20:50 -07:00
Target.zig std.Target: bump vulkan max version to 1.4.331 2025-10-31 15:46:44 +01:00
testing.zig std.debug.lockStderrWriter: also return ttyconf 2025-10-30 09:31:28 +00:00
Thread.zig std.os.windows: eliminate forwarder function in kernel32 (#25766) 2025-10-31 13:54:50 +00:00
time.zig std: fix some Io compilation errors 2025-10-29 06:20:49 -07:00
treap.zig std.ArrayList: make unmanaged the default 2025-08-11 15:52:49 -07:00
tz.zig std.tz: fix redundant endian handling 2025-08-28 18:30:57 -07:00
unicode.zig std: move some windows path checking logic 2025-10-29 06:20:50 -07:00
Uri.zig compiler: update for introduction of std.Io 2025-10-29 06:20:49 -07:00
valgrind.zig
wasm.zig
zig.zig std.debug.lockStderrWriter: also return ttyconf 2025-10-30 09:31:28 +00:00
zip.zig std.Io: delete GenericReader 2025-08-29 17:14:26 -07:00
zon.zig zon: Add anonymous struct literal in the example 2025-08-15 23:35:16 +02:00