News for hackers. Stuff that matters.
Re:Rebuilding the Racket Compiler with Chez Scheme by rscho on Friday November 27, 2020 @11:06AM (#25229756)
I have no CL experience but doesn't a CLOS system require multiple dispatch?
Re:Rebuilding the Racket Compiler with Chez Scheme by dfox on Friday November 27, 2020 @01:40PM (#25231439)
CLOS is inherently multiple dispatch, but Flavours that are the most prominent precursor of CLOS were single dispatch. Interesting consequence of that is that IIRC traditional implementation of CLOS/MOP does not really use multiple-dispatch internally.
Re:Rebuilding the Racket Compiler with Chez Scheme by ska on Friday November 27, 2020 @12:18PM (#25230522)
It's multiple dispatch, but the meta-object protocol runs deeper than that (e.g. :before, :after, :around )
Re:Rebuilding the Racket Compiler with Chez Scheme by Pet_Ant on Friday November 27, 2020 @11:11AM (#25229812)
With macros you can easily build your own multiple dispatch, it's really not a concern.
Re:Rebuilding the Racket Compiler with Chez Scheme by rscho on Friday November 27, 2020 @02:05PM (#25231648)
Well, there's at least the concern that multiple dispatch results in unsafe edge cases across module boundaries, apparently.

So, multiple dispatch as a library yes (and racket has that), but probably not ok in the core language?