Question

What is a good high level language to prototype your program in for later optimization in c ( structurally similar in terms of function calls and stuff)?

Thanks.

Was it helpful?

Solution

I like python. It can make use of sockets, ioctl, structs etc. And with ctypes, you can interface with external libs.

OTHER TIPS

Without knowing much of the DPLL algorithm, I'd recommend Python as well, but not for the same reasons as tMC (not so relevant here): I'd recommend it for its lightweight syntax and wonderful ease of use of data structures like lists and dictionaries.

Control structures map in a straightforward way to those of C. Simple data structures can map to C structs and arrays; more sohisticated ones can require C++'s STL (or C equivalents). I'd recommend not to take any porting decision until the Python code is fully matured.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top