High level language to prototype your program?
-
29-04-2021 - |
문제
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.