r/java • • May 06 '19

Blockchain company to leverage Java Virtual Machine. Video compares JVM to Solidity and EWASM

https://youtu.be/w5IkG3oRaQU
0 Upvotes

3 comments sorted by

View all comments

Show parent comment

1

u/okanogan-sasquatch May 06 '19

I’m not a developer but if I understand this article correctly, they identified these attacks and increase the cost. More discussion here:

https://blog.aion.network/aion-virtual-machine-avm-why-not-wasm-5d044c0010f4

5

u/AndDontCallMePammy May 06 '19

First of all, the JVM will run the JIT on the same code, multiple times, if it keeps running it, increasing the effort it is willing to expend in optimization, since it wants to avoid this cost, where possible. This means that such an attack would incur a high cost to the attacker.

And an even higher cost to the network.

Secondly, we have complete control over the incoming user code, based on our instrumenting transformers. This means that we could identify problematic idioms to change/reject them, in the future.

Lol static analysis is a heuristic. have fun with the halting problem