Skip to content

Comment on Now.js: project and review

Comments

RPC in NowJS is achieved through function stubs. The "client function" that gets run on the server is just a stub function that tells the client to run its own version.

Code is only executed on the machine on which it was defined. There is no toString or eval going on here.

Are there any other libraries that do this? Wouldn't this be fairly trivial to code up utilizing socket.io? Just curious as to what is unique about now.js

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.