[6~#每日新闻
# 2020-2-10 每日新闻
# FB: http://bit.ly/2UizW6X
# 甲山林娱乐
招募游戏程式设计师
https://reurl.cc/6g14nM
# Rust: Seed是Rust framework用来制作快速可靠的Web App
这是一个非常类似React的前端框架
类似没有plug的React
但使用Rust写,有了静态检查与执行快速的优势
http://bit.ly/38hxlyu
# 2020年了怎么在VSCode Debug Rust?
这篇文章教你该安装什么,怎么操作
http://bit.ly/31JyrAH
# 五篇很棒的C++论文
喜欢写C++的你不要错过
http://bit.ly/2SBsd1o
# 内存速度演进
2012年
L1 cache reference 0.5 ns
Branch mispredict 5 ns
L2 cache reference 7 ns 14x
L1 cache
Mutex lock/unlock 25 ns
Main memory reference 100 ns
Compress 1K bytes with Zippy 3,000 ns 3 us
Send 1K bytes over 1 Gbps network 10,000 ns 10 us
Read 4K randomly from SSD* 150,000 ns 150 us
Read 1 MB sequentially from memory 250,000 ns 250 us
Round trip within same datacenter 500,000 ns 500 us
Read 1 MB sequentially from SSD* 1,000,000 ns 1,000 us 1
Disk seek 10,000,000 ns 10,000 us 10
Read 1 MB sequentially from disk 20,000,000 ns 20,000 us 20
Send packet CA->Netherlands->CA 150,000,000 ns 150,000 us 150 ms
2020年
L1 CACHE hit, ~4 cycles(2.1 - 1.2 ns)
L2 CACHE hit, ~10 cycles(5.3 - 3.0 ns)
L3 CACHE hit, line unshared ~40 cycles(21.4 - 12.0 ns)
L3 CACHE hit, shared line in another core ~65 cycles(34.8 - 19.5 ns)
L3 CACHE hit, modified in another core ~75 cycles(40.2 - 22.5 ns)
local RAM ~60 ns
有趣喔! 什么改变了?
L1 is 变慢了; 0.5 ns -> 1.5 ns
L2 is 变快了; 7 ns -> 4.2 ns
L1 跟 L2 速度跟接近了; 2.5x vs 14x
L3 cache 变标准了; 12 ns to 40 ns
Ram 变快了; 100ns -> 60ns
http://bit.ly/2SxPl0J
# 去年,有36%的开发人员从Oracle JDK换到了OpenJDK
换起来 换起来
http://bit.ly/38hGA1C
# USWDS:美国政府令人惊讶的现代网页设计系统
下面一堆人在讨论各国网页设计系统差异
http://bit.ly/38gmqoN