4 ms·
The Unreasonable Effectiveness of Multiple Dispatch in Julia (2019)
- jauntywundrkind 1y agoI wish we saw more people hacking wildly on JavaScript proxies. Subtly quietly doing multiple-dispatch without most folks being much the wiser is so imminently within possibility in JS since 2016[1]. There's some really nice uses (Svelte) but I think in general our ambition to hack the JS runtime with proxies, to build cool meta-object-protocols, has been way way way way undermatched versus the potential about here. [1] https://caniuse.com/?search=Proxy https://caniuse.com/?search=Proxy
- evertheylen 1y agoThis sounds enticing! I use multiple dispatch in JS but I wrote my own library for it. Could you give an example of how one would use proxies to do multiple dispatch?
- emorning3 1y agoI'm late to this party but I would love to hear what folks use to do multiple-dispatch in other languages.