r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Red] Red language group

Andreas
20-Nov-2011
[3869x2]
red/system running on another phone:
http://twitter.com/xearl/status/138413355126886400/photo/1/large


that's a hello world binary (using libc) compiled with red/system 
running on a nokia n9.
(inside a terminal. for those not so familiar with linux: the first 
two lines are the call of the binary and the resulting output. the 
rest is just platform porn.)
Kaj
20-Nov-2011
[3871x2]
Cool. Is that an unmodified Linux target?
I mean, would it run on other Linux ARM machines?
Andreas
20-Nov-2011
[3873x2]
Yes :)
That's Red/System's vanilla Linux-ARM target, for which we now have 
basic library imports working.
Kaj
20-Nov-2011
[3875x2]
That's great
Is there still GTK on MeeGo, or did they drop it completely for Qt?
Andreas
20-Nov-2011
[3877x2]
purely qt. i didn't yet look if the gtk libs are even available at 
all.
makes ui bindings extremely annoying, unfortunately. but a simple 
wrapper that bootstraps you into GL might be an option.
Kaj
20-Nov-2011
[3879x3]
Bummer. I'd hate to do all bindings double
http://en.wikipedia.org/wiki/MeeGo#Handset
The Handset UX is based on Qt, but GTK+ and Clutter will be included 
to provide compatibility for Moblin applications.
Andreas
20-Nov-2011
[3882x2]
meego is dead in the water anyway, i fear
intel and nokia split up. intel's way forward is now called "tizen"
Kaj
20-Nov-2011
[3884]
GTK support seems to depend on the device, and not include the N9
Andreas
20-Nov-2011
[3885x3]
the n9 is not really "full" meego
it's a maemo/meego mix nokia dubs "meego/harmattan"
but the nokia side of things is unfortunately all rather dead now 
:)
Kaj
20-Nov-2011
[3888x2]
Tizen will probably include Samsung's reference platform, which includes 
GTK
And Clutter, and EFL... What a mess
Andreas
20-Nov-2011
[3890]
Just checked, the only parts of GTK that remain on a stock N9 are 
glib and pango.
Kaj
20-Nov-2011
[3891]
Thanks
Dockimbel
22-Nov-2011
[3892]
Switching to Cheyenne project until Saturday, I will do a Cheyenne 
presentation at a PHP event in France on friday, so I need to get 
prepared.
Pekr
23-Nov-2011
[3893]
Doc, reading a twitter message - congrats to finishing ARM port stage 
:-)
Dockimbel
23-Nov-2011
[3894x5]
Well, there's still the fun part to do: debugging ;-)
(that's why I've left the progress bar at 90% in the Roadmap: http://www.red-lang.org/p/roadmap.html)
From REBOL School channel discussion: .Net support for Red is planned 
after JVM support, which will be most probably done in 2012.
I'd like to make the JVM port before the rewrite of Red/System in 
Red, as doing so will certainly require some deep adjustments to 
Red/System compiler and linker, so better have it experienced before 
the rewrite.
experienced: experimented
Kaj
26-Nov-2011
[3899x2]
I've tried including two bindings in one program that both include 
the C library binding, and I can't get it to do a single pass over 
the nested include, either with relative or absoltue paths to the 
C library binding
The first thing it bombs out on is a #L marker that it seems to insert 
into the source to mark line numbers (even though I didn't do a debug 
build)
Dockimbel
27-Nov-2011
[3901x2]
I will a look at it today.
Kaj: I have just pushed a fix for the problem you've reported.
Kaj
27-Nov-2011
[3903]
Great, thanks!
Kaj
29-Nov-2011
[3904x4]
I can confirm that including multiple times works now on Linux
Particularly, Mike's case of using both GTK and 0MQ works now
The WebKit binding is now here:
http://red.esperconsultancy.nl/Red-GTK-WebKit
Dockimbel
29-Nov-2011
[3908]
Great news!
Kaj
29-Nov-2011
[3909]
Implemented a separate SCROLL widget in the GTK binding, that can 
be used as a container for other suitable widgets to make them scrollable
Andreas
3-Dec-2011
[3910]
Red/System can now compile hello.reds (including the Red/System runtime) 
for ARM, and the resulting binary works fine.
Kaj
3-Dec-2011
[3911]
That's ARMv5, isn't it, not ARMv7? On what targets does it and does 
it not run?
Dockimbel
3-Dec-2011
[3912]
It should work fine on all ARM9+ CPUs, which is pretty much any ARM 
platform used these days.
Andreas
3-Dec-2011
[3913]
ARMv5, yes. Should work on ARMv5+.
Dockimbel
3-Dec-2011
[3914]
For ppl non-familiar with ARM naming conventions: http://en.wikipedia.org/wiki/ARM_architecture#ARM_cores
Andreas
3-Dec-2011
[3915x3]
So on ARM9, ARM11, Cortex A.
Cores, that is.
As Doc said, that covers most ARM systems in use today (except for 
the original StrongARM (historic; for those who happen to own an 
Apple Newton or Compaq iPAQ) and the current Cortex M microcontroller 
cores.
Gregg
3-Dec-2011
[3918]
Wow! Exciting news indeed.