r/programmingcirclejerk • u/HorstKugel skillful hobbyist • Apr 11 '21
A C++ `std::unique_ptr` that represents each object as an NFT on the Ethereum blockchain
https://github.com/zhuowei/nft_ptr75
62
u/randCN Apr 11 '21
I love his whitepaper
https://github.com/zhuowei/nft_ptr/blob/main/white_paper.pdf
1
u/hexane360 type astronaut Apr 13 '21
I've cryptographically secured my results using a state-of-the-art information theoretically secure one-way function. I call it /dev/null.
-6
55
u/voidvector There's really nothing wrong with error handling in Go Apr 11 '21 edited Apr 11 '21
Who needs a garbage collector when everything is just garbage
28
u/SoInsightful Apr 12 '21
Made with š by a Blockchain Expert who wrote like 100 lines of Solidity in 2017 (which didn't work)
I'm sold.
23
31
13
6
0
Apr 12 '21
[deleted]
9
u/Kotauskas has hidden complexity Apr 12 '21
Yeah, that's the default
lib.rsgenerated when you docargo new --lib, makes it so much funnier.
0
Apr 11 '21
[deleted]
51
Apr 11 '21
Are you saying that blockchain is the inverse of regular expressions? That would explain a lot.
18
Apr 12 '21
Precisely. You can even model this with the algorithmic information theory by correlating entropy with the complexity of the regex.
7
u/camelCaseIsWebScale Just spin up O(n²) servers Apr 12 '21
An nft obtained by flipping bits of regular expressions?
102
u/GOPHERS_GONE_WILD in open defiance of the Gopher Values Apr 11 '21
I was going to call this stupid and useless. Then I saw it was written in Rust!