Hacker GitHub

← All repos

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

Mentions per year 62 mentions · busiest year 2020 (11)
20082026
  1. …[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
  2. …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
  3. …[2]: https://github.com/Dyalog/HttpCommand/blob/master/source/Htt... [3]: https://github.com/Co-dfns/Co-dfns/blob/master/cmp/PS.apl
  4. ▲ 5
    Co-dfns: High-performance, reliable, and parallel APL
    story by fanf2 · 2025-05-04 · 0 comments
  5. …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)
  6. …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
  7. …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
  8. 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
  9. ▲ 39
    Co-Dfns v5.7.0
    story by Tomte · 2024-07-10 · 7 comments
  10. …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-...…
  11. …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
  12. …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)
  13. …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
  14. …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
  15. ▲ 2
    Co-Dfns
    story by whereistimbo · 2023-04-01 · 0 comments
  16. …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…
  17. …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
  18. And co-dfns: https://github.com/Co-dfns/Co-dfns (subset of APL compiled for GPU).
  19. …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
  20. …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
  21. …+ 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
  22. …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.
  23. …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
  24. …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
  25. …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
  26. Actually, it seems that compilers is a domain that APL can potentially excel at.. https://github.com/Co-dfns/Co-dfns
  27. …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
  28. How about co-dfns? CUDA accelerated APL! https://github.com/Co-dfns/Co-dfns
  29. …(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)
  30. …a write-up somewhere of the differences between that and Appendix B from the dissertation? 1: https://github.com/Co-dfns/Co-dfns
    comment by kd0amg · 2020-04-10 · in Ode to J
  31. …Agent: mblaze[0] Browser: lynx and qutebrowser [0]: https://github.com/leahneukirchen/mblaze [1]: https://github.com/Co-dfns/Co-dfns
  32. …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?
  33. …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
  34. …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
  35. 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)
  36. …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)
  37. ▲ 3
    Co-Dfns: High-Performance, Reliable, and Parallel APL
    story by tosh · 2019-12-16 · 0 comments
  38. …[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
  39. …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
  40. Yes. https://github.com/Co-dfns/Co-dfns can target GPU.
  41. 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
  42. …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
  43. 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
  44. …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
  45. 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
  46. https://github.com/Co-dfns/Co-dfns
  47. …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…
  48. somewhat related: https://github.com/Co-dfns/Co-dfns
  49. …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
  50. …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…