Click here to Skip to main content
15,902,777 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C Compiler Pin
Gary Kirkham12-Jun-03 11:14
Gary Kirkham12-Jun-03 11:14 
GeneralClickety police ! Pin
Trollslayer13-Jun-03 1:40
mentorTrollslayer13-Jun-03 1:40 
GeneralRe: C Compiler Pin
Gary Kirkham13-Jun-03 4:09
Gary Kirkham13-Jun-03 4:09 
GeneralRe: C Compiler Pin
basementman12-Jun-03 11:15
basementman12-Jun-03 11:15 
GeneralRe: C Compiler Pin
Gary Kirkham12-Jun-03 11:22
Gary Kirkham12-Jun-03 11:22 
GeneralRe: C Compiler Pin
Neville Franks12-Jun-03 11:58
Neville Franks12-Jun-03 11:58 
GeneralRe: C Compiler Pin
Gary Kirkham12-Jun-03 14:10
Gary Kirkham12-Jun-03 14:10 
GeneralRe: C Compiler Pin
Neville Franks13-Jun-03 1:36
Neville Franks13-Jun-03 1:36 
Gary Kirkham wrote:
I would be interested in your reasons why. The app would take care of setting the proper compiler and linker switches and report any errors generated by either.

It seems like a lot of extra baggage and effort to distribute compilers and linkers. And potentially more difficult for the end user. Interpreters offer several advantages, one being there is no edit, compile, link, run cycle.

Interpreted code can also typically access all functions in your app. Conpiled code in DLL couldn't easilly do that.

Gary Kirkham wrote:
but I am worried about speed. my program, among other things is doing rather large monte carlo dispersions. I have the same concern about the scripting host

Scripted code is typically used for UI stuff, not CPU intensive operations. It can always call compiled code to perform such tasks.

A large part of ED (see sig) is written in its C Extension Language. This is compiled into virtual machine code which is interpreted at run time. The compiler is called on demand whenever a source file is edited, so the user doesn't even know about having to run a compiler. The Under C code is a pure interpreter with no separate compile phase that the user sees.

I think you need a clear idea of the functionality you want to provide, and how that can interact with your application code and then work out what will work for you.

Hope that helps.

Neville Franks, Author of ED for Windows. Free Trial at www.getsoft.com
Questionwriting a datbase management system in C++? Pin
GabyGirl12-Jun-03 9:47
GabyGirl12-Jun-03 9:47 
AnswerRe: writing a datbase management system in C++? Pin
jhaga12-Jun-03 10:00
professionaljhaga12-Jun-03 10:00 
AnswerRe: writing a datbase management system in C++? Pin
crewchill12-Jun-03 12:47
crewchill12-Jun-03 12:47 
QuestionHow many bits are these?? Pin
johnstonsk12-Jun-03 8:54
johnstonsk12-Jun-03 8:54 
AnswerRe: How many bits are these?? Pin
valikac12-Jun-03 9:08
valikac12-Jun-03 9:08 
GeneralRe: How many bits are these?? Pin
johnstonsk12-Jun-03 9:15
johnstonsk12-Jun-03 9:15 
GeneralRe: How many bits are these?? Pin
valikac12-Jun-03 9:32
valikac12-Jun-03 9:32 
AnswerRe: How many bits are these?? Pin
David Crow12-Jun-03 9:10
David Crow12-Jun-03 9:10 
AnswerRe: How many bits are these?? Pin
Robert Little12-Jun-03 10:26
Robert Little12-Jun-03 10:26 
AnswerRe: How many bits are these?? Pin
Hugo Hallman13-Jun-03 5:55
Hugo Hallman13-Jun-03 5:55 
Generalplaying audio file Pin
Gaurs12-Jun-03 7:37
Gaurs12-Jun-03 7:37 
GeneralRe: playing audio file Pin
Mike Nordell12-Jun-03 8:09
Mike Nordell12-Jun-03 8:09 
GeneralRe: playing audio file Pin
Trollslayer13-Jun-03 1:51
mentorTrollslayer13-Jun-03 1:51 
GeneralOpening just one instance Pin
John Ulvr12-Jun-03 7:25
John Ulvr12-Jun-03 7:25 
GeneralRe: Opening just one instance Pin
David Crow12-Jun-03 7:38
David Crow12-Jun-03 7:38 
GeneralRe: Opening just one instance Pin
Roger Allen12-Jun-03 10:56
Roger Allen12-Jun-03 10:56 
GeneralCListCtrl scrollbar! Help! Pin
Greg Ellis12-Jun-03 6:41
Greg Ellis12-Jun-03 6:41 

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.