• Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r4wp

[#Red] Red language group

DocKimbel
5-Apr-2013
[6888]
Just pushed it now. Sorry for the inconvenience.
Gregg
5-Apr-2013
[6889x2]
NP.
Works now. :-)
DocKimbel
5-Apr-2013
[6891x2]
Good! :)
Not sure if I've mentioned it here before, but tomorrow I'm moving 
to a new place, on the shore, so I'll probably be offline the whole 
day.
Oldes
5-Apr-2013
[6893]
No commits on Suterday? How you can be so easy going ;-)
Pekr
5-Apr-2013
[6894x3]
:-)
I thought I am the only one refressing the Github commit log several 
times a day :-)
eh, too much of a beer - refreshing, I mean .....
Kaj
5-Apr-2013
[6897]
Nope, same here :-)
DocKimbel
5-Apr-2013
[6898]
Guys, you can just subscribe to the commits feed, and preserve your 
keyboard a bit: 
https://github.com/dockimbel/Red/commits/master.atom
;-)
Pekr
5-Apr-2013
[6899]
Doc, alive, that's all we need to know :-)
DocKimbel
5-Apr-2013
[6900]
Oldes: you're right, I'm becoming a bit too careless, I'll try to 
get something done at least tomorrow, then I'll go swim in the sea. 
;-)
Kaj
5-Apr-2013
[6901]
If you have an RSS reader
Pekr
5-Apr-2013
[6902]
Swimming in the sea? It's still winter here :-)
Kaj
5-Apr-2013
[6903]
Doc likes to get sick for months on end
DocKimbel
5-Apr-2013
[6904x2]
Will be 22°C tomorrow, a shiny day, water should be still a bit cold 
though. :-P
Yeah, I just recover a few weeks ago from winter flu, time to play 
with another virus. ;-)
Pekr
5-Apr-2013
[6906]
beware of Ren - new form is appearing ....
DocKimbel
5-Apr-2013
[6907]
Hope that one will spread everywhere. ;-)
Kaj
5-Apr-2013
[6908]
Do you think multiple compiler processes can run at the same time, 
or would they clobber shared files?
Gregg
6-Apr-2013
[6909]
If I do this in the console:


foreach word system/words [print [mold word tab mold type? get word]]

I get a long list of words, that end with this:
...
do-console      function!
red-prompt      unset!
mode    unset!
switch-mode     unset!
eval    unset!
code    unset!
result  unset!
cnt     unset!
mono    unset!
block   unset!
q       function!
red>>


Now, if I paste a bunch of code in the console and do it again, the 
newly added words all come back as type datatype!.  e.g.
...
block   unset!
q       function!
Title   datatype!
Author  datatype!
File    datatype!
Tabs    datatype!
any-function?   datatype!
...
DocKimbel
7-Apr-2013
[6910x2]
Multiple compiler processes at the same time: I see no issue doing 
that as Red is doing it all in memory.
Gregg: looks like a bug related to the one fixed recently about system/words 
returning datatype! only.
Kaj
7-Apr-2013
[6912]
Doc, no log files?
DocKimbel
7-Apr-2013
[6913]
Nope, logs are optional and when requested, there are emitted on 
stdout.
Kaj
7-Apr-2013
[6914x2]
OK, thanks
I'm moving to a new dual-core machine. When compiling Red, it uses 
only one core, so I'm considering using 0MQ to make use of the extra 
core
DocKimbel
7-Apr-2013
[6916]
When we'll have modular compilation, we'll be able to leverage multicore 
processors.
Arnold
7-Apr-2013
[6917]
A new dual core machine? Do they still manufactor those? 

I kind of had the idea the OS decides when to use more than one processor.
Kaj
7-Apr-2013
[6918x3]
It's only seven years old. :-) My previous machine is eleven years 
old
If your program is only one process and no threads, it's impossible 
for an OS to run it on more than one core at the same time
So on your eight-core machines, only one is really used :-)
Arnold
7-Apr-2013
[6921]
sometimes I wonder about that even. Must be calculating that spinning 
wheel then.
Kaj
7-Apr-2013
[6922x2]
Yep, it could dedicate a whole core to that :-)
I think OS X GUI apps are fundamentally dual-threaded, with one thread 
for the GUI, so in the best case, it uses two cores more or less
Arnold
7-Apr-2013
[6924]
But seriously why not a machine that is more actual? Because you 
prove the minimalistic needs?
Kaj
7-Apr-2013
[6925x3]
Yes; for example, in Syllable Desktop, almost no speedup is noticable 
in regular use
That is to say, the old machine was already more than usually needed 
for Syllable
Our fifteen years old laptops are still among the best machines we 
have to run Syllable on
Arnold
7-Apr-2013
[6928]
Better run an ad in the local paper: "We collect your old PC's for 
free"
Kaj
7-Apr-2013
[6929x4]
Nah, that costs money. We can get computers without ads :-)
Try this in Try REBOL:
call "cat /proc/cpuinfo"
That server was also donated
Oldes
9-Apr-2013
[6933]
It is not possible to create struct with function datatype as a member?
Kaj
9-Apr-2013
[6934]
In most cases, you have to cast to integer! to handle function pointers
Oldes
9-Apr-2013
[6935]
fine.. this got compiled:
wc/lpfnWndProc:  as integer! :WndProc
Gregg
10-Apr-2013
[6936x2]
Haven't checked to see if it's a known issue, but if I append/dup 
with a large number of elements it crashes. I'll try to track down 
the exact number. 75K does it, 65K does not (in a quick int append 
test).
Ah, I tricked myself. It is OK at 65536, but crashes at 65537. I 
thought it wasn't right at the 64K boundary.