DarthMoul
11-12-2004, 12:34
Μια και θα είμαι ο ευτυχής κάτοχος ενός dual Opteron 242 σύντομα (ελπίζω δηλαδή. Η AMD δεν με πολυθέλει :089:), τις τελευταίες μέρες περιηγούμαι στις σελίδες του AMD developer's Center. Θέλω να συγκεντώσω κάθε διαθέσιμη πληροφορία που θα μου χρειαστεί για την πλήρη εκμετάλλευση του νέου συστήματος.
Ψάχνοντας λοιπόν, βρήκα αυτό:
"Longs will become 64-bit on Linux—but not Windows. So, all direct or implied assignment or comparisons between "int" or "long" values must be examined. All casts to allow the compiler to accept assignment and comparison between longs and integers must be examined to ensure validity. Better yet, if the two must remain different sizes, implementing an assertion that ascertains the value of the 64-bit item does not exceed the maximum value of the 32-bit item and generating a "handle-able" exception condition if it does will make the code 64-bit safe. "
Από αυτή την σελίδα:
http://www.devx.com/amd/Article/16520
Πέρα από το ζήτημα των επιδόσεων στα windows, έχουμε και πολλαπλά ζητήματα φορητότητας και βελτιστοποίησης κώδικα. Μάλλον η M$ δεν θέλει opensource κώδικας από Linux/Unix να είναι εύκολα διαθέσιμος στα windows. Προσθέστε και το κόστος προσαρμογής του υπάρχοντος κωδικα που θελει να αποφύγει και έδεσε το γλυκό. Εις βάρος των επιδόσεων πάντα.
Να τα χαιρόμαστε όταν έρθουν!!!
Ψάχνοντας λοιπόν, βρήκα αυτό:
"Longs will become 64-bit on Linux—but not Windows. So, all direct or implied assignment or comparisons between "int" or "long" values must be examined. All casts to allow the compiler to accept assignment and comparison between longs and integers must be examined to ensure validity. Better yet, if the two must remain different sizes, implementing an assertion that ascertains the value of the 64-bit item does not exceed the maximum value of the 32-bit item and generating a "handle-able" exception condition if it does will make the code 64-bit safe. "
Από αυτή την σελίδα:
http://www.devx.com/amd/Article/16520
Πέρα από το ζήτημα των επιδόσεων στα windows, έχουμε και πολλαπλά ζητήματα φορητότητας και βελτιστοποίησης κώδικα. Μάλλον η M$ δεν θέλει opensource κώδικας από Linux/Unix να είναι εύκολα διαθέσιμος στα windows. Προσθέστε και το κόστος προσαρμογής του υπάρχοντος κωδικα που θελει να αποφύγει και έδεσε το γλυκό. Εις βάρος των επιδόσεων πάντα.
Να τα χαιρόμαστε όταν έρθουν!!!