{"action":"opened","issue":{"url":"https://api.github.com/repos/cretonne/cretonne/issues/327","repository_url":"https://api.github.com/repos/cretonne/cretonne","labels_url":"https://api.github.com/repos/cretonne/cretonne/issues/327/labels{/name}","comments_url":"https://api.github.com/repos/cretonne/cretonne/issues/327/comments","events_url":"https://api.github.com/repos/cretonne/cretonne/issues/327/events","html_url":"https://github.com/cretonne/cretonne/issues/327","id":320591079,"number":327,"title":"Question: feasibility of a Dalvik/dex backend?","user":{"login":"akavel","id":273837,"avatar_url":"https://avatars1.githubusercontent.com/u/273837?v=4","gravatar_id":"","url":"https://api.github.com/users/akavel","html_url":"https://github.com/akavel","followers_url":"https://api.github.com/users/akavel/followers","following_url":"https://api.github.com/users/akavel/following{/other_user}","gists_url":"https://api.github.com/users/akavel/gists{/gist_id}","starred_url":"https://api.github.com/users/akavel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akavel/subscriptions","organizations_url":"https://api.github.com/users/akavel/orgs","repos_url":"https://api.github.com/users/akavel/repos","events_url":"https://api.github.com/users/akavel/events{/privacy}","received_events_url":"https://api.github.com/users/akavel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-06T13:05:49Z","updated_at":"2018-05-06T13:05:49Z","closed_at":null,"author_association":"NONE","body":"Would it be hard to add a Dalvik/dex backend? I'm interested in maybe trying. Hiw would you evaluate feasibility of such an idea? AFAIU, Dalvik is a register-based VM, so maybe doable?\r\n\r\nI know x86 assembly and C++; I don't know Dalvik, but at a first glance the instruction set looks reasonably small; I don't know Rust but I totally want to learn.\r\n\r\nIf I wanted to start hacking, should I jump into https://github.com/cretonne/cretonne/tree/master/lib/codegen/src/isa/ and start exploring the contents of arch subdirs, then try to add a new one based on those?"}}
{"actor":{"display_login":"akavel"}}