Re: Security

2005-07-04 Thread Ben Laurie
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,

Re: Security

2005-07-04 Thread Geir Magnusson Jr.
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

Re: Security

2005-07-04 Thread Ben Laurie
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: Security

2005-07-04 Thread Joel Neely
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

Re: Security

2005-07-04 Thread Florian Weimer
* 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

Re: Security

2005-07-04 Thread Geir Magnusson Jr.
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

Re: Minutes of First Harmony Meeting

2005-07-04 Thread Weldon Washburn
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

Re: Security

2005-07-04 Thread Robin Garner
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' ? :)