if on the other hand we tried to centrally plan this and dictate what sorts of code are acceptable and what sorts arnt, than who know what sort of innovation we may be stifling for lack of creativity and foresight on our part.
Good grief - suggesting ideas for a "useful instruction set" is now called "central planning"?
So - let's say we go with the idea of the 1 instruction low-level language and we charge say 1 NXT per 100 "operations".
Then a simple SHA256 operation will likely cost you 100's of NXT - so we have now a completely useless VM for doing SHA256 (but at least it wasn't "centrally planned" I guess).
No one has answered what it will do 1000 tps claims?
Indeed - the reason why I was suggesting we would need a "practical" instruction set if we are going to bother with this at all.
I would imagine much cheaper to pay 1 NXT for client generate AM that does any complex calcs. The scripts can access AM data, so the idea is for the higherlevel code to push down expensive to calculate data into AM
How would it impact the decentralized exchanges without any third part gateways when even simple SHA 256 operations would be that costly?
I think this will have serious security implications (and flaws). I doubt it work at all.
CPU intensive calculations will be done in the client (or service module on hub) and pushed down to the Script via AM data
The problem is not calculation time, as with proper allocation of work to the appropriate layer you have access to the local CPU, the hub server CPU before it goes into the molasses slow VM. The key to designing practical system is to minimize the work that the Turing script needs to do. Its goal is to generate AM data that is then processed by hub server modules and/or client
My thinking on automating gateways already has several solutions using multisig approaches, I have posted before. However, I think there could well be a way to implement a method similar to XCP's escrow process followed by BTCpay. Just need to add LTCpay, DOGEpay, etc.
There will certainly be bugs at first, but a gateway does not do any really complicated tasks. Deposit and withdraw. Not sure why you are so skeptical that it wouldn't work.
I dont understand the multisig methods with timeouts in the articles, but I am sure someone else will. I also think someone else will be able to figure out an analogue for XCP escrow process.
When someone says something is impossible, it only means that it is impossible for them to do it. I just keep asking until I find someone that says it is really difficult!
James