Re:PartiQL: One query language for all your data
by recursive on Thursday August 01, 2019 @07:12PM
(#20589240)
They're not classes in source code. As an implementation detail, certain compilation strategies do generate them anyway.
[ Parent
| on HN ]
Re:PartiQL: One query language for all your data
by pvg on Thursday August 01, 2019 @07:40PM
(#20589409)
Which ones?
Re:PartiQL: One query language for all your data
by recursive on Friday August 02, 2019 @03:02PM
(#20595643)
I don't know much about compilers, but basically the ones don't have anywhere else to put the context of a closure.
Re:PartiQL: One query language for all your data
by pvg on Friday August 02, 2019 @03:35PM
(#20595910)
I don't think that's what happens in the JVM, you can google up the invokevitual + other supporting gunk/mechanism for this.
Re:PartiQL: One query language for all your data
by recursive on Friday August 02, 2019 @11:00PM
(#20598372)
https://docs.oracle.com/javase/specs/jvms/se7/html/jvms-6.ht... makes plenty of references to dispatching based on class.