Re: How to tie
- From: Abble <grg2@xxxxxxxxxxx>
- Date: Mon, 31 Dec 2007 09:05:37 -0800 (PST)
On Dec 31, 10:52 am, Eric Sosman <esos...@xxxxxxxxxxxxxxxxxxxx> wrote:
Abble wrote:
If the goal is to interpose your own code on array accesses
in Java, I think you're out of luck: Array accesses use built-in
opcodes of the Java Virtual Machine, and there's no provision for
you to insert your own code into the JVM. (Hard to see how the
security and integrity models could permit such a thing, anyhow.)
Perhaps it's time to take a step back: What kind of code do
you want to interpose, and for what purpose? Perhaps the cat
can be skinned some other way.
--
Eric Sosman
esos...@xxxxxxxxxxxxxxxxxxxx
Thanks Eric,
What I'd like to do is tie a Java array to a a sparse array
database of sorts. These arrays might be really sparse, or maybe
dimensioned far in excess of any RAM or even VM. It sure would be
nice to present the appearance of an array[million,million,million].
I can do this in FORTRAN (by trapping segment violations), I can do
this in C (with macros), I can do it in C++, I think, by overloading
operators. I can do it in Delphi Pascal, same as in FORTRAN.
Sure would be nice to do it in Java too.
I understand this is likely to a bit of a stretch in any language
that is security-conscious.
.
- References:
- How to tie
- From: Abble
- Re: How to tie
- From: Christian
- Re: How to tie
- From: Lew
- Re: How to tie
- From: Abble
- Re: How to tie
- From: Lew
- Re: How to tie
- From: Abble
- Re: How to tie
- From: Eric Sosman
- How to tie
- Prev by Date: create subdomains on the fly in a Java web app
- Next by Date: [OT] Re: the MI 5 spammer
- Previous by thread: Re: How to tie
- Next by thread: Re: How to tie
- Index(es):
Relevant Pages
|