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.

有帮助吗?

解决方案

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

其他提示

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top