{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/25532","repository_url":"https://api.github.com/repos/dart-lang/sdk","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/25532/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/25532/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/25532/events","html_url":"https://github.com/dart-lang/sdk/issues/25532","id":127519365,"number":25532,"title":"Provide streamlined Foreign Function Interface like Java's JNA","user":{"login":"jirkadanek","id":442720,"avatar_url":"https://avatars.githubusercontent.com/u/442720?v=3","gravatar_id":"","url":"https://api.github.com/users/jirkadanek","html_url":"https://github.com/jirkadanek","followers_url":"https://api.github.com/users/jirkadanek/followers","following_url":"https://api.github.com/users/jirkadanek/following{/other_user}","gists_url":"https://api.github.com/users/jirkadanek/gists{/gist_id}","starred_url":"https://api.github.com/users/jirkadanek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirkadanek/subscriptions","organizations_url":"https://api.github.com/users/jirkadanek/orgs","repos_url":"https://api.github.com/users/jirkadanek/repos","events_url":"https://api.github.com/users/jirkadanek/events{/privacy}","received_events_url":"https://api.github.com/users/jirkadanek/received_events","type":"User","site_admin":false},"labels":[{"id":219928165,"url":"https://api.github.com/repos/dart-lang/sdk/labels/area-vm","name":"area-vm","color":"c7def8","default":false},{"id":334529267,"url":"https://api.github.com/repos/dart-lang/sdk/labels/Type:%20enhancement","name":"Type: enhancement","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-01-19T19:27:50Z","updated_at":"2016-12-13T13:17:37Z","closed_at":null,"body":"JNA (https://github.com/java-native-access/jna) allows calling into dynamically loaded native libraries from Java without writing any glue code in C. What's more, it can do the calls efficiently.\n\nAnother example of streamlined FFI interface is http://luajit.org/ext_ffi.html\n\nThe approach to calling native code described in https://www.dartlang.org/articles/native-extensions-for-standalone-dart-vm/#anatomy-of-a-native-extension is very different and much less straightforward.\n\nThe point of this feature request is that I would like to see a JNAlike FFI in Dart. This issue is a followup of #21983\n"},"comment":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/comments/266735834","html_url":"https://github.com/dart-lang/sdk/issues/25532#issuecomment-266735834","issue_url":"https://api.github.com/repos/dart-lang/sdk/issues/25532","id":266735834,"user":{"login":"floitschG","id":8631949,"avatar_url":"https://avatars.githubusercontent.com/u/8631949?v=3","gravatar_id":"","url":"https://api.github.com/users/floitschG","html_url":"https://github.com/floitschG","followers_url":"https://api.github.com/users/floitschG/followers","following_url":"https://api.github.com/users/floitschG/following{/other_user}","gists_url":"https://api.github.com/users/floitschG/gists{/gist_id}","starred_url":"https://api.github.com/users/floitschG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floitschG/subscriptions","organizations_url":"https://api.github.com/users/floitschG/orgs","repos_url":"https://api.github.com/users/floitschG/repos","events_url":"https://api.github.com/users/floitschG/events{/privacy}","received_events_url":"https://api.github.com/users/floitschG/received_events","type":"User","site_admin":false},"created_at":"2016-12-13T13:17:37Z","updated_at":"2016-12-13T13:17:37Z","body":"This would be a multi-area effort (touching on the VM, precompilation, frontend, ...), so CCing /cc  @mraleph @kmillikin "}}
{"actor":{"display_login":"floitschG"}}