Forwarded from Luke 🦀
Go team 说泛型可能在 1.17 实现
[source](https://youtu.be/3yghHvvZQmA?t=1064)
[source](https://youtu.be/3yghHvvZQmA?t=1064)
呓语 via @CommentsBot
如何让 Tokio 的性能提升十倍
Tokio 是一个 Rust 的异步编程运行时,封装了各平台的原生异步机制并提供了 Async / Await 风格的接口
Tokio 的修改也使用了 Work stealing 的 Queue,而且参考了 Go 语言的实现
(所以现在 Rust 也算有 M:N 的绿色线程了?
Tokio 是一个 Rust 的异步编程运行时,封装了各平台的原生异步机制并提供了 Async / Await 风格的接口
Tokio 的修改也使用了 Work stealing 的 Queue,而且参考了 Go 语言的实现
(所以现在 Rust 也算有 M:N 的绿色线程了?
呓语 via @CommentsBot
Instagram 写了一篇关于严格模块的博客,通过禁止在模块级别执行非纯函数来解决他们遇到的一些问题(加载缓慢,import 不 safe etc.)
我看了的感觉是:要是不是 legacy code,我更愿意用 Go 😂
我看了的感觉是:要是不是 legacy code,我更愿意用 Go 😂
Medium
Python at Scale: Strict Modules
Welcome to the third post in our series on Python at scale at Instagram! As we mentioned in the first post in the series, Instagram Server…
> For example, no matter how heavily one of the Ruby implementations is optimized, it’ll never beat PHP, let alone a fast language like C++, Go, or Java – the inherent performance disparity is too great.
https://brandur.org/nanoglyphs/008-actix
https://brandur.org/nanoglyphs/008-actix
Forwarded from Comments Bot
Eric S. Raymond (《大教堂与市集》 的作者)写了一篇关于 Go 语言的感受,其实大部分还是那些问题:
- 错误处理
- 缺少 sum type
- 表达力缺失(没有迭代器,const 只能用于原始类型 etc.)
不过总体上来说他对 Go 的评价其实还是很高的:
- 代码更容易维护(静态类型)
- 性能更好
- 更好的 profile 工具和测试工具
HN 讨论
- 错误处理
- 缺少 sum type
- 表达力缺失(没有迭代器,const 只能用于原始类型 etc.)
不过总体上来说他对 Go 的评价其实还是很高的:
- 代码更容易维护(静态类型)
- 性能更好
- 更好的 profile 工具和测试工具
HN 讨论
GitLab
GoNotes.adoc · master · Eric S. Raymond / reposurgeon
A tool for editing version-control repositories and translating among different systems. Supports git, bzr, Subversion, darcs, and fossil directly, also hg, CVS, and RCS through plugins.
Forwarded from Luke 🦀
hpy-present-and-future.pdf
200.9 KB
And also ;)
https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing
今天跟朋友聊数据库连接池,发现 HikariCP 有一篇很好的概述文章
TL;DR:
> Axiom: You want a small pool, saturated with threads waiting for connections.
今天跟朋友聊数据库连接池,发现 HikariCP 有一篇很好的概述文章
TL;DR:
> Axiom: You want a small pool, saturated with threads waiting for connections.
GitHub
About Pool Sizing
光 HikariCP・A solid, high-performance, JDBC connection pool at last. - brettwooldridge/HikariCP
It's Now Possible To Sign Arbitrary Data With Your SSH Keys
https://www.agwa.name/blog/post/ssh_signatures
终于要有广泛使用的 pgp alternative 了
Git 已经在实现 SSH signing support 了: https://github.com/git/git/pull/1041
prior art: https://ssh-vault.com/
Hacker News:https://news.ycombinator.com/item?id=29208518
https://www.agwa.name/blog/post/ssh_signatures
终于要有广泛使用的 pgp alternative 了
Git 已经在实现 SSH signing support 了: https://github.com/git/git/pull/1041
prior art: https://ssh-vault.com/
Hacker News:https://news.ycombinator.com/item?id=29208518
www.agwa.name
It's Now Possible To Sign Arbitrary Data With Your SSH Keys
ssh-keygen can sign and verify signatures, and it's way better than PGP
Forwarded from Luke 🦀
#TIL 原来有人再用 Rust 重写 GPG
https://nlnet.nl/pres/20211123/Sequoia-presentations-23-11-2021.pdf
更多相关内容:https://conf.tube/videos/watch/4c6266f1-eefe-4f4b-8f54-9d31e5130080
https://nlnet.nl/pres/20211123/Sequoia-presentations-23-11-2021.pdf
更多相关内容:https://conf.tube/videos/watch/4c6266f1-eefe-4f4b-8f54-9d31e5130080
The Mysteries of Dropbox
使用 Property based testing 来给 Dropbox 做自动化测试,发现了一些隐藏很深的 bug
Slide: https://www.lambdadays.org/static/upload/media/1456917030529391sonofmysteriesofdropbox.pdf
Paper: https://www.cis.upenn.edu/~bcpierce/papers/mysteriesofdropbox.pdf
使用 Property based testing 来给 Dropbox 做自动化测试,发现了一些隐藏很深的 bug
Slide: https://www.lambdadays.org/static/upload/media/1456917030529391sonofmysteriesofdropbox.pdf
Paper: https://www.cis.upenn.edu/~bcpierce/papers/mysteriesofdropbox.pdf