{"action":"opened","issue":{"url":"https://api.github.com/repos/dropbox/djinni/issues/263","repository_url":"https://api.github.com/repos/dropbox/djinni","labels_url":"https://api.github.com/repos/dropbox/djinni/issues/263/labels{/name}","comments_url":"https://api.github.com/repos/dropbox/djinni/issues/263/comments","events_url":"https://api.github.com/repos/dropbox/djinni/issues/263/events","html_url":"https://github.com/dropbox/djinni/issues/263","id":169135193,"number":263,"title":"About Djinni feature support","user":{"login":"kinglezhuang","id":8346837,"avatar_url":"https://avatars.githubusercontent.com/u/8346837?v=3","gravatar_id":"","url":"https://api.github.com/users/kinglezhuang","html_url":"https://github.com/kinglezhuang","followers_url":"https://api.github.com/users/kinglezhuang/followers","following_url":"https://api.github.com/users/kinglezhuang/following{/other_user}","gists_url":"https://api.github.com/users/kinglezhuang/gists{/gist_id}","starred_url":"https://api.github.com/users/kinglezhuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kinglezhuang/subscriptions","organizations_url":"https://api.github.com/users/kinglezhuang/orgs","repos_url":"https://api.github.com/users/kinglezhuang/repos","events_url":"https://api.github.com/users/kinglezhuang/events{/privacy}","received_events_url":"https://api.github.com/users/kinglezhuang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-03T13:45:43Z","updated_at":"2016-08-03T13:45:43Z","closed_at":null,"body":"Currently, I use Djinni for our project. Djinni is a great opensource project. But i met some problems.\r\n\r\n1. Djinni Interface could not support class hierarchy. Swig or Jinjia can support that, but Djinni more convenience to define interface.\r\n    Example: I have a base class & two subclasses, How can i use IDL file to define them.\r\n    Do you have a plan to support this feature & when?\r\n    Especially, Object-Oriented language without such feature can make code more complex.\r\n\r\n2. I use 'interface +c' to define interface, the interface will be implemented in c++ & can be called from any language. But if i use 'interface +j +o' to define interface, the interface will be implemented in Java or Objective-C & can be called from C++. Most of time, Such interface is mainly used for c++ call specific platform features. For iOS, the generated objc file use 'protocol' to define interface, but for Android, why use 'abstract' to define abstract class, not use 'interface' to define interface. In Java, the class can not support multiple inheritance, only interface can support multiple inheritance. I think Java can keep the same semantic with iOS.\r\n\r\nIf Djinni can support above features, it can become more perfectly opensource project in the world."}}
{"actor":{"display_login":"kinglezhuang"}}