문제

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