First iteration will use old plugin interface, therefore it will be serialized, however as soon as newer versions of AmiBroker expose new interface that would not serialize calls, the compiler will be able to use it.
This was a surprise to wake up to this morning. Hopefully, my reply won't be surprising, as I think I alluded to this once with you. Years ago, for my work, I implemented a way of compiling AFL functions inside of C++ as DLL by using a combo of object, op overloading, and macros. It worked, but was not automated, and had several kludges.
I realized that for many reasons that a real tool must come from you.
I ran it sporadically for several years, though, and came to some conclusions and benchmarks that might be of interest to you. I'll write you privately.
Kudos for this development. It is really needed for certain cases, but also opens up other possibilities.
I am interested in participating in the beta testing of the AFL to DLL compiler web service. The idea of compiling AFL to DLL to improve performance is intriguing, and I’m excited about the potential speed gains it could bring.
I am happy to provide code samples and detailed problem reports to contribute to the testing phase. I hope to be considered for this opportunity.
Thank you for the offer, Tomasz. But I would have very little to test.
My main focus is NQ intraday trading off of low timeframe (15 sec, 1 min) charts so the only speed-up I'd be looking for would be to develop some interactive GUI updating of positions, targets and stops (aka a chart trader) connected to the IBController, but I would guess that any speed-up to AFL would be very low in comparison to the already fast native Gfx calls.
I've written a lot of numeric code in AFL. In particular, those about signal processing look like good candidates for native compilation, so of course I'm quite interested in testing this new service.
I guess I am too late to the party! But I have one specific code that checks Price Gaps and it does lot of loops to the degree it slows don't my chart.