Message from JavaScript discussions

September 2017

— I mean, pid should just be like array indexes, right?

— 

I also decided I may not let processes use virtual memory at all, since JS generators already get a heap.

— They are this:

Scheduler.prototype.newPid = function () {
this.highestPid++;
return this.highestPid;
};

Message permanent page

— return ++this.highestPid;

— Come on

— I'm doing rapid prototyping lol

— Readability reasons?

— I didn't know about left hand increment

— Works great

— (++4) returns 5

— Wait, will actually error

— Since you can't actually increment a literal