Co-dfns/Co-dfns
View on GitHub ↗ ★ 800 APL
High-performance, Reliable, and Parallel APL
62 mentions on Hacker News by 37 people: 6 stories, 56 comments · first 2016-07-02 · latest 2026-05-24
20082026
-
…[1]: https://github.com/Co-dfns/MicroUI-APL [2]: https://github.com/Dyalog/ewc [3]: https://github.com/Co-dfns/Co-dfns [4]: https://github.com/Dyalog/Jarvis/blob/master/Source/Jarvis.d... > As you can see, the famous prime generator is not…
comment by xelxebar · 2026-05-24 · in Mastering Dyalog APL -
…contact info on my profile here. [0]: https://github.com/xelxebar/dayaml/blob/master/Y.apln . [1]: https://github.com/Co-dfns/Co-dfns
comment by xelxebar · 2025-11-17 · in Array-programming the Mandelbrot set -
…[2]: https://github.com/Dyalog/HttpCommand/blob/master/source/Htt... [3]: https://github.com/Co-dfns/Co-dfns/blob/master/cmp/PS.apl
comment by xelxebar · 2025-06-06 · in APL Interpreter – An implementation of APL, written in Haskell (2024) -
▲ 5
Co-dfns: High-performance, reliable, and parallel APLstory by fanf2 · 2025-05-04 · 0 comments
-
…Iversonian languages provide architectural expressability and iterability _par excellence_. [0]: https://github.com/Co-dfns/Co-dfns/tree/master
comment by xelxebar · 2025-04-25 · in Notation as a Tool of Thought (1979) -
…comment on much, unfortunately. Et hoc genus omne [0]: https://github.com/xelxebar/dayaml [1]: https://github.com/Co-dfns/Co-dfns
comment by xelxebar · 2025-04-19 · in System Design of a Cellular APL Computer -
…me personally if you have any questions. Address is in my HN profile. [0]: https://dyalog.com/ [1]: https://github.com/Co-dfns/Co-dfns
comment by xelxebar · 2025-03-21 · in Ask HN: Should I learn COBOL at 14yo in 2025? -
Huh. This is the commit that introduces the register model: https://github.com/Co-dfns/Co-dfns/commit/f89919144f22441f21... In the compiler, it's working with dense adjacency matrix representations, so this will be at best O(n^2) in…
comment by mlochbaum · 2024-07-10 · in Co-Dfns v5.7.0 -
▲ 39
Co-Dfns v5.7.0story by Tomte · 2024-07-10 · 7 comments
-
…Co-dfns from Aaron Hsu, an APL compiler capable of running on the GPU (pointless as that may be): https://github.com/Co-dfns/Co-dfns/tree/master ; and a 284-page dissertation: https://scholarworks.iu.edu/dspace/items/3ab772c9-92c9-4f59-...…
comment by dzaima · 2024-06-13 · in Scan HTML faster with SIMD instructions – Chrome edition -
…programming, have a look at Aaron's Co-dfns compiler. The README has extensive reference material. https://github.com/Co-dfns/Co-dfns/
comment by adityaathalye · 2024-02-25 · in Tacit programming -
…write the reusable abstraction than it would to just replace the idiomatic code in every place. [0] https://github.com/Co-dfns/Co-dfns [1] https://news.ycombinator.com/item?id=13571159
comment by refset · 2024-01-13 · in Thinking in an array language (2022) -
…this in an hour or so. But a lot of APLers don't have experience with the patterns used here. [0] https://github.com/Co-dfns/Co-dfns [1] https://github.com/mlochbaum/BQN/blob/master/src/c.bqn [2] https://github.com/mlochbaum/Singeli/blob/ma…
comment by mlochbaum · 2024-01-09 · in YAML Parser for Dyalog APL -
…it seems it is rather easy to knock up a CL DSL. If only there were more hours in a day. [0] https://github.com/Co-dfns/Co-dfns
comment by anonzzzies · 2023-10-08 · in HVM updates: simplifications, finally runs on GPUs, 80x speedup on RTX 4090 -
▲ 2
Co-Dfnsstory by whereistimbo · 2023-04-01 · 0 comments
-
…even object-oriented style. However, given the aesthetic that you express, I think you might like https://github.com/Co-dfns/Co-dfns/ . This is hands-down my favorite kind of APL, in which the data flow literally follows the linear code…
comment by xelxebar · 2023-03-30 · in APL: An Array Oriented Programming Language (2018) -
…for instance, possibly with other backends. I imagine an XLA backend could be possible there. [1] https://github.com/Co-dfns/Co-dfns
comment by pmikkelsen · 2022-11-30 · in APL9 from Outer Space -
And co-dfns: https://github.com/Co-dfns/Co-dfns (subset of APL compiled for GPU).
comment by hoosieree · 2022-10-16 · in Researchers Develop Transistor-Free Compute-in-Memory Architecture -
…just default to immutability. Did I fail to understand something in J when I had the chance? [0] https://github.com/Co-dfns/Co-dfns [1] https://github.com/mlochbaum/BQN/blob/master/src/c.bqn [2] https://mlochbaum.github.io/BQN/implementatio…
comment by mlochbaum · 2022-04-01 · in Why APL is worth knowing -
…Futhark[0] is close to that, no? Or what about Co-DFNS[1]? [0]: https://futhark-lang.org/ [1]: https://github.com/Co-dfns/Co-dfns
comment by servytor · 2021-12-16 · in Awkward: Nested, jagged, differentiable, mixed type, GPU-enabled, JIT'd NumPy -
…+ what the compiler is doing). He explains it very well - it's quite easy to follow along. [0] https://github.com/Co-dfns/Co-dfns [1] https://www.youtube.com/watch?v=gcUWTa16Jc0
comment by Nadya · 2021-07-14 · in Jelly: a recreational programming language inspired by J -
…save computation time by compiling" refer to using an array language that is compiled? [Co-dfns]( https://github.com/co-dfns/co-dfns ) compiles a dialect of APL, so that might be interesting to you.
comment by RojerGS · 2021-07-08 · in Let's build a simple interpreter for APL, part 2 (2020) -
…from array languages like APL, for example this project for running this kind of stuff on GPUs: https://github.com/Co-dfns/Co-dfns And, I've seen it in Rust as a "workaround" for the borrow checker, where that framing tends to make it feel…
comment by Rusky · 2021-06-05 · in Zig 0.8.0 Release Notes -
…Aaron Hsu's work on co-dfns, which is a compiler that compiles a subset of Dyalog APL to the GPU. https://github.com/Co-dfns/Co-dfns
comment by icen · 2021-06-04 · in From Competitive Programming to APL -
…funny to see the Perl comparison when APL-family languages normally have code that looks like that: https://github.com/Co-dfns/Co-dfns/tree/master/cmp
comment by userbinator · 2021-02-15 · in Obfuscated Tiny C Compiler -
Actually, it seems that compilers is a domain that APL can potentially excel at.. https://github.com/Co-dfns/Co-dfns
comment by vchak1 · 2020-08-17 · in A look at the J language: the fine line between genius and insanity (2012) -
…similar to what GPUs are good at (advanced stuff such as LTO is a different story, though). [1]: https://github.com/Co-dfns/Co-dfns
comment by raphlinus · 2020-07-10 · in Ryzen Threadripper Pro 3995WX Spotted -
How about co-dfns? CUDA accelerated APL! https://github.com/Co-dfns/Co-dfns
comment by smabie · 2020-06-17 · in Functional Programming for Array-Based Parallelism -
…(It's a little market-ey, dig around for the meat. Graph DB in Prolog & Rust, "git for data", etc.) https://github.com/Co-dfns/Co-dfns edit: Ah it's you agumonkey (I don't check usernames before replying.) Apologies if I sound like a…
comment by carapace · 2020-05-05 · in Advanced Programming Languages (2009) -
…Agent: mblaze[0] Browser: lynx and qutebrowser [0]: https://github.com/leahneukirchen/mblaze [1]: https://github.com/Co-dfns/Co-dfns
comment by xelxebar · 2020-04-02 · in Ask HN: Who wants to be hired? (April 2020) -
…Agent: mblaze[0] Browser: lynx and qutebrowser [0]: https://github.com/leahneukirchen/mblaze [1]: https://github.com/Co-dfns/Co-dfns
comment by xelxebar · 2020-03-24 · in Ask HN: Who wants to be hired right now? -
…should end with something like, "...and then you find out about arcfide's Co-dfns compiler..." https://github.com/Co-dfns/Co-dfns You don't have to like it, but the existence of K, et. al. shows that most of us are wasting a huge amount of…
comment by carapace · 2020-03-09 · in Stages of denial in encountering K -
…Aaron Hsu's co-dfns compiler (optimizing compiler for a subset of APL to the GPU) is 3 screens https://github.com/Co-dfns/Co-dfns/tree/master/cmp (I can fit the entire codebase on my three monitors). This K text editor is way less than one…
comment by PeCaN · 2020-03-09 · in Stages of denial in encountering K -
Mmm... I'm not convinced. What about arcfide's Co-dfns compiler? https://github.com/Co-dfns/Co-dfns It kinda counts as homoiconic, eh?
comment by carapace · 2020-01-26 · in Grammars for Programming Languages (2018) -
…have any competitors (with e.g. easier syntax.) Are you familiar with arcfide's Co-dfns compiler? https://github.com/Co-dfns/Co-dfns I ask because it might serve as a counter-example of a "killer app" that relies on the concision of the…
comment by carapace · 2020-01-21 · in Grammars for Programming Languages (2018) -
▲ 3
Co-Dfns: High-Performance, Reliable, and Parallel APLstory by tosh · 2019-12-16 · 0 comments
-
…[1]: This is a single-file compiler. The logic is just the upper weird-symbol-laden part: https://github.com/Co-dfns/Co-dfns/blob/master/codfns.dyalog
comment by namibj · 2019-12-14 · in Neo.mjs – Webworker-driven UI framework -
…efficient compilation on a GPU using extensive tree-oriented "nanopass" transformations [1]. [0] https://github.com/Co-dfns/Co-dfns [1] https://dyalog.tv/Dyalog18/?v=hzPd3umu78g
comment by refset · 2019-12-02 · in Bryan Cantrill interviews Arthur Whitney (2009) -
Yes. https://github.com/Co-dfns/Co-dfns can target GPU.
comment by lelf · 2019-11-21 · in A History of APL in Fifty Functions (2016) -
Oh, and yes, a few times I did in fact explore programming in Word as well. Just as an example: https://github.com/Co-dfns/Co-dfns/tree/13e2624d6f5897a0f0c9... I did also explore more traditional approaches, of course, but I have spent a…
comment by arcfide · 2019-09-23 · in Going Fast Slowly -
…there was so much churning there. The actual compiler proper as it stands right now is found here: https://github.com/Co-dfns/Co-dfns/blob/master/cmp/e.cd The documentation for those 17 lines of code are in a hopefully soon to be published…
comment by arcfide · 2019-09-23 · in Going Fast Slowly -
Looks plenty dense to me: https://github.com/Co-dfns/Co-dfns/blob/master/cmp/a.cd
comment by jacquesm · 2019-09-18 · in Going Fast Slowly -
…to the certification of the code, rather than executable code. So, definitely not very dense. https://github.com/Co-dfns/Co-dfns/commit/78d0e38f8ba2e1de9f...
comment by jeremyjh · 2019-09-18 · in Going Fast Slowly -
Is this [1] the code he speaks of? [1] https://github.com/Co-dfns/Co-dfns/tree/master/cmp
comment by kardos · 2019-09-18 · in Going Fast Slowly -
https://github.com/Co-dfns/Co-dfns
comment by vedantroy · 2019-06-16 · in Comparing the Same Project in Rust, Haskell, C++, Python, Scala and OCaml -
…which is the traditional domain of Lisp and functional programming languages like Haskell. https://github.com/Co-dfns/Co-dfns https://news.ycombinator.com/item?id=13565743 https://news.ycombinator.com/item?id=13638086…
comment by arcfide · 2018-12-16 · in In Praise of APL: A Language for Lyrical Programming (1977) -
somewhat related: https://github.com/Co-dfns/Co-dfns
comment by snapster · 2018-12-15 · in In Praise of APL: A Language for Lyrical Programming (1977) -
…that is easy to compose without having to fiddle with the details could be a winner. There is this: https://github.com/Co-dfns/Co-dfns But it's not quite it. As for the word 'deserve': computer languages don't really deserve anything, they…
comment by jacquesm · 2018-05-28 · in APL deserves its renaissance too -
…want to take a look at the co-dfns compiler (although some of it may be specific to GPU code): https://github.com/Co-dfns/Co-dfns However, for 10^6 cells, even O(n^2) algorithms should run in a few hours at worst, so performance…
comment by yorwba · 2018-02-25 · in Ask HN: Can an interpreted-only language be implemented in a JITted one?