Very interesting. I would love to see this for other programming languages, especially Ruby (probably fairly easy) or Objective-C (may be quite hard).
https://github.com/albertz/Pyjector (and then access the ObjC runtime via the Python ObjC bridge)
11–20 of 23 posts
Very interesting. I would love to see this for other programming languages, especially Ruby (probably fairly easy) or Objective-C (may be quite hard).
https://github.com/albertz/Pyjector (and then access the ObjC runtime via the Python ObjC bridge)
What are the consequences of running this in production? What's the performance hit like, is it unsafe, etc.?
Very interesting. I would love to see this for other programming languages, especially Ruby (probably fairly easy) or Objective-C (may be quite hard).
For ObjC: https://github.com/albertz/Pyjector (and then access the ObjC runtime via the Python ObjC bridge) https://github.com/albertz/FScriptAnywhereSIMBL
http://www.cycript.org/ http://iphonedevwiki.net/index.php/Cycript
Very interesting. I would love to see this for other programming languages, especially Ruby (probably fairly easy) or Objective-C (may be quite hard).
What are the consequences of running this in production? What's the performance hit like, is it unsafe, etc.?
As the readme notes, it's completely unsafe if you perform any mutation operation.
As to the performance hit, I'd expect almost none when not in use for long-running processes: it spawns a thread, and that thread will then wait on a socket accept, no connection, no resources spent. You'll still be paying in memory for the server thread, but that's it (the server thread only creates two objects, an rlcompleter.Completer instance and a function).
Very interesting. I would love to see this for other programming languages, especially Ruby (probably fairly easy) or Objective-C (may be quite hard).
Very interesting. I would love to see this for other programming languages, especially Ruby (probably fairly easy) or Objective-C (may be quite hard).
(And there have been various projects to provide some sub-capabilities for years.)
I usually wrap it into our error logging functions, so an environment variable enables debugging where I would normally have a catch-all -- very handy when looking for heisenbugs in AndBug.
AntiLog -- https://gist.github.com/a256ed1295619fad7cfc
AndBug -- https://github.com/swdunlop/andbug
Very interesting. I would love to see this for other programming languages, especially Ruby (probably fairly easy) or Objective-C (may be quite hard).