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

World: r3wp

[Red] Red language group

Dockimbel
19-Nov-2011
[3847x4]
I never planned to base the Red string! type on the Red/System c-string! 
type. All Red datatypes will have their own specific implementation. 
In some cases, for the sake of optimization, we should be able to 
substitute some Red scalar values to Red/System scalar values (mainly 
integer! in fact).
to => with
The current Red memory allocator is already providing the low-level 
layer for storing those Red values, but the datatypes constructors 
are not  implemented yet.
That should be my next step once I finish the ARM port.
BrianH
19-Nov-2011
[3851x2]
I was just going through the SMS character set standards to see what 
characters were supported. It's interesting that you can send REBOL 
or C-like code, though you might need to escape some characters; 
to send Lisp code you need to not use macros since the ` character 
isn't supported. One of the surprises is that there is an additional 
standard where you can send UCS-2 (for those Lisp macros, or Perl), 
but you are limited to 70 characters and not all phones and SMS gateways 
support that type of thing.
I wonder if Twitter's character set is similarly limited, since it 
was originally an overlay service on SMS, IIRC.
Dockimbel
19-Nov-2011
[3853]
Interesting, but I guess that a specific data encoding would be more 
appropriate than plain REBOL or C? Something like the Golf dialect 
(wrote by hostilefork?).
BrianH
19-Nov-2011
[3854x2]
I was mostly interested in code sharing over text messages, but something 
like AltME or a code editor on my phone would be invaluable. A code 
editor that can send code snippets over SMS or other sharing services 
sounds interesting. I only mention this in this group because Red 
looks like it will end up on my phone before R3, barring a miracle.
Though, technically, I might be able to get Topaz running on the 
phone even quicker...
Dockimbel
19-Nov-2011
[3856]
I guess that Topaz should already run on it, have you tried the Topaz 
demo URL?
BrianH
19-Nov-2011
[3857]
Not on the phone yet, but I'll try that today :)
Dockimbel
19-Nov-2011
[3858x2]
In case you've missed it, you can already run this simple Red/System 
HelloWorld app on your Android phone: http://static.red-lang.org/android-hello.jpg
And full Red/System apps very soon.
BrianH
19-Nov-2011
[3860x2]
Nice :)
What program did you use to run the remote app?
Dockimbel
19-Nov-2011
[3862]
This one: http://gimite.net/en/index.php?Runnative executable in Android App
Oldes
19-Nov-2011
[3863]
Do you want to make a QNX port as well?
Kaj
19-Nov-2011
[3864]
Thanks for fixing that bug in the Windows version, Doc. I'm developing 
on Linux, so I seldomly test such things
Dockimbel
19-Nov-2011
[3865x2]
It was a bug occurring only in rare cases, I'm glad I had the occasion 
to spot it.
QNX: if you're thinking about BlackBerry support, why not. But as 
BlackBerry has a decreasing market share, I am not sure that would 
be a relevant target to support in a year. Anyway, iOS is second 
on my list of mobile OSes to support (if we can find our way through 
that "fortress").
NickA
20-Nov-2011
[3867]
Thank you for all your continued work!
Dockimbel
20-Nov-2011
[3868]
Thank you for your kind support Nick.
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
[3894x3]
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.