Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Turing is too slow
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
yousuf14




PostPosted: Sun Apr 27, 2014 4:00 pm   Post subject: Turing is too slow

Turing is too slow when trying to play my rpg game. It is done using graphics and returning from subprograms. Why is it taking so long? I would appreciate if someone would take some time to provide me with an answer Question

Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
<Answer Here>

Turing:


<Add your code here>



Please specify what version of Turing you are using
<Answer Here>
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Sun Apr 27, 2014 5:09 pm   Post subject: RE:Turing is too slow

Turing was designed as a learning tool, which was then spun off as a for-profit compiler, sold to schools. What this means is that very few people got to work on the compiler (in contrast to large communities and companies that are often found behind more mainstream languages). The lack of low level optimizations make the language very susceptible to the efficiency of your code.

That is, an inefficient algorithm implemented in C++ might run fast enough, while the performance problems would be very obvious with Turing. There will be cases where a very efficient algorithm implemented in Turing will be faster than a very inefficient implementation in C++.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: