Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> puts the instruction pointer of existing threads that were running that code into some similar location in the new code

If you're implying that this isn't thread safe, you're wrong. Edit and continue works just like how you described Lisp code reloading. Works just fine in production if you're crazy enough to push a debug build.

I dunno why Lisp people keep advertising ancient and widely distributed tech as revolutionary. Eg have you looked at LLVM XRay? It's yet another "self modifying C code hack", except it's explicitly designed to work in production on release builds: https://llvm.org/docs/XRay.html



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: