PeachPy
quine-relay
Our great sponsors
PeachPy | quine-relay | |
---|---|---|
4 | 49 | |
1,946 | 13,756 | |
- | - | |
0.0 | 6.4 | |
7 months ago | 2 months ago | |
Python | Ruby | |
BSD 3-clause "New" or "Revised" 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.
PeachPy
- Portable Efficient Assembly Code-Generator in Higher-Level Python (PeachPy)
-
SIMD in Pure Python
This is a nice exercise!
There is also a very different “write SIMD assembly in Python” approach available through the PeachPy library, one of the least known gems between Python and HPC worlds: https://github.com/Maratyszcza/PeachPy
This is what a dot-product would look like in PeachPy: https://unum-cloud.github.io/usearch/python/index.html#id4
PS: Cppyy and Numba are also fun to use in such projects :)
-
Hey guys, have any of you tried creating your own language using Python? I'm interested in giving it a shot and was wondering if anyone has any tips or resources to recommend. Thanks in advance!
It's not super maintained but you might enjoy building something with ppci, Pure Python Compiler Infrastructure. It has some front-ends and some back-ends. There's also PeachPy for an assembler. People like using Lark for parsing, I hear.
-
damnn....i want this level of expertise
pip install --upgrade git+https://github.com/Maratyszcza/PeachPy
quine-relay
- Quine Relay: An uroboros program with 100 programming languages
- Quine Relay – An uroboros program with 100 programming languages
-
Radiation-hardened Quine: A quine that works after any one character is deleted
If there were more languages, then it'd be `console.log("System.out.println({python_source})")`, etc. The problem then becomes quoting and escaping inner quotes. I managed to avoid the problem by using both single and double quotes, and relying on Python's `repr` also giving valid JS strings, but if I had to add one more language I'd have problems.
I still think the Quine Relay is a tour de force, but for different reasons. It's not 128 quines in different languages, but an incredibly robust system for quoting and escaping strings in 128 different languages.
[1] https://github.com/mame/quine-relay/blob/master/src/code-gen...
-
JavaScript forbidden practices. Part 4: self-documenting code
One of the most impressive works I've seen: https://github.com/mame/quine-relay
-
High Te/Ti users, explain to me a fact (scientific/business/practical...) in stupid terms.
"Quine" is a type of program, when executed, will output itself (it's actually it's source code). It's very hard to write one. And this guy wrote a loop quine. It supposed to work like this: * A program in language A output a program in language B * The program in language B output a program in language C * The program in language C output the same program in language A which we started with
-
What do you do to achieve this catastrophy?
Or a Quine relay.
-
It’s worse on mondays for some reason…
Why use a couple of languages, when you can use 128 of them simultaneously? https://github.com/mame/quine-relay
- 😈
-
Weird Ones: 30 years of Brainfuck
Quine relay [1] is to this day the most "I will never understand this" brainfuck project I have ever seen.
[1] https://github.com/mame/quine-relay
-
AI Artist
Go look at a programming quine and tell me it isn't art.
What are some alternatives?
Cython - The most widely used Python to C compiler
WLED - Control WS2812B and many more types of digital RGB LEDs with an ESP8266 or ESP32 over WiFi!
PyPy
ox - An independent Rust text editor that runs in your terminal!
Pyston - A faster and highly-compatible implementation of the Python programming language.
chinese-poetry - The most comprehensive database of Chinese poetry 🧶最全中华古诗词数据库, 唐宋两朝近一万四千古诗人, 接近5.5万首唐诗加26万宋诗. 两宋时期1564位词人,21050首词。
Pyjion
Deep Java Library (DJL) - An Engine-Agnostic Deep Learning Framework in Java
Stackless Python
cp-ddd-framework - 轻量级DDD正向/逆向业务建模框架,支撑复杂业务系统的架构演化!
fasmg - flat assembler g - adaptable assembly engine
OpenCorePkg - OpenCore bootloader