开发者

Can i get any advantage from Athlon 64 3800 writing a concurrent program on Ada?

开发者 https://www.devze.com 2022-12-21 11:55 出处:网络
I\'m limited to ObjectAda 7.2 for particular reason. Do i need to 开发者_StackOverflow社区install a 64 bit OS (Win 64x in my case) to write and run such programs?Is your goal just to write multi-threa

I'm limited to ObjectAda 7.2 for particular reason. Do i need to 开发者_StackOverflow社区install a 64 bit OS (Win 64x in my case) to write and run such programs?


Is your goal just to write multi-threaded programs in Ada that can run concurrently on the multiple cores?

It depends on how your compiler handles Ada tasks, but IIRC that compiler maps Ada tasks to Windows threads, so it should work just fine with a 32-bit OS. The program itself probably wouldn't generate any different code for a 64-bit Windows than for 32-bit. To get any different, you'd need a 64-bit version of the compiler (which probably won't be OA 7.2). Aonix's current datasheet for OA doesn't even say anything about Vista or Win7 support.

You might consider going 64 bit to get more than 3 Gig of accessible RAM, but I don't think it will help your Ada code any.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号