C Board  

Go Back   C Board > General Programming Boards > C Programming

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 11-04-2009, 09:57 PM   #16
Senior software engineer
 
brewbuck's Avatar
 
Join Date: Mar 2007
Location: Portland, OR
Posts: 5,381
Quote:
Originally Posted by MisterIO View Post
Again, this is completely irrelevant to the previous discussion and I never said that. It just seems to me that you're unable to admit that you were wrong.
Wikipedia:

Quote:
Portability is the software codebase feature to be able to reuse the existing code instead of creating new code when moving software from an environment to another.
Suppose my program relies on glib to implement file copies. I want to compile my code to run on FooBox, a platform glib does not support. It seems I'll need to write some new code, rather than use the code I already have. Ergo, non-portable.

I'm not saying that glib (or something else) isn't a good solution, just that introducing a third party library doesn't magically make code portable.
__________________
"Congratulations on your purchase. To begin using your quantum computer, set the power switch to both off and on simultaneously." -- raftpeople@slashdot
brewbuck is offline  
Old 11-04-2009, 10:08 PM   #17
Registered User
 
Join Date: Nov 2008
Posts: 75
Quote:
Originally Posted by brewbuck View Post
Wikipedia:
Suppose my program relies on glib to implement file copies. I want to compile my code to run on FooBox, a platform glib does not support. It seems I'll need to write some new code, rather than use the code I already have. Ergo, non-portable.

I'm not saying that glib (or something else) isn't a good solution, just that introducing a third party library doesn't magically make code portable.
You're still wrong. The fact that architecture x may not be available among the architectures supported just means that the library hasn't been ported to that architecture. Again, that can be said for the c standard library too.
Anyway, if you want to create your own definition of portability, you can do it. It's just that it's different from that of the rest of the world of programmers.
MisterIO is offline  
Old 11-04-2009, 10:10 PM   #18
Super Moderator
 
Join Date: Sep 2001
Posts: 4,680
Closed. If the OP wants it reopened they can PM me or another mod.
sean is offline  
Closed Thread

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creepy DOS and BIOS functions (need help!!!) James00 C Programming 9 05-05-2003 12:40 AM
how many old school DOS programmers are left? Waldo2k2 A Brief History of Cprogramming.com 23 02-01-2003 05:14 PM
File systems?? (Winxp -> DOS) Shadow Tech Board 4 01-06-2003 09:08 PM
Quick ? on copy constructor Traveller C++ Programming 3 05-03-2002 10:31 AM
Copy Constructor Help Jubba C++ Programming 2 11-07-2001 11:15 AM


All times are GMT -6. The time now is 03:36 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22