java8基于堆实现尾递归优化

1 前言 尾调用消除(tail call elimination, TCE)是函数式编程的重要概念, 有时也被称为尾调用优化(tail call optimization, TCO), 作用是将尾递归函数转化成循环, 避免创建许多栈帧, 减少开销. ...

七月 5, 2020 · 6 分钟 · 2959 字

局外人

1 导语 呆在那里, 还是走开, 结果一样. – 加缪《局外人》(又译作, 异乡人) 2 妈妈走了 “今天, 妈妈死了, 也许是昨天”. 某天, 养老院来电通知男主默尔索妈妈去世了, 他前去奔丧, 却在守灵时抽烟, 喝咖啡, 跟人闲聊, 昏昏欲睡, 记不起母亲的岁数, 拒绝看母亲入入殓前的最后一面, 甚至未曾因母亲的离开而有一丝悲伤, 为能睡足12小时而高兴, 母亲入土第二天, 与女友游泳, 看喜剧, 发生关系. ...

六月 22, 2020 · 4 分钟 · 1597 字

应届生如何写好技术简历

1 背景介绍 我目前在蚂蚁金服-网商银行做后端开发, 因为在组内毕业时间最短(2年), 所以经常会被Leader当成免费的HR去找校招简历, 所以见过不少的简历(>100份), 把收到简历之后, 有时会给简历打分, 然后再给到老板. ...

三月 14, 2020 · 6 分钟 · 2890 字

rspotify has come to async/await

1 Preface Today, I am exited to introduce you the v0.9 release I have been continued to work on it for the past few weeks that adds async/await support now! 2 The road to async/await What is rspotify: > For those who has never heared about rspotify before, rspotify is a Spotify web Api wrapper implemented in Rust. With async/await’s forthcoming stabilization and reqwest adds async/await support now, I think it’s time to let rspotify leverage power from async/await. To be honest, I was not familiar with async/await before, because of my Java background from where I just get used to multiple thread and sync stuff(Yes, I know Java has future either). ...

二月 28, 2020 · 1 分钟 · 471 字

枪炮, 病菌与钢铁

1 前言 <枪炮, 病菌与钢铁>以一个新几内亚政治家耶利的问题展开,“为什么你们白人制造了那么多的货物并将它们运到新几内亚来, 而我们黑人却几乎没有属于我们自己的货物呢?”, 由此引出此书后续的的核心主题: ...

一月 4, 2020 · 6 分钟 · 2604 字