uiua
adventofcode
uiua | adventofcode | |
---|---|---|
9 | 8 | |
1,384 | 2 | |
4.7% | - | |
10.0 | 9.4 | |
3 days ago | 7 days ago | |
Rust | C | |
MIT License | MIT License |
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.
uiua
- Borrow Checking, RC, GC, and the Eleven () Other Memory Safety Approaches
-
Array Languages vs. the Curse of the Spreadsheet
This is what I love in Uiua[1]. That operators can be written as english words instead of unicode symbols. Makes it quite similar looking to functuinal point free code.
[1]: https://www.uiua.org/
- KamilaLisp – A functional, flexible and concise Lisp
-
k on pdp11
you may also enjoy uiua (https://www.uiua.org/) which uses these alien glyphs but is even more alien because it's a concatenative language (stack oriented), like forth or postscript, but to make it even more alien it's written right to left. For example 1+2 is written "+ 1 2" (in forth it would be "1 2 +")
The language and the site are brilliant and I think worth 30m of your time skimming through and trying out the examples in the online editor / tutorial.
-
-❄️- 2023 Day 11 Solutions -❄️-
From https://www.uiua.org/
-
Attempting each AOC in a language starting with each letter of the alphabet
If you're fine with tacit array-oriented (ie APL-like): Uiua.
-
Vector database is not a separate database category
As a lover of array languages, I remember being excited to read a futurist article on vector processors and programming languages. It was written right before Wes McKinney worked on Pandas (the J programming language influenced him), and I thought J/APL or another array language was going to explode. J has Jd, in which J is fully integrated. This did not come to pass (yet). No matter, I still enjoy array languages anyway. There's a new array language, uiua[1], that is a mix of array and stack concepts with a good standard library including audio and graphics.
[1] https://www.uiua.org/
-
Uiua: A minimal stack-based, array-based language
Yeah
> The main language that inspired Uiua is BQN. While I had heard about APL before, BQN was my first real exposure to the power of the array paradigm. I think the language is an astounding feat of engineering. Marshall is both a genius and a great communicator.
https://www.uiua.org/docs/design
Also, a week ago there were only two contributors to the project: 1000+ by kaikalii, and this single commit by Marshall:
https://github.com/uiua-lang/uiua/pull/1/files
adventofcode
-
An O(n) algorithm for day 11
https://github.com/ednl/adventofcode/blob/main/2023/11.c https://github.com/ednl/adventofcode/blob/main/2023/11alt.c
- -❄️- 2023 Day 11 Solutions -❄️-
-
[2023 Day 8 (Part 2)][GLSL] Brute forced in under a minute on a GPU
First estimate of the lower bound on a single-threaded CPU solution with a ten year old computer is about 10 hours, or 26 hours on a Raspberry Pi 4, ha ha. github
-
-❄️- 2023 Day 8 Solutions -❄️-
Aww, Eric was too kind to us and made sure that we didn't have to detect loops! With some nifty optimisations, my whole program runs in 2.5 ms on a Raspberry Pi 4. Code with lots of comments: https://github.com/ednl/adventofcode/blob/main/2023/08.c My walk function:
-
-❄️- 2023 Day 7 Solutions -❄️-
Complete code with lots of comments: https://github.com/ednl/adventofcode/blob/main/2023/07.c
-
-❄️- 2023 Day 6 Solutions -❄️-
I solved the quadratic equation and that makes the whole program run in 1.2 ms on a Raspberry Pi 4. But simply trying every possible button time isn't much slower: also took milliseconds, shrug. Here is my very verbose function to solve per race. The sq < 0 test was not necessary for the example or my input. Complete code: https://github.com/ednl/adventofcode/blob/main/2023/06.c
-
-❄️- 2023 Day 4 Solutions -❄️-
C has no intersection operation, so I sorted the numbers and counted the matches "manually". Only kept an array for the number of card copies and could do the rest while reading the input. Runs in 3.2 ms on an old 2013 iMac, 3.9 ms on a Raspberry Pi 4 (cpu governor = performance). Short code, only one separate function for sorting: https://github.com/ednl/adventofcode/blob/main/2023/04.c
What are some alternatives?
bqnpad - Online REPL for BQN
aoc2023 - Advent of code 2023
BQN - An APL-like programming language. Self-hosted!
aoc2023 - Advent of Code 2023 (Mojo)
related_post_gen - Data Processing benchmark featuring Rust, Go, Swift, Zig, Julia etc.
aoc2023 - Advent of code 2023 solutions
edina - Edina - A simple stack-oriented compiled programming language.
advent_of_code - My Advent of Code solutions in Python 3
cognate - A human readable quasi-concatenative programming language
advent_of_code - Advent of Code attempts
kotlingrad - 🧩 Shape-Safe Symbolic Differentiation with Algebraic Data Types
aoc2023-rs - Advent Of Code 2023 solutions in rust