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

World: r4wp

[#Red] Red language group

Pekr
8-Jun-2013
[8218]
Great, once getting home, will publish screenshot to FB ...
DocKimbel
8-Jun-2013
[8219x6]
Got a simple HelloWorld text displayed in an Android native window 
using the emulator with an x86 image. Working on the ARM version 
now.
The current Red bridge stores too many Java objects references currently, 
it's ok on desktop platforms, but Android has much lower limitations, 
so I need to redesign the Red/Java bridge to lower the number of 
references kept.
Ok, works fine from ARM emulator and Android 2.3.3.
First HelloWorld Android app done with Red: http://static.red-lang.org/hello.apk
It uses the Red/System level bridge for now (but from Red), until 
I redesign the Red-level bridge.
This APK was generated from Eclipse using a minimal Java loader class. 
Red will of course provide a simple solution for creating APK package 
without having to install Eclipse or the Android SDK (though the 
emulators are still usefull for testing).
sqlab
9-Jun-2013
[8225]
I know this is probably far away

But is there an estimation when concurrency will be included in Red 
or Red/System.
Are there plans to include support for gpu computing?
It could happen that I need that in futiure.
DocKimbel
9-Jun-2013
[8226]
Concurrency: yes, once we add object!, errors handling and I/O. So 
probably not before fall of this year. I also want to support GPGPU 
computing, but that will probably be in the selfhosted Red 2.0.
sqlab
9-Jun-2013
[8227]
thanks, maybe it is in time.
GrahamC
9-Jun-2013
[8228x2]
when is fall ?
for me that finished 8 days ago
DocKimbel
9-Jun-2013
[8230]
Autumn.
Pekr
9-Jun-2013
[8231]
Doc - my droid phone is in repair centre (touch layer stopped to 
work), so can't test it, but - is current version resource hungry? 
(re "too many Java objects" ...)
DocKimbel
9-Jun-2013
[8232x5]
It's not visible for the user, it matters for the OS, because of 
low JNI references limitation.
It's not "too many Java objects", it's too many JNI object references.
JNI has a limit of 512 max object references.
(on Android)
Pekr: you can test it here:
https://www.manymo.com/emulators


But the Hello app exits immediatly, not sure it's a bug or related 
to their emulator.
Arnold
9-Jun-2013
[8237]
@Graham, thank for reminding Red is a real global project now ;)
DocKimbel
9-Jun-2013
[8238]
I've reduced the size of the package, now hello.apk weights just 
153KB.
GrahamC
9-Jun-2013
[8239]
@Arnold ..I guess Autumn in Europe is 6 months after here so November?
Pekr
9-Jun-2013
[8240]
It writes - unfortunatelly, hello has stopped ...
DocKimbel
9-Jun-2013
[8241x2]
Yes, but I'm not sure why as it works fine on 2.3.3 and 4.2.2 on 
the emulator and 2.3.5 on my HTC.
I wonder if they use x86 emulator images instead of ARM ones...would 
makes sense performance-wise.
Arnold
9-Jun-2013
[8243]
@Graham, sep/oct/nov, so when Doc writes probably before autumn, 
I hope it will be a cold summer and maybe concurrency will be here 
by august.
DocKimbel
9-Jun-2013
[8244]
Arnold: the devcon in July will suck up a lot of my coding time, 
as I need to prepare the presentation and that's something I'm very 
slow at.
GrahamC
9-Jun-2013
[8245x2]
What's your presentation going to be one?
one => on?
DocKimbel
9-Jun-2013
[8247]
Manymo: bingo! That was that, it uses x86 images, I compiled one 
for the tests:
http://static.red-lang.org/hello-x86.apk
GrahamC
9-Jun-2013
[8248]
So, this one is for the emulator?
DocKimbel
9-Jun-2013
[8249]
@GrahamC, I will probably focus on some Red internals like how to 
achieve symbolic code execution in a hybrid compiler/interpreter.
GrahamC
9-Jun-2013
[8250]
Going to answer Carl's queries?
DocKimbel
9-Jun-2013
[8251x2]
It's one for the x86 version of the emulators (you need Intel Atom 
images) and for Manymo (the online emulator).
As far as I can, yes.
GrahamC
9-Jun-2013
[8253]
Where's the Arm version?
DocKimbel
9-Jun-2013
[8254x2]
I also plan to bring a surprize, if I can make it in time.
ARM: the first hello.apk link above.
GrahamC
9-Jun-2013
[8256]
I mean .. I think Bo mentioned that Carl had some questions .. .list 
somewhere...
Pekr
9-Jun-2013
[8257]
I remember one specific question, but not the details. Bo will know 
for sure. Doc - we like surprises :-)
GrahamC
9-Jun-2013
[8258x2]
* He had a lot of technical questions about Red.  He was wondering 
how Doc overcame (or planned to overcome) some technical hurdles, 
like how he would handle compiling symbolic Rebol code.  He said 
he had no doubt Doc could overcome those hurdles ...
Have to cross post links to SO chat since I can then read them directly 
on the Nexus 7 whereas I don't know how long it takes for links here 
to make it
Arnold
9-Jun-2013
[8260]
Very slow in making presentations? http://www.rebol.org/view-script.r?script=presenter.r

Well I know all about that, making a decent presentation takes a 
lot of time.
PeterWood
9-Jun-2013
[8261]
I've added a few more wishes to the Red/System V2.0 wish list. If 
you have any comments please let me know.


Please remember these are wishes for Nenad to consider, not firm 
proposals.
AdrianS
9-Jun-2013
[8262]
The hello world app tested OK on my Galaxy Nexus with 4.2.2.
DocKimbel
9-Jun-2013
[8263]
Good! Thanks for testing.
Arnold
9-Jun-2013
[8264]
Good to see nothing is rejected yet ;)

For completeness I add the link to the wish list, it is here https://github.com/dockimbel/Red/wiki/Red-System-v2-Wish-List
DocKimbel
9-Jun-2013
[8265]
A designer knows he has achieved perfection not when there is nothing 
left to add, but when there is nothing left to take away.
 -Antoine de Saint-Exupery
Arnold
9-Jun-2013
[8266]
I will settle for less perfect but with a lot of possibilities ;)
perfection = not making errors , making no errors = do nothing
Kaj
9-Jun-2013
[8267]
Sqlab, for many purposes, you can already do concurrency in Red and 
Red/System if you do it with the 0MQ framework. See for example the 
ventilator demo: