TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Viper: a new programming language from Ethereum

192 点作者 RabbitmqGuy将近 8 年前

12 条评论

RcouF1uZ4gsC将近 8 年前
As a bonus, it wraps all transactions in the VIP monad, where if you are an important person in Ethereum, you can get your poorly written contracts reversed.<p>Sorry, since the DAO fiasco I don&#x27;t see Ethereum having any purpose. If a poorly written&#x2F;unfair contract should be invalidated, I would rather have e the judicial system with hundreds of years of jurisprudence make that decision, than a few people at Ethereum.
评论 #14399814 未加载
评论 #14399624 未加载
评论 #14399637 未加载
评论 #14401017 未加载
oconnor0将近 8 年前
Decidability. :) I&#x27;d love to see that show up in more languages. I believe it allows for better abstractions without optimization deficiencies because it&#x27;s all decidable.
评论 #14398438 未加载
评论 #14399739 未加载
评论 #14400347 未加载
mlangdon将近 8 年前
&gt; Bounds and overflow checking, both on array accesses and on arithmetic<p>I like that one. Anyone know any widely adopted languages that do this?
评论 #14398218 未加载
评论 #14399149 未加载
评论 #14400515 未加载
评论 #14402599 未加载
评论 #14399257 未加载
评论 #14399073 未加载
评论 #14398696 未加载
评论 #14399026 未加载
评论 #14399237 未加载
评论 #14399258 未加载
RichardHeart将近 8 年前
Can a blockchain project suffer from scope creep, if so, what would that look like? I have to imagine that you don&#x27;t have to invent a new language for writing safe code (which in my noob mind, I think this is.) Maybe pick up where some other safety oriented languages already are. If security is the goal, is their path equal to this path: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Formal_verification" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Formal_verification</a> . I can&#x27;t imagine so, for they&#x27;re making a new language?<p>It could be that they&#x27;re making it a little safer, and a little easier, but not really too much safer. The features are described, and they look mostly like security?
评论 #14400201 未加载
评论 #14399954 未加载
aqsheehy将近 8 年前
What are some non-speculative use cases for ethereum that wouldn&#x27;t be better served by just using aws?
评论 #14398819 未加载
评论 #14399334 未加载
评论 #14398468 未加载
评论 #14399307 未加载
评论 #14405822 未加载
评论 #14398540 未加载
SkyMarshal将近 8 年前
<i>&gt; wei_value: an amount of wei</i><p>What is wei? Another name for gas?
评论 #14398876 未加载
评论 #14399499 未加载
kim0将近 8 年前
How ready is this now to write real beta quality contracts in? I&#x27;m just starting, should i pick this over solidity ?
toolslive将近 8 年前
for max confusion, there also used to be a programming language called vyper. <a href="http:&#x2F;&#x2F;lambda-the-ultimate.org&#x2F;classic&#x2F;message1064.html" rel="nofollow">http:&#x2F;&#x2F;lambda-the-ultimate.org&#x2F;classic&#x2F;message1064.html</a>
Temasik将近 8 年前
Ethereum or Ethereum Classic?
lj3将近 8 年前
&gt; Requires python3<p>o_O <i>twitch</i>
评论 #14398662 未加载
mycall将近 8 年前
Is Viper Turing complete? If so, is that a mistake? Bitcoin Script specifically is not.
评论 #14399598 未加载
评论 #14400575 未加载
DonbunEf7将近 8 年前
Stop. Read <a href="http:&#x2F;&#x2F;www.erights.org&#x2F;talks&#x2F;promises&#x2F;paper&#x2F;tgc05.pdf" rel="nofollow">http:&#x2F;&#x2F;www.erights.org&#x2F;talks&#x2F;promises&#x2F;paper&#x2F;tgc05.pdf</a>. Then start again.
评论 #14398494 未加载
评论 #14398501 未加载