2 ms·
The thing is that behind the scenes it's just all really hashtables, so while all that that pointless dynamism is expensive computationally it's also "free" fro
by cmrdporcupine 4y ago
The thing is that behind the scenes it's just all really hashtables, so while all that that pointless dynamism is expensive computationally it's also "free" from an implementation PoV, so that's what people do. And then later optimize with caching dispatch tables, etc. etc.
Honestly I'm surprised after all these years that there hasn't been any success getting serious hardware support for the kinds of dynamic dispatch tables used in late bound languages. Like hardware accelerated string hash tables, etc.