I am trying to write a programming nomic that uses SpiderMonkey for its engine—essentially, EcmaNomic but without the part where it sucks. >.> Unfortunately, I’ve been a bit akratic about it lately. If anyone knows C or C++ or anything like that, I would love it if you could assist me in any way. Of course, encouragement would also help a bunch.
I’m curious why you want to use a particular JavaScript engine, rather than using whatever happens to be built into a web browser.
Anyway, if you link to a Github repository or something, I’ll at least have a look at it and offer encouraging comments. I know C and C++, but prefer to avoid them. :-)
SpiderMonkey is what happens to be built into a web browser; it’s used by Mozilla browsers. :P
What you meant, I think, is having the code simply be run in people’s browsers. The thing is, nomics are inherently multiplayer, so if the code ran in the people’s browsers, each person’s instance would have to connect to the other instances and… eh, it’s just a lot easier and simpler to run it on the server side.
If it were feasible, I would; unfortunately, the problems I see in EcmaNomic are not in the code it runs, but the way it runs it. In particular, in EcmaNomic, all code runs with the same permissions, and the nomic’s entire state is sent out to the browser every time a page is loaded. This means that the nomic can’t run code it doesn’t trust, nor can it easily keep any secrets from the players, nor can it store an amount of data too large to send out to everyone often.
So, I’m writing an entirely new engine.
Oh, and as for poking, please do; the more this is kept on my mind, the more work I can do with it.
I am trying to write a programming nomic that uses SpiderMonkey for its engine—essentially, EcmaNomic but without the part where it sucks. >.> Unfortunately, I’ve been a bit akratic about it lately. If anyone knows C or C++ or anything like that, I would love it if you could assist me in any way. Of course, encouragement would also help a bunch.
I’m curious why you want to use a particular JavaScript engine, rather than using whatever happens to be built into a web browser.
Anyway, if you link to a Github repository or something, I’ll at least have a look at it and offer encouraging comments. I know C and C++, but prefer to avoid them. :-)
Your project sounds interesting.
SpiderMonkey is what happens to be built into a web browser; it’s used by Mozilla browsers. :P
What you meant, I think, is having the code simply be run in people’s browsers. The thing is, nomics are inherently multiplayer, so if the code ran in the people’s browsers, each person’s instance would have to connect to the other instances and… eh, it’s just a lot easier and simpler to run it on the server side.
I might put it on GitHub at some point.
Hi Warrigal!
I don’t have the programming skills to know whether this is feasible, but have you considered writing it up as an EcmaNomic proposal?
I seriously doubt I could help with something like that except to poke you occasionally.
Hey, Pavitra.
If it were feasible, I would; unfortunately, the problems I see in EcmaNomic are not in the code it runs, but the way it runs it. In particular, in EcmaNomic, all code runs with the same permissions, and the nomic’s entire state is sent out to the browser every time a page is loaded. This means that the nomic can’t run code it doesn’t trust, nor can it easily keep any secrets from the players, nor can it store an amount of data too large to send out to everyone often.
So, I’m writing an entirely new engine.
Oh, and as for poking, please do; the more this is kept on my mind, the more work I can do with it.