86 points · by bpierre · 3y ago · 131 comments
"Improved decidability - Fe limits dynamic program behavior to improve decidability and allow more precise gas cost estimation."
I think it would be helpful to see an example of that or a side-by-side comparison, if the goal is to win over Solidity devs. If I can really save gas or prevent common bugs more easily, the page needs to do more to sell that point.
With all the investment in blockchain (as you yourself mentioned in another comment), and so much money riding on the correctness of contracts, it seems like the incentives should line up to develop proper, usable formal methods (starting with backing down from Turing-completeness for the most part, most likely). That would be a pretty nice side effect for us skeptics. That's honestly what I was hoping for, with OP.
Some parts of gas estimation can be done statically, but some of the cost of certain operations are dependent on the data being loaded from the state. I’d like a tool to set an upper bound on gas usage (current approach is to execute the tx on pending state and add 10-30%), but solidity does not provide one.
https://ethereum-viper.readthedocs.io/en/latest/
Simplicity was supposed to be the "technically better" language:
https://blockstream.com/simplicity.pdf
I'm sure there were a few others I can't think of right now.
Solana uses Rust for its contracts, and I can't mention Solana or any of the above without someone pointing these platforms died specifically because people writing these contracts like them being "javascript like".
There's a really good comment on Solidity here, the fact it's "won" says a lot.
Gas costs of thousands to deploy a contract are an anomaly.
That’s not right. Here’s a recent contract that cost less than $20 to deploy.
https://etherscan.io/tx/0xd21e1757649ace2fa5d9a1c0f36ddfb495...
There's a limit on the size of a contract, and the largest contract one can deploy to Ethereum would cost about $120 at today's gas price and ETH price. For example, this transaction from a couple of hours ago deploys a contract that is at the contract size limit: https://etherscan.io/tx/0x5ed0c6d517fa0bf7c5074bf49ae0f73633...
You can see they spent $120 in gas fees to deploy it.
When the network is incredibly busy, of course, this could be much higher (but when it's dead, it could also be as cheap as $40)
At the peak of the bubble (ETH price around $5000), you're right, contracts this size would have been "thousands of dollars to deploy" when the network was congested. Even then, most contracts would have been cheaper, and you could still deploy contracts for $100-200
If ETH (the token) continues to appreciate in price then it's entirely possible "thousands of dollars" for a contract could become the norm, but that's obviously not a certainty, and if that does happen (before network improvements which may also decrease fees), there are always alternative blockchains and L2s that you could deploy Solidity contracts to.
Even if we pretend for a moment that there was some merit to the “web3 smart contract”, by now it should be painfully clear to anyone involved that this is a technological dead end.
There are a many more realistic ideas to explore and research instead of wasting time on crypto unicorns.
As every good old pyramid scheme, the crypto ecosystem needs you to believe that investing time and money has merits. That's how the few at the top benefit from the whole scheme.
Tokens are also fully programmable, and that enables a number of primitives that are not possible with stock certificates or grain contracts. For one, they can easily be held within a multisig smart contract wallet, governed by configurable rules for spending (in an M-of-N scheme). This makes it frictionless to set up a small group or organization on the internet even if the participants are in 7 different countries. This helps to coordinate human and financial capital, because rules can be programmed in the DAO or multisig to prevent one person from stealing all the funds. Since everything is on-chain, everything is above the board. Very difficult to arrange this with traditional corporate checking accounts, and even then, one executive ultimately controls the account.
Those two alone would be huge and worth it for humanity, but I listed more on that list and I'm running out of time for a reply. But I invite you to analyze the products yourself. Try them on testnets for free if you like.
The value of decentralized platforms is that it gets rid of the tech bros and financial scams. Anyone, anywhere in the world, can make transactions independently, without having to blindly trust that the funds are actually there.
If people transacted using DeFI, there would be no FTX, no Coinbase, no VC trying to leech off the masses.
"cash-like" does a lot of heavy lifting here.
Only Monero and Grin have any real expectation of privacy. Chain analysis is pretty mature, and the records exist forever.
and consumers cant get enough of them and will shoulder costs of interacting with them
the most irrelevant part of this equation is debating why consumers are spending money on developer’s internet vending machines
its a market with demand, the market is telling you what to do for half a decade and yet
Every cloud platform has a free tier that can probably handle the entirety of crypto, and then some.
A Raspberry Pi is a more efficient platform that realistically competes with "web3"
nobody cares about the technical feasibility of running a blockchain, development routinely requires local deployments
But I would like to ask why does it need it's own language, wouldn't using a language that already exists and has some history be easier and maybe faster?
Besides, a language for smart contracts that is built around the domain is easier to work with than a general-purpose one. So your Q would then be: why not something like Solidity or similar? - perhaps somebody else can elaborate.
From https://ethereum.github.io/yellowpaper/paper.pdf:
"[The EVM] is a quasi-Turing-complete machine; the quasi qualification comes from the fact that the computation is intrinsically bounded through a parameter, gas, which limits the total amount of computation done."
> By restricting semantics you have finer control over potential slippages.
Solidity have had plenty of "slippages" already and a generally misguiding design, and at least initially was not really into "restricting semantics". Plenty of points made previously, e.g. https://news.ycombinator.com/item?id=14691212.
I don’t view it as superior or solving problems that solidity introduces. yes, solidity makes things complex, no static typing does not fix this
I do see it diluting available talent amongst employers, who have accidentally hired an enthusiast that wants the team to use this language
Bitcoin is signal, all of crypto is noise.
Feature not a bug. Base layer that will serve as foundation for entire global economy should be as simple as possible to make it as reliable as possible. Like all complex systems, functionality is added in layers. Things like lightning network and fedimints are examples of such layers.
> It's great that there's 21M supply cap.
Fixed supply is an essential requirement for the entire system to have any merit whatsoever. If supply can change at direction of core group of insiders it's just the same thing as the existing fiat banking system and the real value of the tokens will be diluted in perpetuity.
> But absolutely useless for software engineers to build financial primitives on top of.
No. See comment above about layers.
-
Bitcoin is a commodity, ETH & all of crypto is just (unregistered) securities lying/pretending to be commodities.
Here's the problem with this:
Bitcoin doesn't exist below a society - its not independent of a functioning system made up of economic agents. Wheat and salt will continue to exist without human action.
And you've got it backwards: securities are just government and institution approved tokens existing on a consensus network. Some of us believe this consensus network is corrupt and should be rebuilt into something a bit more open source.
This seems like it would break many smart contracts sometime later this decade, this isn't currently fleshed out
That aside, no other EVM is planning to do that, all code is compatible on all of them, and it doesn’t matter what Ethereum’s blockchain does
Do you have any thoughts on the points I made instead of centralization/maxi copypasta?
Here is Justin Bons on the broken security model of Bitcoin:
https://mobile.twitter.com/Justin_Bons/status/15947344601506...
Any answer ?
https://mobile.twitter.com/Justin_Bons/status/15994477745837...
Just leaving this here for reference for others as I don’t think I’ll sway you either way
It’s possible but I don’t see it. I’d say it’s an open question.