HackerTrans
TopNewTrendsCommentsPastAskShowJobs

sklogic

no profile record

comments

sklogic
·10 वर्ष पहले·discuss
And compiling in a debug mode also results in huge recompile times. Is it such a problem?

There is no big difference between building with contracts and logs on (log level is selected dynamically, no need to recompile) and building with debug symbols/suppressed optimisations.
sklogic
·10 वर्ष पहले·discuss
I'm 100% serious. Interactive debugging is hugely overrated. I am not aware of a debugging technique better than logging + contracts + asserts.
sklogic
·10 वर्ष पहले·discuss
> The only way they debug the massive Scheme part is using print statements.

Why would you need anything else for debugging?!?
sklogic
·10 वर्ष पहले·discuss
> in fact that's how hash tables in essentially ALL languages ARE implemented

Obviously a false statement.
sklogic
·10 वर्ष पहले·discuss
C is far too high level to be a "foundation". NAND gate is a foundation.
sklogic
·12 वर्ष पहले·discuss
Exactly, where to draw a line? Explaining a concept of abstract and virtual machines may take a few pages of a dense text, explaining how to parse expressions with precedence may require dozens of pages, explaining C types will add a few more.

So, yes, it's either you're curious enough to dig into a code and find the relevant explanations somewhere else (the said Dragon Book and alike), or you won't get it, regardless of how comprehensive comments are.
sklogic
·12 वर्ष पहले·discuss
You seem to suggest that a niche, minimalistic toy example should always be accessible to non-developers.
sklogic
·12 वर्ष पहले·discuss
Basically, what you're saying is that any toy compiler example should be accompanied with a copy of the Dragon Book.