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

World: r4wp

[#Red] Red language group

GrahamC
5-Jun-2013
[8194]
Was that one of my accounts?
Arnold
6-Jun-2013
[8195]
One good thing about Github :)
Pekr
6-Jun-2013
[8196]
Red is now part of list of programming languages - http://en.wikipedia.org/wiki/List_of_programming_languages
DocKimbel
6-Jun-2013
[8197x2]
Great! Thanks. :-)
Feel free to also update the Red page itself.
Pekr
6-Jun-2013
[8199]
well, not sure my English is OK for that :-) Nor do I feel technically 
skilled, to claim anything about the language and its characteristics 
....
DocKimbel
6-Jun-2013
[8200x3]
You can look at how other similar pages are filled and add some sections, 
like an HelloWorld example in Red and Red/System.
Can anyone see a [Close] button on this page? https://github.com/dockimbel/Red/issues/484


Seems like a bug, or has Github changed once again their UI and hide 
the close action somewhere else?
Doh! I'm still logged under my new `red` account...ignore my above 
question.
Pekr
6-Jun-2013
[8203]
Doc, in your last ticket fix example: mp1/mp-digit: allocate 10 ---- 
where does 'allocate comes from? Can't find it in docs. Or is that 
just out of context example, and 'allocate is some wrapper to 'malloc?
DocKimbel
6-Jun-2013
[8204x2]
It's part of Red/System runtime library which is undocumented so 
far. Some of the contributors have made some extraction tools to 
generate automatic docs, but none of the initiative has reached a 
usable state...
`allocate` function is currently just mapped to malloc(), my intention 
was to make a native fine-tuned implementation for Red/System, but 
as it's very low priority, it won't happen soon.
Pekr
6-Jun-2013
[8206]
OK, thanks! Looking forward to further progress and First Red android 
APK example relase :-)
DocKimbel
6-Jun-2013
[8207]
Me too. :-)
Arnold
6-Jun-2013
[8208x2]
If you are not sure of your english being good enough, well go ahead 
and just do edit the site and we will tell you what can be approved. 
Nothing held against you! Happy to see a little more life (or is 
it live) on the site. together we can do more than on our own. It 
takes just some initiative now and then.
What about a youtube channel for Red? (Could also be a Youtube channel 
that is also for REBOL)
Kaj
6-Jun-2013
[8210]
There are YT movies from the conferences. Someone could make a new 
playlist out of them
Arnold
6-Jun-2013
[8211]
I could try to do something like that, but it will be a playlist 
under my account, not very findable/ related to REBOL/Red
Kaj
6-Jun-2013
[8212]
That depends who links to it. Someone collected a Syllable playlist 
and I linked to it from our front page
Bas
6-Jun-2013
[8213x2]
There allready is a Red-playlist: http://www.youtube.com/playlist?list=PL595BBBBC4CD91581
If movies should be added, please menton it here?
DocKimbel
8-Jun-2013
[8215x2]
Red/Java bridge is now working properly on Linux/ARM too: http://static.red-lang.org/java-bridge-arm.png
I use a Linux/ARM image running on QEMU to help me debug the low-level 
parts of Android port (which is a really hostile environment for 
low-level coding).
Gregg
8-Jun-2013
[8217]
Congratulations Doc!
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.