Click here to Skip to main content
15,913,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralAccessing a web Service from VC++ application Pin
Member 5343577-Jul-04 3:51
Member 5343577-Jul-04 3:51 
GeneralRe: Accessing a web Service from VC++ application Pin
Antti Keskinen7-Jul-04 12:27
Antti Keskinen7-Jul-04 12:27 
GeneralRe: Accessing a web Service from VC++ application Pin
Member 5343578-Jul-04 3:13
Member 5343578-Jul-04 3:13 
GeneralRe: Accessing a web Service from VC++ application Pin
Antti Keskinen8-Jul-04 9:48
Antti Keskinen8-Jul-04 9:48 
QuestionAny suggestions on a parser? Pin
prcarp7-Jul-04 3:16
prcarp7-Jul-04 3:16 
AnswerRe: Any suggestions on a parser? Pin
siggapet7-Jul-04 3:26
siggapet7-Jul-04 3:26 
AnswerRe: Any suggestions on a parser? Pin
palbano7-Jul-04 4:00
palbano7-Jul-04 4:00 
AnswerRe: Any suggestions on a parser? Pin
Andrew Walker7-Jul-04 14:21
Andrew Walker7-Jul-04 14:21 
Your list is terrific, but in most situations scripting languages don't cover 3) as well as you might like. The most common approach is to code as much as you can in the scripting language, and only then if profiling shows that performance is insufficient, add a hook to optimised code written in C/C++ or dare I even say it, FORTRAN if required. Both Python and Lua meet all these requirements and both can be compiled to byte code.

You're also missing a few things fromt he list.
6) It needs to be easy to use (client usability)
7) It needs to be easy to integrate (programming perspective)
8) It needs to be easy to extend

The easiest way to achieve 6) is to use a language which most people already know or can learn very quickly. Custom languages or very small parsers / languages might have some quirks that take a while to work out

7) and 8) go hand-in-hand, and I would recommend picking a language on how easy it is to use, integrate and extend from the programmers perspective as well as the clients. Writing and maintaining language bindings is not the type of code that you'll want to write every day.

There are two major classes of bindings to languages at the moment - as a precompilation step (SWIG) or as part of the compilation (boost::python and luabind). My personal preference if for the later, because it guarantees that your bindings are always upto date.

http://www.lua.org/[^]
http://luabind.sourceforge.net/[^]

http://www.python.org/[^]
http://www.boost.org/libs/python/doc/index.html[^]


If you can keep you head when all about you
Are losing theirs and blaming it on you;
If you can dream - and not make dreams your master;
If you can think - and not make thoughts you aim;
Yours is the Earth and everything that's in it.

Rudyard Kipling

GeneralRe: Any suggestions on a parser? Pin
prcarp25-Jul-04 20:39
prcarp25-Jul-04 20:39 
QuestionMaking an Edit multiline? Pin
steven117-Jul-04 1:56
steven117-Jul-04 1:56 
AnswerRe: Making an Edit multiline? Pin
siggapet7-Jul-04 3:49
siggapet7-Jul-04 3:49 
GeneralRe: Making an Edit multiline? Pin
steven117-Jul-04 6:06
steven117-Jul-04 6:06 
GeneralDifference between thread and fiber on windows Pin
haritadala7-Jul-04 1:46
haritadala7-Jul-04 1:46 
GeneralRe: Difference between thread and fiber on windows Pin
David Crow7-Jul-04 2:35
David Crow7-Jul-04 2:35 
QuestionHow to Detect Invalid Filenames Pin
Steve Thresher7-Jul-04 1:37
Steve Thresher7-Jul-04 1:37 
AnswerRe: How to Detect Invalid Filenames Pin
V.7-Jul-04 1:44
professionalV.7-Jul-04 1:44 
AnswerRe: How to Detect Invalid Filenames Pin
PengFeidu7-Jul-04 2:17
PengFeidu7-Jul-04 2:17 
Generali Have two Question Pls Some one reply Pin
ThatsAlok6-Jul-04 23:55
ThatsAlok6-Jul-04 23:55 
GeneralRe: i Have two Question Pls Some one reply Pin
Abhi Lahare7-Jul-04 0:34
Abhi Lahare7-Jul-04 0:34 
GeneralRe: i Have two Question Pls Some one reply Pin
ThatsAlok7-Jul-04 2:34
ThatsAlok7-Jul-04 2:34 
GeneralRe: i Have two Question Pls Some one reply Pin
David Crow7-Jul-04 2:57
David Crow7-Jul-04 2:57 
GeneralRe: i Have two Question Pls Some one reply Pin
ThatsAlok7-Jul-04 4:29
ThatsAlok7-Jul-04 4:29 
GeneralRe: i Have two Question Pls Some one reply Pin
David Crow7-Jul-04 4:32
David Crow7-Jul-04 4:32 
GeneralRe: i Have two Question Pls Some one reply Pin
Abhi Lahare7-Jul-04 2:58
Abhi Lahare7-Jul-04 2:58 
GeneralRe: i Have two Question Pls Some one reply Pin
ThatsAlok7-Jul-04 4:37
ThatsAlok7-Jul-04 4:37 

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.