Advent_of_Code_in_Pascal
My solutions to the Advent of Code, in Free Pascal (by mikewarot)
aoc-2020
Advent of Code 2020 (by aldanor)
Our great sponsors
Advent_of_Code_in_Pascal | aoc-2020 | |
---|---|---|
23 | 5 | |
8 | 3 | |
- | - | |
0.0 | 1.8 | |
over 1 year ago | over 3 years ago | |
Pascal | Rust | |
- | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
Advent_of_Code_in_Pascal
Posts with mentions or reviews of Advent_of_Code_in_Pascal.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-30.
-
Advent of Code 2022
I'm doing it in Lazarus/Free Pascal again.
https://github.com/mikewarot/Advent_of_Code_in_Pascal
-
-🎄- 2021 Day 22 Solutions -🎄-
Free Pascal - 2251/1744 34.5 seconds runtime No objects, no recursion After brute forcing part 1, I stared at part 2 until I though only handling the different values of X,Y,Z and letting the grid represent variable size cubes.. only to hit memory size limits anyway... and then I learned how to use BITPACKED array, and was able to eventually brute force part 2. Whew!
-
-🎄- 2021 Day 21 Solutions -🎄-
Pascal 2235/4609
-
-🎄- 2021 Day 18 Solutions -🎄-
Pascal - Github
-
-🎄- 2021 Day 16 Solutions -🎄-
Pascal 7079/6330 - github
-
-🎄- 2021 Day 15 Solutions -🎄-
Github - https://github.com/mikewarot/Advent_of_Code_in_Pascal/blob/master/2021/advent2021_15b.lpr
-
day 13 result issue, someone can help?
My pascal based solver eventually got valid text out of your input.
- -🎄- 2021 Day 13 Solutions -🎄-
-
-🎄- 2021 Day 9 Solutions -🎄-
Pascal 2437/6187
-
-🎄- 2021 Day 8 Solutions -🎄-
Pascal 3590/5744
aoc-2020
Posts with mentions or reviews of aoc-2020.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2020-12-26.
-
Now what? (350 stars)
I've tried it a few times and solutions were surprisingly elegant! E.g., 2020-01-p2.
-
[2020] Optimized solutions in C++ (291 ms total)
Figured I'd post my benches as well, see below. Everything done in Rust (link to source).
-
-🎄- 2020 Day 24 Solutions -🎄-
Here's my day 24 in Rust, using SIMD as usual :) (and offset coordinate encoding to make a SIMD-friendly 2-D cell grid)
-
-🎄- 2020 Day 22 Solutions -🎄-
Borrowed both ideas in my version :) On my input your version runs at 3ms, mine in 1.5ms, so it might be faster on some inputs (link). I initially started with something similar to yours but then figured why not use 512-bit ints, so that the notion of 'head' and 'tail' disappears as your head then stays at position 0 (so, e.g., to remove a card, you just right-shift the whole bigint). Also used a tiny bit of simd along the way.
What are some alternatives?
When comparing Advent_of_Code_in_Pascal and aoc-2020 you can also consider the following projects:
mORMot2 - OpenSource RESTful ORM/SOA/MVC Framework for Delphi and FreePascal
advent-of-code-go - All 8 years of adventofcode.com solutions in Go/Golang; 2015 2016 2017 2018 2019 2020 2021 2022
aoc2020 - Advent of Code 2020 - my answers
hac - HAC Ada Compiler - a small, quick Ada compiler fully in Ada
advent-of-code - My solutions for Advent of Code
aoc-2020 - My solutions for https://adventofcode.com
advent-of-code-2020 - 🎅🌟❄️☃️🎄🎁
AdventOfCode-Java - adventOfCode(Language.JAVA);
Advent-of-Code - Advent of Code
advent-of-code-2020 - Answers and solutions for Advent of Code 2020.
hashbrown - Rust port of Google's SwissTable hash map
Advent_of_Code_in_Pascal vs mORMot2
aoc-2020 vs advent-of-code-go
Advent_of_Code_in_Pascal vs aoc2020
aoc-2020 vs hac
Advent_of_Code_in_Pascal vs advent-of-code
aoc-2020 vs aoc-2020
Advent_of_Code_in_Pascal vs advent-of-code-2020
aoc-2020 vs AdventOfCode-Java
Advent_of_Code_in_Pascal vs Advent-of-Code
aoc-2020 vs advent-of-code-2020
Advent_of_Code_in_Pascal vs advent-of-code-2020
aoc-2020 vs hashbrown