Geir Magnusson Jr. wrote:
On Jul 3, 2005, at 8:25 AM, Ben Laurie wrote:
Joel Neely wrote:
Typed, constrained object references vs. untyped, unconstrained
pointers.
C has typed pointers.
How are they really typed? In Java, I'll get a runtime exception when
I mis-cast... In C,
On Jul 4, 2005, at 4:00 AM, Ben Laurie wrote:
Geir Magnusson Jr. wrote:
On Jul 3, 2005, at 8:25 AM, Ben Laurie wrote:
Joel Neely wrote:
Typed, constrained object references vs. untyped, unconstrained
pointers.
C has typed pointers.
How are they really typed? In Java, I'll get a
Geir Magnusson Jr. wrote:
On Jul 4, 2005, at 4:00 AM, Ben Laurie wrote:
Geir Magnusson Jr. wrote:
On Jul 3, 2005, at 8:25 AM, Ben Laurie wrote:
Joel Neely wrote:
Typed, constrained object references vs. untyped, unconstrained
pointers.
C has typed pointers.
How are they really
Re Cast? Why do you want to do that? one might respond with cases such as
- variant types,
- code to implement a container/collection with arbitrary payloads, or
- because I want to do something naughty.
OK, maybe my one-liner was a bit cryptic (mea culpa). The
less-abbreviated version reads more
* Joel Neely:
Typed, constrained object references vs. untyped, unconstrained
pointers.
Yes, but at some point in the compilation process, you have to flatten
safe object references to unsafe machine addresses. You can defer
this to the last instant with typed assembly language, but I don't
On Jul 4, 2005, at 9:17 AM, Ben Laurie wrote:
Geir Magnusson Jr. wrote:
On Jul 4, 2005, at 4:00 AM, Ben Laurie wrote:
Geir Magnusson Jr. wrote:
On Jul 3, 2005, at 8:25 AM, Ben Laurie wrote:
Joel Neely wrote:
Typed, constrained object references vs. untyped,
unconstrained
Unfortunately, I am not allowed to download JikesRVM at this time.
Since I can't download Jikes, I did the next best thing -- a Google
search. As far as I can tell, MMTK is part of JikesRVM and does not
exist as a stand-alone entity. Is this correct?
Also, the following mail archive says that
How are they really typed? In Java, I'll get a runtime exception
when I mis-cast... In C, IIRC, I get long hours of debugging...
Cast? Why do you want to do that?
I meant in C (which doesn't have superclasses).
Ever done a 'malloc' ? :)