CompuServe Thread

#Modula-2 Compilers

4 messages in this thread
#57921From: Steve BelczykJul 19, 1989 9:36 PM
Yes, Joel, you are absolutely right. I goofed up: Benchmark is the one with the nice source level debugger. The code I will be porting relies *heavily* on coroutines. Representatives from both firms tell me that it is possible in both compilers. I will have to look into the details a little further before purchasing.
#57986From: John DraperJul 20, 1989 12:27 AM
Steve, In general, coroutines are probably not only superfluous on the Amiga, but may indeed be the worst possible way to get the job done. The Amiga is a multitasking machine already, with full support for intertask communication, prioritizing, and so on. It would probably be well worth your while to investigate the possibility of using the Amiga methods in place of the 'standard' M2 coroutines. -larry
#58051From: Steve BelczykJul 20, 1989 7:19 PM
Hi Larry. Believe me, you're not the first to suggest using the Amiga's own multitasking capabilities. It's something we've thought about and decided against, for a number of reasons. First, this is a product which we are porting to several platforms and we'd like to keep the number of significantly different versions of the code to a minimum. Also, we'd like the program to run as a single process on the Amiga, freeing up system resources for the owner to get other work done. Plus, it would be quite a job to re-do the way we do interprocess communication. In short, we don't want to rewrite it, we just want to port it.
#58267From: John DraperJul 22, 1989 3:47 PM
Steve, OK… your choice. Just one point though… multiple processes/tasks does not imply less resources. -larry