4 ms·
With these restoration projects, I am usually looking to maximise code portability and minimise dependencies, which for me means C. Sticking with Pascal would
by loadzero 6y ago
With these restoration projects, I am usually looking to maximise code portability and minimise dependencies, which for me means C.
Sticking with Pascal would have been more authentic to the original source code, but I think that would have been more painful for me to deal with, and come with a lot of unknown unknowns.
I would likely also have been sacrificing my ability to port it onto the web and other interesting targets.
- pjmlp 6y agoFreePascal WebAssembly is almost fully there and FPC already has plenty of supported targets, basically almost any CPU that matters. However it is your project, your decisions.
- fiddlerwoaroof 6y agoYeah, that makes sense, I mentioned freepascal specifically because it has pretty broad platform support (and can generate LLVM bitcode). But, maybe the cost of translating to C is worth it.