{"action":"created","issue":{"url":"https://api.github.com/repos/yuin/gopher-lua/issues/57","labels_url":"https://api.github.com/repos/yuin/gopher-lua/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/yuin/gopher-lua/issues/57/comments","events_url":"https://api.github.com/repos/yuin/gopher-lua/issues/57/events","html_url":"https://github.com/yuin/gopher-lua/issues/57","id":123421014,"number":57,"title":"how do you think of supporting closure serialization of lua?","user":{"login":"xtaci","id":2346725,"avatar_url":"https://avatars.githubusercontent.com/u/2346725?v=3","gravatar_id":"","url":"https://api.github.com/users/xtaci","html_url":"https://github.com/xtaci","followers_url":"https://api.github.com/users/xtaci/followers","following_url":"https://api.github.com/users/xtaci/following{/other_user}","gists_url":"https://api.github.com/users/xtaci/gists{/gist_id}","starred_url":"https://api.github.com/users/xtaci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xtaci/subscriptions","organizations_url":"https://api.github.com/users/xtaci/orgs","repos_url":"https://api.github.com/users/xtaci/repos","events_url":"https://api.github.com/users/xtaci/events{/privacy}","received_events_url":"https://api.github.com/users/xtaci/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-22T06:11:52Z","updated_at":"2015-12-24T07:40:02Z","closed_at":null,"body":"Closure serialization, which means code and it's context partly evaluated.\r\nIn my business, If a closure can be serialized, it can be passed to remote service to apply with the input provided by the remote service.\r\n\r\na closure(args1...N) -----> remote service(   apply(closure,input)  )\r\n\r\nThis feature is quite useful in distributed system, for example:\r\n1. Data broker\r\n2. Remote data warehouse analyze\r\n\r\nWithout this, I can only implement Context(some arguments provided) + Code Snippet String (not evaluated) to remote service and Apply(Context, Args, Code)\r\n\r\nHow do you think of this?\r\n\r\nPS:\r\nhttps://github.com/jeremeamia/super_closure"},"comment":{"url":"https://api.github.com/repos/yuin/gopher-lua/issues/comments/167061888","html_url":"https://github.com/yuin/gopher-lua/issues/57#issuecomment-167061888","issue_url":"https://api.github.com/repos/yuin/gopher-lua/issues/57","id":167061888,"user":{"login":"xtaci","id":2346725,"avatar_url":"https://avatars.githubusercontent.com/u/2346725?v=3","gravatar_id":"","url":"https://api.github.com/users/xtaci","html_url":"https://github.com/xtaci","followers_url":"https://api.github.com/users/xtaci/followers","following_url":"https://api.github.com/users/xtaci/following{/other_user}","gists_url":"https://api.github.com/users/xtaci/gists{/gist_id}","starred_url":"https://api.github.com/users/xtaci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xtaci/subscriptions","organizations_url":"https://api.github.com/users/xtaci/orgs","repos_url":"https://api.github.com/users/xtaci/repos","events_url":"https://api.github.com/users/xtaci/events{/privacy}","received_events_url":"https://api.github.com/users/xtaci/received_events","type":"User","site_admin":false},"created_at":"2015-12-24T07:40:02Z","updated_at":"2015-12-24T07:40:02Z","body":"It's too hard for me alone to implement this.\r\nIf you start a new library to do this , I can contribute some code."}}