Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #7060
| From | Roedy Green <see_website@mindprod.com.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: virtual method lookup and accessibility |
| Date | 2011-08-12 14:43 -0700 |
| Organization | Canadian Mind Products |
| Message-ID | <g87b47dgg6r5frelo0a6ip42gedvsous0a@4ax.com> (permalink) |
| References | <81218f19-7d4f-49b2-a83b-888d2eea284a@a4g2000yqg.googlegroups.com> |
On Fri, 12 Aug 2011 02:21:00 -0700 (PDT), Jay Foad <jay.foad@gmail.com> wrote, quoted or indirectly quoted someone who said : >The language spec section 15.12.4.4 "Locate Method to Invoke" (http:// >java.sun.com/docs/books/jls/third_edition/html/ Gosling tried to leave as scope as possible for innovation, so the spec is pretty vague and abstract. To understand how a concrete implementation might work, try reading some of Bjarne Stroustrup's books. His Design and Evolution of C++ and the tech ref manual explain how virtual methods can be implemented. Look for VTBL in the index. I had an orgasmic Ah Ha moment when VTBLs suddenly clicked. I had tried to invented them on my own unsuccessfully for my own language. A further technique I used earlier was studying assembler listings from the Jet compiler. They no longer let you see the code. Customers were worried it might make binaries easier to crack. -- Roedy Green Canadian Mind Products http://mindprod.com Most of computer code is for telling the computer what do if some very particular thing goes wrong.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar
virtual method lookup and accessibility Jay Foad <jay.foad@gmail.com> - 2011-08-12 02:21 -0700
Re: virtual method lookup and accessibility kedar mhaswade <kedar.mhaswade@gmail.com> - 2011-08-12 07:20 -0700
Re: virtual method lookup and accessibility Lew <lewbloch@gmail.com> - 2011-08-12 06:55 -0700
Re: virtual method lookup and accessibility Jay Foad <jay.foad@gmail.com> - 2011-08-12 08:27 -0700
Re: virtual method lookup and accessibility Lew <lewbloch@gmail.com> - 2011-08-12 14:46 -0700
Re: virtual method lookup and accessibility Roedy Green <see_website@mindprod.com.invalid> - 2011-08-12 14:43 -0700
csiph-web