Re: [Factor-talk] Models et al

2016-05-04 Thread John Benediktsson
I wouldn't get caught up in "basic" versus "advanced", the models vocabulary has a bunch of sub-vocabularies for more advanced use-cases of model-flow programming techniques. We use them in a bunch of the UI tools that come with Factor. On Wed, May 4, 2016 at 3:49 PM, Alexander Ilin

Re: [Factor-talk] Complex Shuffle Words

2016-05-04 Thread Alexander Ilin
Hello! 05.05.2016, 00:48, "Björn Lindqvist" : > I would be very surprised if you were able to demonstrate a measurable > speedup by replacing locals > with stack shuffling words. Thank you for the reply! ---=--- Александр

[Factor-talk] Models et al

2016-05-04 Thread Alexander Ilin
Hello! From the documentation: "The models vocabulary provides basic support for dataflow programming." Question: is there a vocabulary with advanced support for dataflow programming? I'm interested in building GUIs and I'd like to learn about the possibilities that are already there.

Re: [Factor-talk] Complex Shuffle Words

2016-05-04 Thread Björn Lindqvist
2016-05-04 22:20 GMT+02:00 Alexander Ilin : > Hello! > I have a question: but won't using lexical variables make the code fatter? > Are there any optimizations that would make the code that uses lexical > variables as optimal as the code that manipulates the stack directly?

[Factor-talk] Complex Shuffle Words

2016-05-04 Thread Alexander Ilin
Hello! In the "Complex Shuffle Words" help topic there is this text: "These shuffle words tend to make code difficult to read and to reason about. Code that uses them should almost always be rewritten using Lexical variables or Dataflow combinators." I have a question: but won't using