Page 1 of 1

Primitives

Posted: Fri Feb 24, 2017 11:53 pm
by BobF
Hello MyCo,

I am very curious, how are new primitives written? Is it all asm, c++, both or what. How do you go about it? Do you have an old example of an easy primitive we/I could look at with comments. Is there a tool that can look into primitives, decompiler, etc.?

Thanks in advance if at all possible, BobF.....

Re: Primitives

Posted: Sat Feb 25, 2017 1:41 am
by tulamide
Flowstone is closed source as you know. So you won't hear details as to how it is programmed.

Re: Primitives

Posted: Sat Feb 25, 2017 1:49 am
by BobF
Hi tulamide,

Was just thinking maybe some of use could help in maybe developing new primitives. Just a crazy thought I guess.

Cheers, BobF.....

Re: Primitives

Posted: Sat Feb 25, 2017 8:34 am
by MyCo
It's all C++, that's no secret. Stream primitives have some additional "Assembler" in it. Assembler is in quote marks because it's not real assembler, we use our own assembler (like you can write in the assembler code primitive) as some kind of JIT Compiler. That's no secret either, as you can read out the internal assembler code from the "S"/"C" connector on the "Direct Sound Out" / "ASIO Out" / "Poly to Mono" / "Signal Analyser" primitives.

For some example source you might have to ask Malc.