News for hackers. Stuff that matters.
Re:Obsidian: A safer blockchain programming language by treelovinhippie on Friday May 31, 2019 @06:26PM (#20065606)
Rust. Holochain, Polkadot and others have adopted Rust to solve these issues.
Re:Obsidian: A safer blockchain programming language by mcoblenz on Monday June 03, 2019 @03:21PM (#20087184)
Rust does provide some help in its type system (via ownership), but it is not nearly as expressive as Obsidian's. Rust, AFAIK, does not support linearity (i.e. will not warn you when you accidentally lose an owning reference to an object). It also does not directly support typestate (although there are ways of shoehorning parts of that in, I believe).
Re:Obsidian: A safer blockchain programming language by Legogris on Friday May 31, 2019 @07:07PM (#20065902)
You are talking about implementations of the nodes. This is targeting smart contracts that will be executed by those nodes.
Re:Obsidian: A safer blockchain programming language by treelovinhippie on Friday May 31, 2019 @10:38PM (#20066837)
Nope both. Holochain core is written in Rust and you code distributed apps ("DNA") in Rust. Polkadot core ("Substrate") is written in Rust and you code smart contracts in Rust ("Ink"). Both compile down to WASM.
Re:Obsidian: A safer blockchain programming language by Legogris on Saturday June 01, 2019 @02:42PM (#20070741)
Well color me ignorant. I am going to have to looker deeper into both (esp Polkadot), I have been procrastinating that for too long now.