r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[SDK]

Gabriele
2-Dec-2005
[242x2]
Graham, I don't understand your question.
#if [condition] [
    ; this part is included only if condition is true
    your code here
]
non conditional code here
Graham
3-Dec-2005
[244]
Gabriele, I think I just misunderstood the documentation.
Pekr
4-Dec-2005
[245x2]
Couldn't SDK be redone in different way? I really don't want to miss 
rebcode for SDK. That is not good, given the frequency SDK gets updated 
;-) It lags behind usefull stuff for so long! It would be good, if 
the new release plan would count on SDK updates to come more often, 
or somehow magically Encap could use different kernels - you would 
pass it as a parameter:-)
dunno if technicall solvable, but basically such Encap would be kind 
of launcher, which would "boot" rebol - it would unpack it from executable 
into memory. But dunno if technically solvable :-)
Graham
4-Dec-2005
[247]
you mean the sdk could use any rebol binary to encap with ?
Pekr
4-Dec-2005
[248]
yes
Graham
4-Dec-2005
[249]
sounds like a good solution.
Pekr
4-Dec-2005
[250]
but not sure if technically doable?
Graham
4-Dec-2005
[251x2]
would it also work cross platform?
Carl can do anything given sufficient reason/time
Pekr
4-Dec-2005
[253]
but imo such executable boots rebol anyway ...
Graham
4-Dec-2005
[254]
So, I could create cross platform binaries
Pekr
4-Dec-2005
[255x4]
that would save RT from feeding us new SDKs just because new kernels 
were released ....
not sure - such loader/booter, would be platform dependant anyway, 
no?
not sure if I am not mistakenly inspired by some solution posted 
to ml few weeks ago? IIRC someone did self-extracting executable 
(archive), where there was rebol and scripts .... I just don't remember, 
if when you create such archive, you can instruct it to start some 
app ...
http://www.rebol.org/cgi-bin/cgiwrap/rebol/ml-display-thread.r?m=rmlKQTC
Ashley
4-Dec-2005
[259]
I don't think this would be a good idea as the SDK lets you choose 
what mezz code you wish to include, and things like console help 
and desktop are excluded by default.
Graham
4-Dec-2005
[260]
Unless Carl has a way of stripping out rebol/base from the binaries 
...
Ashley
4-Dec-2005
[261]
Difficult, as trying to map:


 "I'll take base and not include any of the networking mezz source"

to:


 "Encap using latest rebview but exclude all the graphics and networking 
 code *I* know I'm not going to need"

doesn't sound too easy to me.
Pekr
4-Dec-2005
[262x2]
Ashley - as Graham said - use Base/Face ... include your mezzanines. 
Most of the time they will be compatible
But ask yourself, how often do you need to remove some specific code 
from your app? How mcuh will you save? Rebol is not resources savy 
anyway, at least not in the runtime, for most embedded apps to work 
with ...
Ashley
4-Dec-2005
[264]
Most of the GUI work I do does not use VID or networking, so enface 
without any of the view-* or prot-* scripts is what I want. I do 
not want to use a loader front-end based on rebview that includes 
all this code. The cost in executable size may be small (less than 
100Kb), but it's the start-up time and memory cost that I like to 
get as lean as possible. This will become more of an issue if and 
when REBOL is ported to small memory footprint devices.
Gabriele
5-Dec-2005
[265]
Petr: one thing is official SDK releases, which need to be stable 
and secure (Rebcode is not secure yet); another thing is beta/alpha 
releases for developers brave enough to play with features like Rebcode. 
I guess the latter can be done as often as View betas. we should 
probably talk to Carl about this.
Pekr
5-Dec-2005
[266x2]
OK, if that is doable, then yes, Gabriele. I just fear (judging according 
to my past experience), that SDK will lag. And it feels pretty arcane 
to "throw away" rebcode now in its current state ... just my feeling.
I can understand security issues, if those are not solved yet, but 
....
Volker
5-Dec-2005
[268x2]
Its the sdk, so security maybe is not such an issue? Runs only your 
own code, not rebsites. But Gabrieles suggestion would be best: when 
releasing alphas, build /base /face etc too.
would be at least more secure then switching to c instead.
Pekr
5-Dec-2005
[270]
Volker - that is not enough - you need Encap also ....
Volker
5-Dec-2005
[271]
Forgot to mention that ;) If Carl sets up such a build-tool, it should 
be able to build the encaps too.
Graham
5-Dec-2005
[272]
Well.. a new sdk has been finally released!  And that includes Command. 
 Thank you RT!!!!
Volker
5-Dec-2005
[273x2]
underway!
How is it now about sourcecode? Its included, the link is public..
Graham
5-Dec-2005
[275]
Look at the license.
Volker
5-Dec-2005
[276]
That was in the last beta too and Gregg said no. And i am not sure 
about "with any REBOL Technologies products". Gregg said no, but 
IMHO if anyone can download, makes that sense?
Graham
5-Dec-2005
[277]
; You are free to use, modify, and distribute this software with 
any

 ; REBOL Technologies products as long as the above header, copyright,

 ; and this comment remain intact. This software is provided "as is"

 ; and without warranties of any kind. In no event shall the owners 
 or

 ; contributors be liable for any damages of any kind, even if advised

 ; of the possibility of such damage. See license for more information.

license ??  can't find it.
Pekr
5-Dec-2005
[278]
print system/license ;?
Graham
5-Dec-2005
[279x3]
In that case ...no additional restrictions on the rebol source code 
included with the sdk.
If you have an up-to-date SDK license, you can download the new distribution 
from: www.rebol.net/builds/sdk If you do not have an SDK or command 
license, we encourage you to buy one and help support REBOL development.
But this suggests that you can only download it if you have an update 
sdk license.
Volker
5-Dec-2005
[282x2]
Hmm, agreed.
Would like  more clear statements in the headers. With Greggs no 
i go with old-style-patching, and less than i would do otherwise.
Graham
5-Dec-2005
[284]
Anyway, it's very good news to finally get a new sdk - and for command 
- before Xmas.
Volker
5-Dec-2005
[285]
That of course :)
Graham
5-Dec-2005
[286x2]
Ashley can now release a new version of RebGUI as well :)
Arggg... still using the old beta icon :(
Pekr
5-Dec-2005
[288]
I just wonder, if Command got some fixes. Some openssl vulnerabities 
appeared in last few years, yet Command showed components of 2002 
year. mySQL, from 4.x, requires new authentication method .... I 
don't trust SDK here ;-)
Graham
5-Dec-2005
[289]
ie. the rainbox icon for "R"
Volker
5-Dec-2005
[290]
IIRC ssh is rts own implementation, or do i get that wrong?
Pekr
5-Dec-2005
[291]
I don't remember hearing clear statement here. Anyway - for Rebol 
3.0, I give rebol the only chance - demodularisation!