AFL to DLL compiler - beta-testing

We are working on creating AFL to DLL compiler web service that will take your AFL code
and compile to super-fast DLL.

We are looking for people interested in testing the service before launch.

If you are

  1. advanced AFL programmer who writes lots of re-usable AFL functions
  2. looking for increasing the performance of your AFL functions
  3. interested in compiling AFL to DLL to get more speed
  4. willing to participate in testing the AFL to DLL compiler service and providing code samples and problem reports

please respond in this thread.

Upto 10 persons will be selected in first testing phase.

14 Likes

@Tomasz, I would be interested in helping you test.

4 Likes

You have my support. I'll more than happy to help.

3 Likes

This is a big feature bump up :+1:t2:

Conventionally, AFL plugin calls are serialized, would there be an exception for these type of new DLL based on some signature?

1 Like

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.

2 Likes

Is AFL code jit compiled already? If so, would the speed-up of having it in a DLL form be for just the first translation times?

No, currently AFL by default is not JIT compiled. @SteveH - do you want to participate in beta testing?

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.

-- Bruce R

1 Like

Hi Tomaz,

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 creating this!

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.

Yes, indeed, the speed up is seen ONLY in looping code and only within computation alone.
Drawing speed is completely unaffected.

1 Like

Count me in. It's a great idea

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’m interested in participating in beta testing.

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.

Regards,

Jorgen

We are currently in alpha test/development phase but soon more people will be invited, so please don't worry you are not too late.

1 Like