Hacker News new | past | comments | ask | show | jobs | submit login

As a C programmer I like the concept but debugging is going to be a nightmare. Look at how pointers translate to Javascript. I don't foresee being able to debug anything with code like that in Chrome Developer Tools.



The code is still very young (less than a month old). Debugging in C is done by printing hex values and using valgrind, so debugging here can be done by printing hex values (array indexes in the heap or stack) and creating a valgrind that runs at about the same speed as a non-valgrind session, since valgrind can be implemented in the js engine.


Actually, you could build something like Valgrind quite easily. You can replace the underlying heap with a JS proxy and trap all read/writes, it would be a fun project.


Once Chrome and *JS support SourceMap it shouldn't be that hard to debug.




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

Search: