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

The spec defines the semantics, not the performance. I think that's a pretty concrete distinction.

But it's a distinction you have to make. Concrete ≠ obvious.

Other things that are sometimes in specs and sometimes not:

Is the intermediate state of a running Hoon program specified by the code? (It matters for someone writing a debugger!)

Is how the compiled program handles data at runtime specified? (It matters for a cryptographer!)

Are the errors produced by the compiler specified? (It matters for an IDE!)

Does the compiler have any limitations that should be allowed to be reduced / not have any limitations that should be allowed to be restricted? (It matters for anyone trying to make a faster compiler!)

I think the source of the confusion is that I'm carving off a stricter, and smaller, definition of the word "spec" than what we're used to. I agree. The word is not quite right.

In general the answer to your questions is "yes and no." Well, really it's no - except that as a fairly common case, for example when we want to catch compiler errors without breaking out of the system, we virtualize Nock within itself. This is also serviceable when it comes to adding an extra operator, 11, that dereferences the global namespace. But the fact that "virtual Nock" is just a virtualization stack within one Nock interpreter is not semantically detectable.

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