Woot! Just completed the first set of challenges from #cryptopals 😁
Just completed cryptopals set 1 challenge 4: detect single-character XOR in #ziglang. :D
Just solved "Search in Rotated Sorted Array" on Leetcode: https://leetcode.com/problems/search-in-rotated-sorted-array/submissions/
It was interesting to solve it in `O(log n)` time, as I had to use a binary search to find the pivot, instead a specific value. I love problems that take an old tool and use it in a new way.
Forks & pull requests versus emails
Silly but fun demo of self-hosted Zig progress:
It compiles a zig source file with 1,000,000 calls to print("hello world") in 0.67 seconds using 471 MiB resident memory. This is 8x as fast as clang on equivalent C code and 3x less memory.
Video by @firstname.lastname@example.org
@sir It's a couple of craftsmanships (design, implementation, probably something else). So you can make science of it (e.g. what goes fast for what kind of problem etc.), you can use it to create art (just like painting a craft, but the way you do it makes it art) so it may be subject to both, one, or none. But I'd not say it *is* one or the other.
Jitsi Meet: How many video participants in a single conference room can a self hosted server support? Didn't find a good answer so I tried it out myself:
Landmark computer science proof cascades through physics and math https://www.quantamagazine.org/landmark-computer-science-proof-cascades-through-physics-and-math-20200304/