Live data from Hacker News

Blockchain-Flavored WASI

medium.com

11–20 of 42 posts

Re: Blockchain-Flavored WASI

#11
post #9
post #7

Uh oh, you said "Blockchain". You have now triggered the Hacker News commentariat.

Looks like you were right. Personally, I would have gone with "WASI-Flavored Blockchain" in any case.

Doesn't matter, somehow the word blockchain causes normally rational technologists to immediately close their minds and start convulsing in their chairs in an epileptic fit.

The linked article is quite interesting, but because it's blockchain related the HN groupthink will dismiss it outright.

Re: Blockchain-Flavored WASI

#12
post #3

Earlier quoted context omitted.

Did you read the article? It's got a lot of good information on how code runs on the ethereum virtual machine. And the benefits of using something like WASI. Even if you hate block chain, it's still fascinating.

Why would you use ethereum when you can use Amazon web services instead? Is it because when we use ethereum, the price of eth goes up?

The idea of smart contracts or world computer is flawed. A better term would be a scripted financial transaction. They can be done in a trusted environment, but there are a lot of benefits of having a public cryptography secured ledger.

Though the article author omits it, EOS mainnet runs on LLVM and WASM contracts and executes about 1000tx/s today.

A more powerful financial VM is needed e.g. for on-chain order books.

More about use cases vs. databases can be found in my article

https://tokenmarket.net/news/opinion/capital-markets-upcomin...

Re: Blockchain-Flavored WASI

#13
post #11
post #9

Earlier quoted context omitted.

Looks like you were right. Personally, I would have gone with "WASI-Flavored Blockchain" in any case.

Doesn't matter, somehow the word blockchain causes normally rational technologists to immediately close their minds and start convulsing in their chairs in an epileptic fit. The linked article is quite interesting, but because it's blockchain related the HN groupthink will dismiss it outright.

Most of the criticism that blockchain tech and enthusiasts receive is justified.

Re: Blockchain-Flavored WASI

#14
post #4

For fuck's sake.

Agreed, though what's really fucked up is the native Ethereum language and machine. Almost anything is an improvement on that. I still don't know what to use any of that for though. :-/ Edit: yes I mean Solidity. I mean, it's cool that it works, but look at it, it's insane. They could have picked just about any language, including assembler, Lisp, Lua, Javascript, Visual Basic, LLVM bytecode, whatever and would have…

An EVM smart contract bytecode is usually 2kB - 4kB. You can think it as DSL optimised for its use case.

EOS contracts are 250kB because they suck in C++ stdlib, templates or what not.

There are benefits of having compact bytecode performance wise: cache pressure, price of on-chain storage and so on.

Re: Blockchain-Flavored WASI

#15
post #6

"Slow Database"-Flavored WASI Any time you see the word "blockchain" replace it with "Slow Database" in your head and see if it still makes sense.

Any time you do a generalization, you are wrong.

Re: Blockchain-Flavored WASI

#18
I don't see the benefits of jamming the square peg of language builtins into such a narrow use case.

> the runtime translates WASI args_get and args_sizes_get

> for the zeroth arg to the blockchain address() function.

There is nothing intuitive about that for me.

In most languages, exposing the blockchain interface as a module feels like it would be a significantly cleaner implementation. If I want to compile against different targets I'd prefer to wrap that module as a library behind my own interface. I can then swap out the implementation at compile time.

Re: Blockchain-Flavored WASI

#19
post #6

"Slow Database"-Flavored WASI Any time you see the word "blockchain" replace it with "Slow Database" in your head and see if it still makes sense.

My brain was making combinations like Slow braised Wasabi flavored etc.

Re: Blockchain-Flavored WASI

#20
post #6

"Slow Database"-Flavored WASI Any time you see the word "blockchain" replace it with "Slow Database" in your head and see if it still makes sense.

I checked the shipping status of an Alibaba purchase today after I received the Fedex notification yesterday.

The message on the Alibaba site said:

"Attention: Tracking information is supported by the Alibaba Global Trade Blockchain. It may be delayed for 1-2 days."

Post reply on HN