World: r4wp
[#Red] Red language group
older newer | first last |
Bo 1-Mar-2013 [5634] | I was pretty sure GDK required X. |
Kaj 1-Mar-2013 [5635x4] | Yeah, I checked and I'm not sure, but it's very entangled |
You could compile GDK on DirectFB instead of X, but it would be a lot of work | |
You could make a binding with SDL-Image to have fewer dependencies | |
A binding with DirectFB or Enlightenment just for the images would also be less massive | |
Bo 1-Mar-2013 [5639x2] | Thanks for those ideas, Kaj! I'm thinking it may be better just to wrap libjpeg. |
I don't have a lot of experience with C and library bindings, but I've done a bit and I can give it a shot when I have a bit of time. | |
Bo 2-Mar-2013 [5641x2] | Sometimes, I'm such a dunce! Something Kaj said in the past hit me as I lay awake in bed at 4:45am this morning. IIRC, he said that Red/System could be used to extend R3. My problem is that I need to perform some advanced processing on jpg images. I wanted to do this natively in Red/System, but had issues getting the jpgs loaded into bitmap form. R3 can already load jpgs into bitmap form, so why not call a Red/System compiled executable to do the processing? |
Thanks so much, Doc, for making R3 easy to extend using a Rebol-like compiled language! Thanks so much, Kaj, for your insight and foresight! | |
Kaj 2-Mar-2013 [5643x4] | If that's your purpose, then yes, that would be a nice combo |
Just this week I checked that the Red-R3 bridge works with the updated dyn-lib-emitter branch of Red | |
There are still various bugs in R3, though. You seem to need the latest build from Andreas, and R3 corrupts tuples passed across the bridge | |
On the other hand, weren't you doing this on Raspberry Pi? The Red dyn-lib-emitter branch and thus the bridge are currently only available for Windows | |
Bo 2-Mar-2013 [5647] | That will be a problem. Maybe I'll have to pass the data using slower semaphores. |
DocKimbel 2-Mar-2013 [5648x3] | Function building and evaluation now supported by the interpreter. Here's how it looks like from the Red console: red>> foo: func [a b][a * b] == func [a b][a * b] red>> foo 3 4 == 12 |
The interpreter (DO) is much more capable than the current console with its currently limited tokenizer (LOAD). So, e.g., the interpreter fully supports paths and refinements while the console don't. | |
Nobody has proposed me so far to build a R2-level cross-platform console for Red, so I will implement one in the next weeks. Before that, I will probably work on PIC support for Mach-O and ELF and implement object! support. | |
Kaj 2-Mar-2013 [5651] | Exciting! |
Gregg 2-Mar-2013 [5652] | That's great Doc! |
Kaj 2-Mar-2013 [5653] | Bo, you could use the 0MQ bindings to pass the images between Red and R3 |
Bo 3-Mar-2013 [5654] | I've never really looked into 0MQ, but I know you did some binding work with that. |
Arnold 3-Mar-2013 [5655x4] | Sorry Doc, it is hard to get-and-keep up to what you all achieve!! (And Kaj too) Even though I myself have less hours at my job I do not have as much time to follow it all. (More projects and chores in and about the house to do now and less 'spare' time at work for a quick review. |
I will try to answer the question of how I see possibilities to make Red more suitable for funding. And have it get the attention a first proper release needs. Everybody else is hereby invited to think along how to make this possible. | |
What I see as a first possible step is have a kind of Red website hosting where websites can be hosted using Red (cheyenne server) and a database behind it (MySQL or SQLite) and a possibility for digital payments (such a module could be additionally payed and kept 'closed' source). This could obviously generate a modest cashflow. There would be needed books etc. | |
time is up now sorry. | |
Kaj 3-Mar-2013 [5659x3] | I'm happy to report that Red works well on stock Windows 2000 |
Even most of the bindings work, except GTK and 0MQ, because their libraries are not compatible with 2000 | |
Perhaps it could be helped by installing newer versions of the Windows C library | |
DocKimbel 3-Mar-2013 [5662x2] | Arnold: finding good ideas for new revenue streams to fund Red would be indeed helpful. |
Kaj: interesting finding, but no that surprizing as the interfacing of Red with Windows API is currently quite limited. | |
Kaj 3-Mar-2013 [5664x2] | I need that setup to test, and I may need it to compile binding libraries myself |
0MQ also doesn't work on XP, so that's more surprising and problematic | |
Gregg 3-Mar-2013 [5666x2] | The 0MQ issue may be with newer bulids. I used old versions on XP just fine. |
Not from Red of course. | |
Fork 4-Mar-2013 [5668] | Beating the test suite alone is perhaps an unwise quest, so here is an as-is state of the Red port for people to tinker with and look at. https://github.com/dockimbel/Red/pull/421 |
Endo 4-Mar-2013 [5669] | R2-level cross-platform console for Red would be great!! Thanks Doc! |
Pekr 4-Mar-2013 [5670] | Nice addition indeed. That will differ it from R3 too .... |
Kaj 4-Mar-2013 [5671x3] | Thanks for the report, Gregg. It could also be that this XP machine doesn't have networking. Perhaps Windows doesn't understand that it can use localhost |
That's a massive patch, Fork | |
It's impressive and depressing at the same time, because there are so many differences between R2 and R3. My CMS was much less work to port because I wrote it in very basic REBOL specifically to avoid these problems | |
Fork 4-Mar-2013 [5674x3] | Thanks, yes, impressive and depressing about sums it up. :-) |
The most annoying parts of course being when obscure bugs in Rebol itself lead you on wild goose chases, but that's one of the reasons why I think that the largest and most actively developed codebase written in Rebol should be stressing R3, not R2, which is dead. | |
It is my hope that the R2 legacy can be shed, but clearly it is not the time today...maybe a couple of months. R3 patches must be taken in a timely manner. The current situation is untenable, so we are going to have to agree on a development branch. | |
Kaj 4-Mar-2013 [5677x2] | Well, it's not the largest code base. Most active, I don't know |
The most optimal path is to shed the legacy of R3, as well, and bootstrap straight into Red | |
Bo 4-Mar-2013 [5679] | Kaj, sometimes an interpreted language is optimal, and other times a compiled language is. I hope both R3 and Red will become fully functional released software. |
DocKimbel 4-Mar-2013 [5680] | Bo: Red has an interpreter built-in. |
Bo 4-Mar-2013 [5681] | Either I didn't know that or I forgot. Thanks for reminding me! |
Kaj 4-Mar-2013 [5682] | It would be fun to have you comment on the next Syllable article on OSNews, where some people have taken it upon themselves to paint me as unable to handle compiled languages :-) |
Fork 4-Mar-2013 [5683] | If Rebol were not open source and if there were not Rebol-focused designers such as BrianH/etc I would be very much on the "bootstrap ASAP and escape this ecology" point of view. |
older newer | first last |