On Sun, 24 Jul 2022, Raul Miller wrote:
space/time tradeoff
There should not be a significant time penalty for blocking, compared with
fully eager iteration.
You can actually implement the optimisation in pure j (and see the performance
uplift); the methodology is similar to that used by t
To see the full list of digits, use the standard utility foldpara.
$a=: ": */ 1 + i.450x
1001
100 foldpara a NB. line length of 100
https://code.jsoftware.com/wiki/Standard_Library/Overview
In jqt, the above page is loaded with Help->Standard Library
The standard utilities are autom
On Sun, Jul 24, 2022 at 12:46 AM Elijah Stone wrote:
> On Sun, 24 Jul 2022, Raul Miller wrote:
>
> > doable
>
> Sort of...
>
> Performing an indirect call for every atom would be horrendous. Some sort of
> 'blocking' could be ok in some cases, but you would still likely bottleneck on
> cache band
On Sun, 24 Jul 2022, Raul Miller wrote:
doable
Sort of...
Performing an indirect call for every atom would be horrendous. Some sort of
'blocking' could be ok in some cases, but you would still likely bottleneck on
cache bandwidth (practically, issue rate of load/store ops).
--
Currently i.100 allocates and populates space for 100 integers.
The interpreter would need to become significantly more complex to
support the "streaming version", but that's conceptually doable (for
many, but not all cases).
--
Raul
On Sun, Jul 24, 2022 at 12:21 AM wrote:
>
> Hi,
>
> How is J
The distinction you are looking for is between _lazy_ and _eager_ stream
processing. JE is eager (your second proposed strategy).
The realities of vector processors, which are ubiquitous on modern hardware,
mean that the ideal approach is not quite lazy or eager, but somewhere in
between, an
See 9!:37 (and 9!:36) at https://www.jsoftware.com/help/dictionary/dx009.htm
Thanks,
--
Raul
On Sun, Jul 24, 2022 at 12:09 AM wrote:
>
> Hi,
>
> I did this:
>
> */ 1 + i.450x
>
> and got this:
>
>
> 173336873311263265934471314610457939967781126520905101556920750955533300168343675060467508
The notion of homoiconicity is a very _loose_ one. Taken literally, it means
'the same as its representation', which poses two problems: 1, what does it
mean for two things to be the same?; and 2, must we pick a single
representation?
The following links may be of interest, though I do not en
Hi,
How is J processing data?
Would this one-liner
+/ 1 + i.100
be processed like this:
tmp=0
create '0'
add '1'
add to tmp
create '1'
add '1'
add to tmp
create '2'
add '1'
add to tmp
...
print tmp
or like this:
tmp=0
alloc 100*sizeof(int)
fill mem with numbers 0...99
for each field in me
Hi,
I did this:
*/ 1 + i.450x
and got this:
173336873311263265934471314610457939967781126520905101556920750955533300168343675060467508829043871061458112845184240978586185838063016502083472961813516675701719187004222809622372722
306635280840380623123693426741350366101015088382204949709297
Hi,
is J homoiconic?
Cheers!
Meino
--
For information about J forums see http://www.jsoftware.com/forums.htm
Present: Art Anger, John Baker, Raul Miller, Bob Therriault, Michal Wallace
1) Bob presented an idea for transitioning the wik by using the yellow J wiki
as a prototype https://code2.jsoftware.com/wiki/Main_Page and gradually make
changes to the blue J wiki https://code.jsoftware.com/wiki/Main_P
On 07/23 10:39, Raul Miller wrote:
> On Sat, Jul 23, 2022 at 9:11 AM wrote:
> > My preffered way of learning J to the point, where I will be able to do my
> > own
> > experiments with it, "predict", what I would expect as a result and finally
> > find the bugs I did myself by reading online resou
On Sat, Jul 23, 2022 at 9:11 AM wrote:
> My preffered way of learning J to the point, where I will be able to do my own
> experiments with it, "predict", what I would expect as a result and finally
> find the bugs I did myself by reading online resources (again the dense ones
> and not the "hello
Hi,
(I am using Linux as my platform of choice...)
This /may/ sound harsh and full of dark critism. This is only
due to the fact, that I am no native speaker. My abbility to express
a wide variaty of moods is still very limited.
I am very new to J. I am not new to computer programming,
computer
15 matches
Mail list logo