3 ms·
While what you're saying might be true, I can't help but think about Pascal units and say: "It didn't have to be this hard! We solved this problem 40 years ago!
by oblio 9y ago
While what you're saying might be true, I can't help but think about Pascal units and say: "It didn't have to be this hard! We solved this problem 40 years ago!"
- rcarmo 9y agoAnd then Modula-2 came along and... well, it was mostly the same. But the compactness of Pascal output left fond memories.
- vidarh 9y agoYes there are plenty of other solutions if you use other languages, but I decided to constrain myself to how you'd address it in C++
- nopakos 9y agoSorry, it's the same in Delphi (Pascal successor). The compilation time goes up exponentially as number of units goes up. Compilation of 2.000 files (750.000 lines) takes about 20 minutes.
- pjmlp 9y agoWith the caveat that one doesn't need to do "make world" every time a few files change.
- beagle3 9y agoThe heir to the Pascal/Delphi kingdom seems to be Nim[0], though it takes its syntax from Python. Compilation is impressively quick, even though it goes through C. [0] https://nim-lang.org/ https://nim-lang.org/
- girvo 9y agoWhich is a language I absolutely adore, and am building a homomorphic encryption based product leveraging Hyperledger on a rather obscure 160 hardware thread POWER8 server; it can definitely work for real production tasks today, even if some parts are rough (and hell, C++ can be rough too). Parallel compilation on this machine is stupidly quick :)
- dman 9y agoAny pointers to what power hardware you are running?
- robotresearcher 9y agoYou don't need pointers - just follow the fan noise from wherever you are.