[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] A computer science related question on the AFL Language


  • Date: Sat, 09 Jan 2010 08:26:59 -0000
  • From: "cascade3891" <cascade3891@xxxxxxxxx>
  • Subject: [amibroker] A computer science related question on the AFL Language

PureBytes Links

Trading Reference Links

Hi Amibroker community,

I have specific questions about the AFL language, regarding where it stands within the computer language spectrum(s) and what effect that has on speed/performance, agility and modularity as well as its accuracy for readability and unit testing purposes. 

I know that AFL is not an object oriented programming language for the main part (however it does have some OO features like COM), does this make AFL primarily a functional programming language, a bit like OCaml?? 

Are functional programming languages better for financial trading applications? Where there is a need for speed, and quality stable code?
AFL seems a lot brief in terms of the amount of code that you have to write (terse) ... this makes it more attractive for reading over and checking the code, and for backtesting purposes. 

I notice also that with AFL you don't have to declare data types, again making it much more efficient. 

Is there a drawback to using an OO code for financial trading systems/applications?

I quite like the speed and terseness of the AFL language actually, and also since it has many similarities to C. But would there be any limitations to not being able to define classes and objects? 

I'm not an experience programmer so sorry if I sound green. 

Anyone have any ideas on Tomasz' original design philosophy when he set out creating the AFL language? to me it seems like he wanted to keep the power and similarities to C/C++ given the similar syntactical structure, whether because he knows that language well, or because he wanted it to be able to have the same sort of power, but he also seems to have kept in mind the needs for performance and stability, terseness for backtesting/speed purposes, and maybe also b/c most traders need to pick up the language, hence trying to make AFL easier to grasp. 











------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    amibroker-digest@xxxxxxxxxxxxxxx 
    amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/