Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Apr 26, 2006, 07:52 PM   #1
vgoklani
macrumors regular
 
Join Date: Jul 2004
Send a message via AIM to vgoklani
What is a framework?

I use the following command to link my C++ source code to the apple implementation of CLAPACK:

g++ -o code code.cpp -framework veclib

but what is a framework?
vgoklani is offline   0 Reply With Quote
Old Apr 26, 2006, 09:35 PM   #2
savar
macrumors 68000
 
savar's Avatar
 
Join Date: Jun 2003
Location: District of Columbia
Send a message via AIM to savar
Quote:
Originally Posted by vgoklani
I use the following command to link my C++ source code to the apple implementation of CLAPACK:

g++ -o code code.cpp -framework veclib

but what is a framework?
I don't know the dictionary definition, but a framework is usually a collection of libraries and the headers that declare the interfaces.
__________________
Mehce
savar is offline   0 Reply With Quote
Old Apr 26, 2006, 10:14 PM   #3
NewbieNerd
macrumors 6502a
 
Join Date: Sep 2005
Location: Chicago, IL
Send a message via AIM to NewbieNerd
I think a framework, at least on some level, is comparable to a Windows DLL, or dynamically linked library. Such a library exists as only one copy in memory, at least for the code segment of it, as opposed to statically linked libraries which are copied with every applicatioin that uses it. Though DLLs aren't completely better, they tend to be as you can update the DLLs and all programs depending on them see the benefit without any recompiling/relinking.

So when you include NSObject.h in a file and compile, linking to the Foundation framework, you are just using the copy of NSObject.c already in memory instead of making another copy.

Maybe a framework is completely different, hehe, but at least you know what a DLL is.
NewbieNerd is offline   0 Reply With Quote
Old Apr 27, 2006, 03:51 PM   #4
jeremy.king
macrumors 603
 
jeremy.king's Avatar
 
Join Date: Jul 2002
Location: Fox Lake, IL
ADC is always a good resource.

http://developer.apple.com/documenta...c/uid/20002303
jeremy.king is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Frameworks & Standards... smilinmonki666 Web Design and Development 1 Jan 26, 2011 07:15 PM
This guy is bold, what is your thought on what he is saying though? NickZac Politics, Religion, Social Issues 40 Jan 11, 2011 04:08 PM
What is Airport Express? chain752 Mac Basics and Help 9 Dec 7, 2010 07:19 AM
What exactly is 'inactive memory' and what is reserving it. dogbone Macintosh Computers 9 Sep 23, 2005 03:05 PM
Linux on G5, what is there and what is not MacBytes MacBytes.com News Discussion 4 Feb 1, 2004 03:35 PM


All times are GMT -5. The time now is 05:19 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC