AdventOfCode-Day5-SupplyStacks
swift
AdventOfCode-Day5-SupplyStacks | swift | |
---|---|---|
1 | 220 | |
0 | 66,270 | |
- | 0.5% | |
10.0 | 10.0 | |
over 1 year ago | 7 days ago | |
C# | C++ | |
- | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
AdventOfCode-Day5-SupplyStacks
-
-🎄- 2022 Day 5 Solutions -🎄-
C# solution using Stacks, nothing fancy :) https://github.com/hariharansubramanian/AdventOfCode-Day5-SupplyStacks/blob/master/Program.cs
swift
-
Apple didn't fix Swift's biggest flaw
Yes, I've never written a line of Swift, but these cases don't seem to be of the usual variety that cause Hindley-Milner to blow up. It seems like the Swift compiler source is available, and these test cases are small. This is encouragement for someone to spend a small amount of time digging into this, just for the curiosity of it. I'll give you my next upvote on HN when you write up your results.
https://static.aminer.org/pdf/20170130/pdfs/popl/o8rbwxmj6h2...
https://github.com/apple/swift
-
Optimizing 128-bit Division (2020)
Lenore’s approach uses rejection sampling, which translates to needing an uncertain amount of input — a uint128 may or may not be enough.
But there is one related algorithm that doesn’t: https://github.com/apple/swift/pull/39143. This method only requires (output word size + 64) bits, which is really convenient for us since we probably don’t have 2^64 buckets.
With this method the output value will be very not-scrambled relative to the high bits of the hash. Now whether that’s a problem is… someone else’s question.
-
Swift's native Clocks are inefficient
https://github.com/apple/swift/pull/73429
-
Evolving the Go Standard Library with math/rand/v2
This algorithm produces biased result with probability 1/2^(32-bitwidth(N)). Using 64 or 128 random bits can make the bias practically undetectable. Comprehensive overview of the approach can be found here: https://github.com/apple/swift/pull/39143
- Swift: Differentiable Programming Manifesto
-
Embedded Swift on the Raspberry Pi Pico
Because of C/C++ interop, and integration with CMake, you can just add Swift to a Zephyr project and it pretty much Just Works. [The docs](https://github.com/apple/swift/blob/main/docs/EmbeddedSwift/...) should mostly apply to the Zephyr SDK as well.
-
A Deep Dive Into Observation: A New Way to Boost SwiftUI Performance
Fortunately, the Observation framework is part of the Swift 5.9 standard library. We can learn more information by examining its source code.
-
Swift was always going to be part of the OS
They do! See https://github.com/apple/swift/blob/main/docs/LibraryEvoluti...
You can also see an example of what a different high level language integration with Swift ABI looks like here: https://github.com/dotnet/designs/blob/main/proposed/swift-i...
-
Differentiable Swift
So is differentiable Swift a package for Swift or is it part of the Swift standard library? The video says go to swift.org but I can't find any info about differentiable Swift on that site.
-
Beyond Backpropagation - Higher Order, Forward and Reverse-mode Automatic Differentiation for Tensorken
Swift's Differentiable Programming Manifesto. Swift has a powerful differentiable programming component, integrated with the compiler.
What are some alternatives?
AoC2020 - Advent Of Code, yearly puzzle extravaganza in the days leading up to Christmas.
solidity - Solidity, the Smart Contract Programming Language
adventofcode - Answers to Advent of Code
cpp-lazy - C++11/14/17/20 library for lazy evaluation
advent-of-code-wim - Wim's solutions for https://adventofcode.com/ puzzles
Elixir - Elixir is a dynamic, functional language for building scalable and maintainable applications
adventofcode - :christmas_tree: Advent of Code (2015-2023) in C#
tree-sitter - An incremental parsing system for programming tools
hummingbird - Hummingbird compiles trained ML models into tensor computation for faster inference.
lobster - The Lobster Programming Language
swift-evolution - This maintains proposals for changes and user-visible enhancements to the Swift Programming Language.
mimalloc - mimalloc is a compact general purpose allocator with excellent performance.