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

World: r4wp

[#Red] Red language group

Kaj
15-Oct-2012
[2752]
Yes, so if you strip that down further, you should find the cause
DocKimbel
15-Oct-2012
[2753]
Removing `gtk-append-container` call makes it work.
Kaj
15-Oct-2012
[2754]
Elapsed time is reporting a weird number in Fibonacci and Mandelbrot. 
I suppose that's due to running ARMEL code on an ARMHF platform
DocKimbel
15-Oct-2012
[2755]
If floats arguments are involved, yes, most probably.
Kaj
15-Oct-2012
[2756]
Yes, in the computation of the time difference. As long as it stays 
within Red/System, float computation is fine, like in Mandelbrot
DocKimbel
15-Oct-2012
[2757]
Good news: all GTK demos now run fine on ARM...finally! :-)
Kaj
15-Oct-2012
[2758x2]
Very good news indeed :-)
I'll find you some more bugs in the bindings that run on top of GTK 
;-)
DocKimbel
15-Oct-2012
[2760x2]
So, we can now say that Red/System is more advanced than R3, as it 
can make sophisticated GUI apps on ARM devices. ;-P
New bugs: no hurry! ;-)
Kaj
15-Oct-2012
[2762]
I am in a hurry, I want to report them before release :-)
DocKimbel
15-Oct-2012
[2763]
I wish we could put Red in the "Programming" menu of the RPi...It 
probably will need to wait for the Red IDE to be ready...
Kaj
15-Oct-2012
[2764x3]
They base themselves on Squeak, the traditional Smalltalk educational 
track, with Scratch on top, and Python thrown in to appease the rest 
of the world
But yes, it's the domain I always wanted to target with REBOL
No worries, though, Red will have that position in the new Syllable 
releases
DocKimbel
15-Oct-2012
[2767]
Let's try to please Raspbian guys then with some cool Red features....but 
will need Red to be self-hosted first anyway, else we're limited 
to cross-compilation only.
Kaj
15-Oct-2012
[2768]
The Raspberry forum is full of complaints about the slowness of Scratch
DocKimbel
15-Oct-2012
[2769]
That's a domain we can perfectly address with Red dialect + Red/System 
low-level access abilities.
Kaj
15-Oct-2012
[2770]
Like the OLPC, they're now forced to double the memory of the hardware 
- for the second time
Pekr
15-Oct-2012
[2771x2]
Get Cyphre to do a modern View like engine, and we will be kings 
- just believe me :-)
Well, or don't, as I have 6 beers tonight :-)
Arnold
15-Oct-2012
[2773x3]
Is that still on your to-do list Pekr :D
I am in a hurry, I want to report them before release

 drive faster so you will be home before you are out of gas.  "But 
 yes, it's the domain I always wanted to target with REBOL" the domain 
 you want to target is the world isn't it?


I am studying the Red and Red/system sources these days to get more 
of a feeling what is going on.
It looks like there are only function and context definitions. WHere 
does the code start?
DocKimbel
15-Oct-2012
[2776]
Start

 might not be the appropriate term in this context, as the code is 
 modular. What you're probably after are the compilers wrappers:

- for Red: %Red/red.r
- for Red/System: %Red/red-system/rsc.r
Arnold
15-Oct-2012
[2777x2]
Not exactly, I read rsc.r as if system-dialect is not set then start 
with the compiler.r script. (after that or else the rest of the script 
follows) but then is has some do other scripts and a modular part 
and the other scripts are modular too. It look all very sound bu 
somewhere <there must be/I expect> a first action or function call.
rsc: context

 does contain "fail-try "Driver" [main]" that looks like a starting 
 point but it is within the context. So in my mind that does not get 
 triggered.
Kaj
15-Oct-2012
[2779x2]
With Red we can target the world, before that with REBOL we had to 
be more limited. And also, one targets domains that others haven't 
satisfactorily addressed yet. New land is easier to inhabit than 
occupied land
Got the OpenStreetMap GPS Map browser to work on the Raspberry
DocKimbel
15-Oct-2012
[2781]
Good! :)
Kaj
15-Oct-2012
[2782]
It's all very slow, though. I don't understand why everyone is so 
excited about the Raspberry if they're all running LInux
DocKimbel
15-Oct-2012
[2783]
I've found a bug in Red on ARM: the polymorphic dispatching isn't 
working.
Kaj
15-Oct-2012
[2784]
Don't think I've hit that yet
DocKimbel
15-Oct-2012
[2785]
RPi slowness: I've noticed it too...Even overclocked, at 900MHz, 
the UI still feel sluggish...Amiga 500 was having a fast UI running 
at 7MHz, so no excuse for those bloated UI stacks...
Kaj
15-Oct-2012
[2786]
Yes, it's really, really frustrating now that Syllable doesn't run 
on ARM
DocKimbel
15-Oct-2012
[2787]
I really can't understand how the UI stacks nowadays can dare produce 
slow results, with CPU and GPU thousand times more performant than 
the poor A500.
Kaj
15-Oct-2012
[2788]
That's exactly why :-)
DocKimbel
15-Oct-2012
[2789]
There's something deeply wrong in the way most so-called "modern" 
OS/desktops are designed. My 133MHz Bebox with a poor PCI video card 
was able to provide a very responsive UI, even under heavy load.


The RPi feels like dying as soon as you launch the lightweight (no 
kidding!) web browser Midori...Of course, the browsing is very slow...I'm 
quite disappointed by that and it's not the hardware fault, the RPi 
is a great platform, but the software stack sucks a lot.
Kaj
15-Oct-2012
[2790x4]
Yes, I can't wait to wipe them all out
What we'll probably get first on Raspberry is RISC OS. I was using 
that in 1987, so looking forward to use it again with Red
At least in the official Raspbian you already have NetSurf, a completely 
custom browser ported from RISC OS
Inlined printing fix confirmed working on ARM with Fibonacci and 
SQLite
Pekr
16-Oct-2012
[2794]
I would be interested to know, how would QNX perform on RPi - QNX 
is pure C, no C--, highly modular, async, etc.
Kaj
16-Oct-2012
[2795]
Linux is pure C, too
Pekr
16-Oct-2012
[2796]
Well, but Linux suxx anyway, so :-)
Kaj
16-Oct-2012
[2797x2]
Well, it's also highly modular, async, etc. :-)
The thing is that they made software so complex, that it has become 
extremely hard to point your finger at where exactly it goes wrong. 
We had to build Syllable to get an idea of some of those things, 
and then nobody wants to believe you
DocKimbel
16-Oct-2012
[2799]
Fixed missing function! pointer dereferencing in ARM backend, all 
my Red tests are now running fine on Linux-ARM backend.
BrianH
16-Oct-2012
[2800x2]
Doc, quick license question: Was the BSL chosen because it allows 
you to distribute a binary without requiring that you distribute 
the license, unlike MIT and almost all other open source licenses? 
Would it be a problem if you incorporated Apache licensed code, which 
doesn't distinguish between source or binaries in this? You probably 
wouldn't have to actually include the license with the product, only 
in a web site or help file somewhere...
almost all other open source licenses

 meaning pretty much everything except the WTFPL or public domain.