World: r3wp
[Red] Red language group
older newer | first last |
MikeL 20-Dec-2011 [4014] | I am trying to import zlib and had some minor success with an example for adler32 function. Next was compress and now stuck on how to align the compress function ZEXTERN int ZEXPORT compress OF((Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)); from http://www.zlib.net/manual.html#Utilityis ByteF * dest and Btyef * source pointers to bytes defined was destination [pointer! [byte!]] ? |
Dockimbel 20-Dec-2011 [4015] | AFAICT, yes. |
MikeL 20-Dec-2011 [4016] | Thanks Doc. It is enlightening to see what can be done with Red import and DLLs. |
Pekr 20-Dec-2011 [4017] | Doc, any news around? :-) |
Dockimbel 20-Dec-2011 [4018x2] | 36 failing math tests to fix before finishing the ARM port. |
I will write a new blog entry once that done. | |
Dockimbel 23-Dec-2011 [4020] | Red/System ARM port now passes 100% of 8537 unit tests! |
Henrik 23-Dec-2011 [4021] | cool :-) |
Dockimbel 23-Dec-2011 [4022] | I have some polishing to do before making it official. |
Janko 23-Dec-2011 [4023] | wow... (about ARM) !! does this mean it can run natively in something like android? |
Dockimbel 23-Dec-2011 [4024x2] | Yes, there's some screenshots in recent tweets on http://twitter.com/red_lang |
But it only runs in command-line mode for now, a Java bridge will be required to produce GUI apps on Android. | |
Henrik 23-Dec-2011 [4026] | So, what will be next? |
Janko 23-Dec-2011 [4027x2] | that is awesome, making bindings to api-s is rewarding by itself (because you get to see results/apps) to those that need it so now that core runs on it I am sure rest will follow. |
how is this java bridge made then? is it like some sort of native binding or some totally different concept? | |
Gregg 23-Dec-2011 [4029] | Congratulations Doc! |
Dockimbel 23-Dec-2011 [4030x2] | Next for mobile ports:: add shared lib generation support to Red/System and Java/ObjC bridges. |
In the next days, I will review all the priorities and I will publish the requirements for floating point support in Red/System. I will probably go back to Red runtime implementation next week until new year. | |
PeterWood 23-Dec-2011 [4032] | Congratulations Nenad. I hope you're going to take a few days off after such an intense effort. Great timing too! Just in time for the launch of the Rasberry Pi!!! |
Dockimbel 24-Dec-2011 [4033] | Thanks Peter. New year is usually a very productive time for me, so don't count on me to rest now. ;-) |
Pekr 24-Dec-2011 [4034] | Doc - thanks for adding Twitter feed directly to RED website :-) |
Dockimbel 24-Dec-2011 [4035] | All my test scripts are now working correctly on Linux/ARM, including Red's memory allocator. |
Pekr 24-Dec-2011 [4036] | Cool, I might dig-up my Beagle Board :-) |
Dockimbel 24-Dec-2011 [4037] | You'll certainly have some fun. :-) |
Pekr 24-Dec-2011 [4038] | Is there possible something like CALL in Red/System? I expect currently "no", so what's the right aproach to it? Map system calls via wrapping an OS libary? Do you plan to have something like CALL to have easy interfacing along with PARSE in Red level? :-) |
Dockimbel 24-Dec-2011 [4039x2] | CALL support: sure, that's on the roadmap, but it's not a required feature in Red/System to implement Red, so not high-priority. I might add it if we really need it for a demo though. Anyway, it's pretty simple to implement, so I'm expecting some contribution there. ;-) |
You can wrap the C system() function for a poor's man support. | |
ArthurIngram 24-Dec-2011 [4041] | is it possible to get guide for new bees and info on the IDE.... from reading it looks like the GUI will be gtk+ |
Dockimbel 24-Dec-2011 [4042] | Sorry, no IDE available yet. For the GUI, gtk+ support is quite advanced, I might use it for the IDE if I run out of time to implement my own library. |
Kaj 24-Dec-2011 [4043] | My C library binding has a basic CALL using system() |
Kaj 25-Dec-2011 [4044] | It's effectively call/wait. It may help to remember that the binding is complete at the ANSI C level |
Dockimbel 26-Dec-2011 [4045] | http://www.red-lang.org/2011/12/arm-support-released.html |
Pekr 26-Dec-2011 [4046] | congrats :-) |
Jerry 26-Dec-2011 [4047] | WOW! Great! |
Pekr 26-Dec-2011 [4048x2] | I have just successfuly run Hello world example on my HTC Sensation :-) |
What was the script called, which measured REBOL CPU power? It would be nice to have it, to measure performance of RED on various phones :-) | |
Henrik 26-Dec-2011 [4050] | Perhaps, a line needs to be rephrased: "Such approach will allow us to build easily Android apps without having to write a single line of Java or Objective-C code" - AFAIK, Android apps are not written in Obj-C? |
Pekr 26-Dec-2011 [4051] | Obj-C stands for iOS imo ... |
Henrik 26-Dec-2011 [4052] | (people on OSNews will be all over it, if they see it) |
Pekr 26-Dec-2011 [4053x2] | however, it is a bit difficult to use, and also - allowing non-market sources could be marked as dangerous. Will there be ability to produce native Android apps, which could be published via the market? |
Henrik - what do you mean by ppl being "over it" - somehow can't translate it myself :-) | |
Henrik 26-Dec-2011 [4055] | Pekr, I'm not sure if it's important anyway, but it might detract from the reputation of Red, if some parts are not factually accurate in the article. As in: "this guy doesn't know what he's talking about." |
Pekr 26-Dec-2011 [4056] | Anyway - not sure if such a news article for OSNews is not a bit preliminary ... no bindings yet, no possibility to use standard channes (market), no RED yet = not much of a REBOL featureset either. Achievement is great - RED gets us onto mobile OSes, still far superior to R2 or R3, except that Red/System is mostly a C with REBOL syntax. I can understand, why Doc wants to work on RED itself some bits too :-) Anyway - I am here to do some testing with HTC Sensation. The fun part comes, when the bridge is going to be done. Imagine having parse and REBOL like series handling, with access to stuff like SMS, calendar, address-book, and other APIs :-) |
Dockimbel 26-Dec-2011 [4057x2] | Henrik: agreed, it's confusion, will change it right now. Thanks! |
confusion => confusing | |
Henrik 26-Dec-2011 [4059] | better :-) |
Dockimbel 26-Dec-2011 [4060] | Produce native Android apps: certainly, but that requires the Java bridge. It should be possible to also use the NDK for accessing a subset of Android API, but I haven't investigated yet that option much, especially if it requires Dalvik code support or not. |
GrahamC 26-Dec-2011 [4061x2] | derivated - no such englsh word :) |
New compilation targets have been provided for Linux and derivated OS running on ARM: change to New compilation targets have been provided for Linux and derivative OSs running on ARM: | |
Dockimbel 26-Dec-2011 [4063] | Hmm, another "frenglish" of mine. :-) |
older newer | first last |