World: r3wp
[!REBOL3 GUI]
older newer | first last |
Graham 11-Jul-2010 [1896] | what is the r3lib.dll used by? |
Henrik 11-Jul-2010 [1897x2] | it's used by the executable. |
(I'd like to see a 28 kb R3 too, but alas...) | |
Graham 11-Jul-2010 [1899] | So, how can we load this dll into R2? |
Henrik 11-Jul-2010 [1900] | I'm not sure how one would do that... |
Graham 11-Jul-2010 [1901] | But wouldn't it be good if we could?? |
Henrik 11-Jul-2010 [1902] | I suppose someone else can answer that. |
Gabriele 11-Jul-2010 [1903x3] | Graham, from what I remember from the old "host kit" (2007), i don't think you can do that, as you had to pass a function table to the dll. |
ie. the dll needs to be able to call into the host kit code, and you can't solve that with callback! | |
you might be able to create your own dll though. not sure about that. | |
Graham 11-Jul-2010 [1906] | So, you need the hostkit running as well... so it might still be possible |
Gabriele 11-Jul-2010 [1907] | i suspect it would be far easier to just communicate through tcp :-) |
Graham 11-Jul-2010 [1908x2] | So, what exactly does the dll hold? |
Most of rebol I guess | |
Gabriele 11-Jul-2010 [1910x2] | the actual "REBOL" :) |
(again, i can only speak for how things were in 2007 or so) | |
Henrik 11-Jul-2010 [1912] | the DLL is the closed part, I suppose. The executable contains the open parts. |
Graham 11-Jul-2010 [1913] | Ideally one should be able to load the dll into another language to use it |
Henrik 11-Jul-2010 [1914] | I think that's one of the intentions of the DLL. |
Graham 11-Jul-2010 [1915] | and one of those languages should be r2 |
Henrik 11-Jul-2010 [1916] | except it sound like R2 is not up for the job. |
Pekr 11-Jul-2010 [1917] | the single DLL can't imo work. It just contains language interpreter plus api structures on the surface imo. It means e.g. all networking code (simply code that does something), or OS dependant functions, will be in the host kit, hence I am not sure the DLL itself is much usefull separately ... |
Graham 11-Jul-2010 [1918] | the gui and parser .... |
Robert 11-Jul-2010 [1919x4] | The DLL is the plain Rebol interpreter. All the sourrindings, named host-kit, that you need to make use of Rebol on a particular platform is in the EXE. The EXE loads the DLL at init time. |
As the interpreter is plain C is should be portable to different platforms very fast. That's something that Carl always needs to do. Than all the host-kit stuff (meaning the interfaces to the Rebol interpreter) need to be ported to the target platform. | |
For example: If you can't get AGG to work, you need to do a replacement with an equal API layer. | |
Graham, I don't see a real good case to use the R3 DLL within R2. Why to do this? And the interpreter in the DLL is nothing "useful" on it's own. It requires at least a simple host environment to do something useful. | |
Graham 11-Jul-2010 [1923] | In situations where the app can not be ported to R3 yet |
Robert 11-Jul-2010 [1924] | Than stay with R2. The effort it takes to mix these two should better be spent on porting the app. |
Graham 11-Jul-2010 [1925] | Let us know when we have SSL |
Robert 11-Jul-2010 [1926] | With the host-kit SSL can be added by the community. |
BrianH 11-Jul-2010 [1927x2] | The host of the hostkit can itself be a dll, and that dll could be designed to be loaded by R2. |
Passing data between them would likely require serialization, just like with TCP, but it would be in-memory. | |
Maxim 12-Jul-2010 [1929] | yes I have a client which would benefit from R3 within R2 specificaly to use PARSE.. as brian noted, I'd compile the R3 host as a dll and try to make a routine in R2 to access it. |
Pekr 12-Jul-2010 [1930] | any news on R3 GUI front? :-) |
Henrik 12-Jul-2010 [1931] | some refinements to the resizing model, by ladislav and cyphre as well as some documentation, so I can learn how it works. no new demos at this time. |
Pekr 14-Jul-2010 [1932x2] | What is the plan towards low-level of GUI? I mean - we now have new model - host-kit. My understanding is, that Carl created only few API functions, to get it running. So - how long will it take for VID being able to work upon new host-kit architecture? |
Maybe my understanding is wrong, and all api is done already? | |
Robert 14-Jul-2010 [1934] | VID shouldn't be affected. The host-kit change with the low-level part: VID | VIew | Rebol Core | AGG | OS. We need to implement all DRAW commands yet. |
Pekr 14-Jul-2010 [1935] | From the API point-of-view, VID should not be affected, but - if you don't have all draw commands implemented yet, it can't work yet, no? |
Robert 14-Jul-2010 [1936] | Yep, that's why we need to implement them now. |
Pekr 14-Jul-2010 [1937] | OK, now I understand - I was just trying to understand, what is currently happening :-) Any ETA for the transition? 1 month, more? :-) |
Graham 14-Jul-2010 [1938x2] | so we just have some primitives again? |
This AGG stuff is pretty old ... has copyright from 2005 | |
Henrik 14-Jul-2010 [1940] | transition shouldn't affect GUI development. it's not like all copies of A97 stopped working. :-) |
Graham 14-Jul-2010 [1941x2] | AGG 2.4 has the BSD license and 2.5 ( seems work stopped in 2007 or before ) has the GPL license. |
So, I guess we're stuck with 2.4 unless we can find something else | |
Pekr 14-Jul-2010 [1943] | Graham - we use AGG 2.4, because with 2.5, Max changed license to GPL. But Cyphe said, that there is not much new in 2.5. AGG is a dead-end anyway - it is not further developed by original author (Max Shemanarev) imo, but still good. |
Graham 14-Jul-2010 [1944x2] | So, what are the alternatives? |
OpenGL | |
older newer | first last |