4 ms·
It would be hard in the presence of parametric polymorphism (multiple functions having the same name but different numbers and types of parameters), as well as
by koenigdavidmj 14y ago
It would be hard in the presence of parametric polymorphism (multiple functions having the same name but different numbers and types of parameters), as well as the difference between C++'s and Python's method resolution semantics (in Python, for instance, everything is virtual).
Also, templates.
Also, a bunch of other things.
- madlag 14y agoThanks for the reply. I just spent the last 3-4 days hacking around osgswig, having a good (and simple) binding solution for C++ / python is still an open problem ...
- mamcx 14y agoAnd obj-c? Also hard?
- kennywinker 14y agoYou'd have to shoehorn the obj-c runtime in there somehow. Almost definitely not worth the effort. What would you want to run in this way?
- emillon 14y agoThat's not parametric polymorphism, that's function overloading. The former makes it possible to use the same function implementation on different types, whereas the latter is about using the same name for different functions.