Re: [Jsource] Expanding Openmp parallel usage within j

2021-08-29 Thread Alex Shroyer
I'm interested in helping with this. I'm taking a course this semester on high performance computing, and adding MPI or OpenMP support to an existing system might be a good project to help me learn more about these frameworks. I'm totally new to OpenMP and MPI, but competent in C, and not scared by

Re: [Jsource] Proposing NPY reader and writer as foreign 128!:9

2020-10-02 Thread Alex Shroyer
My 2 cents, this should not be part of the J engine, but implemented as a library. It appears that NumPy itself implements .npy conversion as a library: https://github.com/numpy/numpy/blob/master/numpy/lib/format.py On Fri, Sep 25, 2020 at 8:41 PM bill lam wrote: > An easier approach would be wr

Re: [Jsource] Propositions

2018-02-28 Thread Alex Shroyer
> > The extra step is admittedly a small syntactic annoyance. > I note that if python were to implicitly convert the map object to a list > wherever there would otherwise be an error, then the user no longer cares > (or knows) that this map object existed. (This would possibly be wasteful > in pyth

Re: [Jsource] Propositions

2018-02-28 Thread Alex Shroyer
One case I was thinking of where laziness makes things more complicated in python is 'map'. In (eager) J, I can say 2 * 3 4 5 and get back 6 8 10. But in python, map([3,4,5], lambda x:2*x) returns an iterator object (I think). To eagerly evaluate and return the data, I need to wrap the whole

Re: [Jsource] Propositions

2018-02-27 Thread Alex Shroyer
I don't have much to add to this other than some jargon and opinions. In Haskell (and Clojure maybe?) this type of "only evaluate the asked-for portion of an infinite sequence" idea is called "lazy evaluation", in contrast with "eager evaluation" used by pretty much every other language. In

Re: [Jsource] Porting J805 Engine to ArmV8-a Cortex-a53 aarch64, Pine64

2017-08-03 Thread Alex Shroyer
That's good to know, if there was an aarch64 binary that's what I would be using right now on my laptop. As a stopgap, it is possible to run the unmodified j80x_raspi binary on aarch64, at least on Ubuntu: sudo dpkg --add-architecture armhf sudo apt-get update sudo apt-get install libedit-dev:ar

Re: [Jsource] JE wizards: why rat()?

2016-07-28 Thread Alex Shroyer
Excellent, thank you. On Thu, Jul 28, 2016 at 11:09 AM, Henry Rich wrote: > It's in m.c, j.h, ja.h. Look for fa, ra, fr, tpush, tpop, rat, rat1, > PROLOG, EPILOG. > > Henry Rich > > > On 7/28/2016 11:04 AM, Alex Shroyer wrote: > >> Is J's reference cou

Re: [Jsource] JE wizards: why rat()?

2016-07-28 Thread Alex Shroyer
Is J's reference counting implementation contained within in m.h and m.c? I've followed some of the discussion regarding refcounting and its tradeoffs in the Kona language [1], and would like to grasp how it's done in J. Thanks, Alex [1]: https://github.com/kevinlawler/kona/issues/43 On Wed, Jul

Re: [Jsource] Better git: commit messages

2016-05-27 Thread Alex Shroyer
Hey, I'm also known as hoosierEE on GitHub, and was flattered to see my commit messages among the good examples, though I must admit the quality of the messages on my own projects (where I'm usually the only contributor) aren't nearly as good on average. See also: https://xkcd.com/1296/ At work I