World: r3wp
[!REBOL3]
older newer | first last |
Maxim 3-Sep-2010 [4769x2] | Gregg the difference is that Tasks operate at the core level and imply possible GC hacks, inter extension mem management, hard to track stack stuff... all things which inherently *might* force changes in core level apis like devices, extensions, etc. |
adding support for libraries, that is effectively something that uses the core... not defines it. adding a standard SQL connector in REBOL would be sweet, but it won't change the core... its using it. | |
Robert 3-Sep-2010 [4771] | Guys, the thing is pretty simple. |
Gregg 3-Sep-2010 [4772] | I can't speak for Ladislav, but where I disagree about limiting the language's appeal is that we don't know who it's supposed to appeal to. It may not be you, me, and Petr at all. |
Robert 3-Sep-2010 [4773x8] | There are zillions of things we want to see. Ok, and everyone wants something different. |
We don't need a R3, that is in development mode until dawn before we can make use of it. | |
Hence, we are working on getting incremental steps done, that are useful. Maybe not for everyone but a lot can be done with R3 now. | |
And we will keep the high pace of new releases. Each one delivering more stuff. | |
Maybe something breaks existing code than. Yes, not to nice and takes some work but it's not killing us. | |
While R3 moves forward, we will use it for all our projects. Add, what's missing on the way and move forward. | |
In this stream tasks will come. I just don't know yet, if next week, month or in 6 months at the moment. | |
But Carl has put it onto the roadmap, so it's already in the near range radar. | |
Maxim 3-Sep-2010 [4781] | But tasks is not just about "want".... its about something that has the *potential* (we don't know) to break other R3 components down the road. so My point is not that I want it now.... I just want R3 to stay "freed from locking" until tasks are revised by carl. |
Robert 3-Sep-2010 [4782] | The message that's important to all (including Lad here ;-)) is that R3 is useable for quite some stuff and should be used. Maybe not for everything yet. But you can start to use it today. |
Maxim 3-Sep-2010 [4783] | I agree... its very nice already. I will be looking into the A 105 release next week. |
Robert 3-Sep-2010 [4784x3] | If tasks break things, yeah, than that's how it is. I take the risk, we adopt our code once and that's it. |
I'm not afraid of it. I know that I take a high risk here to break some code. | |
And if a good task implementation takes 6 months... than it takes 6 months and is of good quality than. | |
Maxim 3-Sep-2010 [4787] | one question for you Robert... is the A105 view/agg code stabilized wrt what I was reading for A104? |
Robert 3-Sep-2010 [4788] | What part do you mean with stabilized? |
Maxim 3-Sep-2010 [4789] | low-level use of AGG... not the R3GUI |
Robert 3-Sep-2010 [4790x3] | A105 is the first one to integrate our AGG code line. So, bringing Carls work and our work much more in sync with less hassels for new releases. |
I think with A105 the AGG externalization is done. There are some quirks left, to be fixed. But we can now do this on our own. | |
And yes, it's stable WRT AGG. I don't expect major architecture changes. | |
Maxim 3-Sep-2010 [4793x3] | ok, that's what I meant... thanks. I'll probably be delving more deeply into the whole graphics structure next week. |
the only thing I have been wondering is how the gob type interfaces with the AGG... isn't gob! part of the core? | |
for example, could I build a gob! which uses another rendering package? | |
Robert 3-Sep-2010 [4796] | I'm not yet an expert, but I think that the GOB! get's converted to the AGG world. Hence, you can take the GOB! from Rebol and however you bring it on screen, just do it. |
Maxim 3-Sep-2010 [4797] | ok I'll try to figure out the Architecture from the code (its a pretty big codebase... a bit daunting, I admit) |
Andreas 3-Sep-2010 [4798x3] | the codebase is really rather small. src/os/, the hostkit "core", has ~9k lines (wc -l). |
most stuff in src/agg/ is "just" the agg sources. the rebols-specific stuff in src/agg/ is in ~7 .cpp files, totaling just over 7k lines (agg_{compo,effects,graphics,truetype_text}, compositor, graphics, rich_text). | |
(but it may well be that i missed some stuff, haven't yet looked too deeply into the agg parts) | |
Maxim 4-Sep-2010 [4801x2] | I meant the whole graphics sources including AGG. there are many files... figuring out the whole calling order is going to be fun :-) |
but its still manageable... it could be much worse.. | |
Henrik 8-Sep-2010 [4803] | A106 is planned to have call/wait and launch/wait. |
Pekr 8-Sep-2010 [4804] | nice ... btw - is that call/wait/output? without the output, you can't easily catch the output ... |
Henrik 8-Sep-2010 [4805] | Pekr, asking him now. |
Pekr 8-Sep-2010 [4806] | call/wait/output was (for me) the most used scenario, wrapping some command-line tools and obtaining the result. That way you can simply wrap e.g. SQLite.exe result, without the need to have proper driver ... |
Robert 8-Sep-2010 [4807] | It's pure /wait at the moment. |
Henrik 8-Sep-2010 [4808] | From Carl: Adding /output is a many-days/weeks addition. The R2 CALL function required 5 programmers over several months... 3 of which were even world-class programmers. |
Pekr 8-Sep-2010 [4809] | 5 programmers over several months? :-) Last I heard from Carl, it was 5 screens of code or so ... so it took 5 programmers 5 months? Hmm .... |
Gregg 8-Sep-2010 [4810] | Adapt Doc and Gab's async-call code. |
Pekr 8-Sep-2010 [4811x2] | that's REBOL level code, no? |
or it uses library calls, dunno ... | |
Gregg 8-Sep-2010 [4813] | Yes, uses library calls. |
Henrik 8-Sep-2010 [4814x2] | From Carl: License statement: if someone makes the R2 shell.c streams work in R3, then we'll release it as open source in the host-kit as host-call.c (or host-shell.c). And, the community can support it directly. In other words, we'll contribute the R2 code to the R3 host project. (I just wanted to clarify that.) |
If we find a qualified person to port this code, we can invite them here, or on another world. (Only 1 in perhaps 1000 programmers are skilled enough.) :-) | |
Pekr 8-Sep-2010 [4816] | How big is the actual code? Not that I would be the one to pick-up the challenge :-) |
Henrik 8-Sep-2010 [4817x2] | I'm not sure it's particularly large. It seems that just interfacing is very difficult: The difficulty is not inherent in the design requirements... it's because stdio methods are very old (as old as modern computing) and have been messed with (inside the OS) for such a long time. |
he posted some comments from the code (I'm not allowed to repost) and it does not look simple. | |
older newer | first last |