5 ms·
A card game implemented in APL
- alexcweiner 11y agoHacker News emailed me and told me to repost this.
- dang 11y agoTold? Invited! The original URL is probably more interesting, though, so we've changed it back from http://yhnmjuik.com/sols http://yhnmjuik.com/sols. Interested readers can look at both.
- alexcweiner 11y agoEither way its here. Thank you for fixing up the link :)
- RodgerTheGreat 11y agoMight gather some interest on https://www.reddit.com/r/apljk https://www.reddit.com/r/apljk
- alexcweiner 11y agoI don't have a reddit account, but feel free to post if you want to.
- jk4930 11y agoWhile I have a place in my heart for APL and its derivatives, my problem is that I can't use it outside its finance niche. I have several books on APL and its applications, looked into some implementations, but I didn't find a way to bring it into my current projects. Then the community is kind of dying out, at least over here (Germany). This is really bitter for me. APL is fun with the intellectual satisfaction that comes from arranging the symbols, the beautiful theoretical background and the clear approach to doing things.
- alexcweiner 11y agoI've been using it for image processing. Its perfect with the matrix data type. I also like to write preprocessors for APL code. Any good books to recommend?
- jk4930 11y ago> Any good books to recommend? It's mostly literature from the 1970s and 1980s, usually in German. APL explained (basics, data structures, algos), APL applied to AI, math, statistics, etc. Nothing that beats Iverson's written works.
- scottlocklin 11y agoIt's useful on all kinds of transactional/bigger data, IMO (up to ~1e9 rows). It's also extremely useful as a prototyping language for complex mathematical ideas.
- jk4930 11y agoI just can't use it in my target environments for community reasons (space, AI). Just in case, a good implementation (e.g. GNU APL, Dyalog) to recommend (performance-wise)? I also tried J years ago, but not on larger data sets or computationally expensive things. My experience and overview is pretty dusty.
- alexcweiner 11y agoI can't speak for performance, but both GNU APL and Dyalog have solved the "problematic keyboard" problem, so getting running is no longer a problem.
- RodgerTheGreat 11y agoIt doesn't have the nice symbols that APL uses, but I've been tinkering with a graphical programming environment for K, one of APL's younger cousins. This evening I wrote a crude version of breakout: http://johnearnest.github.io/ok/ike/ike.html?gist=a88a98b2f6da02377ab0 http://johnearnest.github.io/ok/ike/ike.html?gist=a88a98b2f6... How hard do you think it would be to write a similar SDL wrapper or the like for your favorite APL implementation? I'm finding that K can be remarkably pleasant for solving many of the problems that come up in games- movement, pathfinding, manipulating raster graphics all fit well into the vector- and matrix-oriented programming paradigm.