On 8/24/20 5:36 AM,
bol...@nowhere.co.uk wrote:
> On Sat, 22 Aug 2020 22:49:01 -0300
> Cholo Lennon <
cholo...@hotmail.com> wrote:
>> On 8/22/20 5:18 AM,
bol...@nowhere.co.uk wrote:
>>> Your problem is your compiling to web assembly. Serious programs do not
>>> run in a browser.
>>>
>>
>> I am sorry, but I have to say that your bias and ignorance is huge... I
>> didn't say my program runs in a browser... this blockchain technology
>> (EOS,
https://eos.io/ https://github.com/EOSIO) is built entirely in
>> C++17... the blockchain nodes are coded in native C++. Each node runs a
>> WASM virtual machine that executes smart contracts also coded in C++.
>
> So what exactly is this "node", hardware or software and why does it run web
> assembly inside a VM? Thats just ridiculous. Blockchain calculations are
> highly complex and need the fastest speed possible - ie a proper optimised
> binary. This sounds like some mickey mouse toy setup.
>
Ridiculous? Micky mouse toy setup? C'mon, just read about it before
emitting an opinion, you look like a troll. EOS is the fastest
blockchain *in the world* (why? because of the protocol used, because of
C++ and because of its high performant WASM VM - 6/12x over other
implementations)
https://www.blocktivity.info/
EOS produces and validates blocks every 500 ms, in contrast, Ethereuem
does the same every 15 seconds, and Bitcoin every 10 minutes! (Yes, when
you pay something using bitcoins, you have to wait on average 10 minutes
for the transaction confirmation).
The VISA payment system manages almost 2000 transactions per seconds,
EOS is able to reach 5000 TPS now (it has an average of 3000). In
contrast Ethereum and Bitcoint (which are not prepared for real time
transactions) manage 15 TPS and 7 TPS respectively. Ethereum is
re-thinking its architecture to solve this problem and Bitcoin has a
"patch", the "Lightning network" (a kind of parallel network of
"unverified" transactions).
EOS implements the Delegated Proof of Stake protocol (*) where a group
of selected nodes (21) are the only ones allowed to produce blocks.
Those 21 are voted by users and other producers. All smart contracts (in
all blockchains) run inside a virtual machine. Why? Because smart
contracts are "restricted/constrained" code, you can't do whatever you
want in a smart contract. In the case of EOS, the blockchain controls de
CPU, memory and security of the smart contract. Blocks are produced at
native level by a producer node, but the transactions are validated at
WASM level by a smart contract written by users (there are also system
smart contracts but those are part of the blockchain core). EOS is like
a distributed operating system. Actually the user smart contracts are
known as "dApps" (distributed apps).
EOS is not a toy, it's a serious platform.
(*) Do not confuse with Proof of Work protocol (used by Ethereum and
Bitcoin among others) which requires a lot of CPU/energy (and, in order
to be productive, a specialized hardware) to solve a crypto problem in
order to validate a block)