Click here to Skip to main content
15,891,253 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: Schedule movement of car between offices in a car rental scenario Pin
Matt U.17-Sep-11 10:27
Matt U.17-Sep-11 10:27 
AnswerRe: Schedule movement of car between offices in a car rental scenario Pin
Eddy Vluggen17-Sep-11 11:38
professionalEddy Vluggen17-Sep-11 11:38 
QuestionSOA design tools Pin
Vannes David15-Sep-11 23:24
Vannes David15-Sep-11 23:24 
AnswerRe: SOA design tools Pin
Pradeep Shukla17-Sep-11 5:05
professionalPradeep Shukla17-Sep-11 5:05 
QuestionNeed suggesion in deciding a software architecture Pin
pandit8413-Sep-11 5:04
pandit8413-Sep-11 5:04 
AnswerRe: Need suggesion in deciding a software architecture Pin
jschell15-Sep-11 10:51
jschell15-Sep-11 10:51 
GeneralRe: Need suggesion in deciding a software architecture Pin
pandit8416-Sep-11 3:20
pandit8416-Sep-11 3:20 
QuestionTo Link or Not To Link? (Question of Efficiency) Pin
Xpnctoc13-Sep-11 2:19
Xpnctoc13-Sep-11 2:19 
General architectural question: From what I've been able to gather, there are basically 3 approaches to handling code that is reusable across multiple projects:

1. Dynamic linking: build a DLL, use API functions like LoadLibrary() and GetProcAddress() to link to the desired functionality at run time.

2. Static linking: build a DLL, use a .lib file to establish the external proc addresses at compile time.

3. Static library: build a LIB only, use as input that becomes part of the .exe file for a given project.


It seems pretty obvious that #1 would represent the worst execution time because of the need to look up a proc address before calling it.

But the issue seems a little more fuzzy between #2 and #3. Is there a significant advantage to one over the other in general? What about in high-demand applications such as video games or real-time simulators, or where the library function is expected to be called dozens of times per second?

Thanks for your help.
AnswerRe: To Link or Not To Link? (Question of Efficiency) Pin
Richard MacCutchan13-Sep-11 2:53
mveRichard MacCutchan13-Sep-11 2:53 
GeneralRe: To Link or Not To Link? (Question of Efficiency) Pin
Xpnctoc13-Sep-11 14:50
Xpnctoc13-Sep-11 14:50 
GeneralRe: To Link or Not To Link? (Question of Efficiency) Pin
Richard MacCutchan13-Sep-11 21:12
mveRichard MacCutchan13-Sep-11 21:12 
AnswerRe: To Link or Not To Link? (Question of Efficiency) Pin
jschell13-Sep-11 11:54
jschell13-Sep-11 11:54 
GeneralRe: To Link or Not To Link? (Question of Efficiency) Pin
Xpnctoc13-Sep-11 14:43
Xpnctoc13-Sep-11 14:43 
GeneralRe: To Link or Not To Link? (Question of Efficiency) Pin
jschell14-Sep-11 13:33
jschell14-Sep-11 13:33 
AnswerRe: To Link or Not To Link? (Question of Efficiency) Pin
Eddy Vluggen13-Sep-11 12:25
professionalEddy Vluggen13-Sep-11 12:25 
GeneralRe: To Link or Not To Link? (Question of Efficiency) Pin
Xpnctoc13-Sep-11 14:46
Xpnctoc13-Sep-11 14:46 
QuestionRE:Design website Pin
sunny851210-Sep-11 16:48
sunny851210-Sep-11 16:48 
QuestionWhat's the difference between Proxy Patterns and Observer Patterns? Pin
borges0231-Aug-11 7:47
borges0231-Aug-11 7:47 
Answercross post alert Pin
Shameel31-Aug-11 8:05
professionalShameel31-Aug-11 8:05 
QuestionWebsite design help Pin
Simon_Whale25-Aug-11 23:07
Simon_Whale25-Aug-11 23:07 
AnswerRe: Website design help Pin
jschell26-Aug-11 8:39
jschell26-Aug-11 8:39 
GeneralRe: Website design help Pin
Simon_Whale26-Aug-11 21:56
Simon_Whale26-Aug-11 21:56 
GeneralRe: Website design help Pin
jschell28-Aug-11 7:17
jschell28-Aug-11 7:17 
AnswerRe: Website design help Pin
Shameel31-Aug-11 8:13
professionalShameel31-Aug-11 8:13 
GeneralRe: Website design help Pin
dschumann13-Sep-11 15:20
dschumann13-Sep-11 15:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.