Skip to content

Instantly share code, notes, and snippets.

View hongda3141's full-sized avatar
🐛
weeeemr

michaelbruz hongda3141

🐛
weeeemr
View GitHub Profile

聊聊 Cardano 的八卦

今年(2021)9/12 这一天 Cardano 迎来了一次对于 Cardano 来说史上最大的更新 Alonzo,支持智能合约并推出 Plutus 等一些列用于在 Cardano 上开发智能合约的工具,当然了,在此之前,Alonzo Testnet 早已经于 5/21 上线进行测试。作为市值前十的链之一,如此重大的利好怎能不吸引来一群认为是发现了财富密码的开发者呢,因此 Cardano 社区并不缺少先锋

背景

编程模型

大部分程序员更熟悉的都是类 Ethereum account model 这样的编程模型,而 Cardano 采用的是一种受 UTXO 启发的 EUTXO(Extended Unspend Output Transaction) ,虽然大抵都知道 BTC 的 UTXO 概念,但估计没有多少人想象过 general UTXO 的模型是怎样的。

@rxaviers
rxaviers / gist:7360908
Last active November 2, 2025 02:44
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@hellerbarde
hellerbarde / latency.markdown
Created May 31, 2012 13:16 — forked from jboner/latency.txt
Latency numbers every programmer should know

Latency numbers every programmer should know

L1 cache reference ......................... 0.5 ns
Branch mispredict ............................ 5 ns
L2 cache reference ........................... 7 ns
Mutex lock/unlock ........................... 25 ns
Main memory reference ...................... 100 ns             
Compress 1K bytes with Zippy ............. 3,000 ns  =   3 µs
Send 2K bytes over 1 Gbps network ....... 20,000 ns  =  20 µs
SSD random read ........................ 150,000 ns  = 150 µs

Read 1 MB sequentially from memory ..... 250,000 ns = 250 µs