2 ms·
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 printin
by sounds 14y ago
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.
- mbebenita 14y agoActually, 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.