3 ms·
Would you describe these "fundamental technical reasons"?
by fouric 6y ago
Would you describe these "fundamental technical reasons"?
- choeger 6y agoWell, I think that we need an executable format that is universal, transparent, and standardized. With ELF I can take a debugger and attach it to a rust binary as well as a C++ or go binary. Also, we want to be able to interface different languages in an efficient manner. Now with a universal executable file format that becomes possible, but requires us to have a way to combine different object files. From here on, I think it becomes obvious that we should have compilation units. A language that does not allow the definition of such a standardized object is a bad citizen, IMO. Rust, for instance does allow it, but is severely hampered by the limitations of the C-ABI.
- fouric 6y agoI still don't understand what the "fundamental technical limitation is". It seems more like you're making the argument that "an executable format that is universal, transparent, and standardized" is a predicate for getting rid of translation units - which means that it's not a fundamental problem. Additionally, I don't see how removing translation units precludes multi-language integration.