jjfiv / dalvik-js

Project for CS 691ST - Dalvik VM implementation in Javascript
23 stars 11 forks source link

collections #105

Closed etosch closed 11 years ago

etosch commented 11 years ago

@jjfiv - what would it take to implement collections?

jjfiv commented 11 years ago

It looks like collections are heavily written in C/C++, so it would possibly be a lot of Javascript work.

etosch commented 11 years ago

So we're not going to be able to call anything that uses LinkedLists, etc?

On Wed, Oct 31, 2012 at 12:17 PM, John Foley notifications@github.comwrote:

It looks like collections are heavily written in C/C++, so it would possibly be a lot of Javascript work.

— Reply to this email directly or view it on GitHubhttps://github.com/jjfiv/dalvik-js/issues/105#issuecomment-9951127.

Emma Tosch Graduate Research Assistant, Computational Intelligence Lab, Hampshire College MS/PhD student, University of Massachusetts, Amherst etosch@cs.umass.edu http://cs.umass.edu/~etosch

jjfiv commented 11 years ago

Not likely. java.util. was kind of a minefield. I'd be happy to send you the files to look through, but I think it's out of scope for now (short of a few miracles)

etosch commented 11 years ago

So did the doppio people not do this?

On Wed, Oct 31, 2012 at 12:21 PM, John Foley notifications@github.comwrote:

Not likely. java.util. was kind of a minefield. I'd be happy to send you the files to look through, but I think it's out of scope for now (short of a few miracles)

— Reply to this email directly or view it on GitHubhttps://github.com/jjfiv/dalvik-js/issues/105#issuecomment-9951282.

Emma Tosch Graduate Research Assistant, Computational Intelligence Lab, Hampshire College MS/PhD student, University of Massachusetts, Amherst etosch@cs.umass.edu http://cs.umass.edu/~etosch

jjfiv commented 11 years ago

They are using a slightly different JCL; it's possible that the non-Dalvik one is less native. I can take a look at this later.

On 10/31/2012 12:24 PM, etosch wrote:

So did the doppio people not do this?

On Wed, Oct 31, 2012 at 12:21 PM, John Foley notifications@github.comwrote:

Not likely. java.util. was kind of a minefield. I'd be happy to send you the files to look through, but I think it's out of scope for now (short of a few miracles)

— Reply to this email directly or view it on GitHubhttps://github.com/jjfiv/dalvik-js/issues/105#issuecomment-9951282.

Emma Tosch Graduate Research Assistant, Computational Intelligence Lab, Hampshire College MS/PhD student, University of Massachusetts, Amherst etosch@cs.umass.edu http://cs.umass.edu/~etosch

— Reply to this email directly or view it on GitHub https://github.com/jjfiv/dalvik-js/issues/105#issuecomment-9951431.

emeryberger commented 11 years ago

IIRC they are using GNU Classpath.

Professor Emery Berger Department of Computer Science University of Massachusetts, Amherst www.cs.umass.edu/~emery

On Wed, Oct 31, 2012 at 12:26 PM, John Foley notifications@github.comwrote:

They are using a slightly different JCL; it's possible that the non-Dalvik one is less native. I can take a look at this later.

On 10/31/2012 12:24 PM, etosch wrote:

So did the doppio people not do this?

On Wed, Oct 31, 2012 at 12:21 PM, John Foley notifications@github.comwrote:

Not likely. java.util. was kind of a minefield. I'd be happy to send you the files to look through, but I think it's out of scope for now (short of a few miracles)

— Reply to this email directly or view it on GitHub< https://github.com/jjfiv/dalvik-js/issues/105#issuecomment-9951282>.

Emma Tosch Graduate Research Assistant, Computational Intelligence Lab, Hampshire College MS/PhD student, University of Massachusetts, Amherst etosch@cs.umass.edu http://cs.umass.edu/~etosch

— Reply to this email directly or view it on GitHub https://github.com/jjfiv/dalvik-js/issues/105#issuecomment-9951431.

— Reply to this email directly or view it on GitHubhttps://github.com/jjfiv/dalvik-js/issues/105#issuecomment-9951507.

jjfiv commented 11 years ago

I will see if I can dex and disassemble the collections library via the Doppio instructions later today. Their readme instructs you how to copy the classes from your installed JVM; they don't explicitly suggest Classpath.

I got the impression that Classpath died since the whole OpenJDK thing.