Ovld – Efficient and featureful multiple dispatch for Python
https://github.com/breuleux/ovld
#HackerNews #Ovld #Python #MultipleDispatch #Efficiency #Featureful
Ovld – Efficient and featureful multiple dispatch for Python
https://github.com/breuleux/ovld
#HackerNews #Ovld #Python #MultipleDispatch #Efficiency #Featureful
@pwm Yeah, the thing is that it conflates #SingleDispatch #OOP with #MultipleDispatch, but only the former is opposed to data-oriented design. The latter rather centers it as the primary concern and main way to do things.
So the statement just ends-up nonsensical and looking slightly ignorant.
It really just irks me when people conflate #SingleDispatch #ObjectOriented programming with #MultipleDispatch.
They're both #OOP, but they have some pretty drastic differences in how they go about it and that has consequences for the code's maintainability and often performance as well.
WRT #CommonLisp Object System (#CLOS):
The seminal book ›The Art of the Metaobject protocol‹ (1991, #AMOP) by #Kiczales, #Rivieres & #Bobrow demonstrates & discusses many design patterns for #ObjectSystem|s with #metaobject protocol, in which methods are not part of classes, due to #multimethod, #multipledispatch paradigms.
It also contributed much to #DylanLang.
🌺
🦎 https://telegram.me/FamilyOfLisp
🦎 https://matrix.to/#/#family-of-lisp:magdeburg.jetzt
You may want to consider the concept of #Prototypes with #MultipleDispatch (#PMD) by #LeeSalzman and #JonathanAldrich, as implemented in the #Slate programming language:
🔗 Slate → https://www.cs.cmu.edu/~aldrich/papers/ecoop05pmd.pdf
🔗 Lee → http://sauerbraten.org/lee/
🔗 Jonathan → https://www.cs.cmu.edu/~aldrich/
@swatantra Yeah I think Julia is definitely a nice to have! More than speed I just enjoy coding with it. Plus it introduce to some concepts I wasn't familiar with. I know #OOP but #MultipleDispatch ? That's interesting