查看原文
其他

如何利用Kotlin快速构建DSL

何梁伟 QCon 2019-08-15

编者按


作者介绍:何梁伟,沪江资深Android工程师。KotlinThree组织创始人,Kotliner.cn上海分会负责人,两年前开始带领团队使用Kotlin,经常混迹于官方Kotlin Forum。


本次分享将介绍如何利用Kotlin去快速方便的构建DSL,先介绍Kotlin在语言特性上做的特殊支持,然后了解Kotlin在构建DSL上的应用,最后结合实践阐述如何快速构建自己的DSL。


演讲视频

https://v.qq.com/txp/iframe/player.html?vid=h05199s97xq&width=500&height=375&auto=0



幻灯片



往期演讲推荐


Hax带你探索编程语言的演化

Pinterest如何利用机器学习获得两亿月活跃用户

Service Mesh:下一代微服务


QCon北京2018


一年一度的QCon北京2018大会将于4月20-22日在北京国际会议中心召开,下面是已经确认的演讲嘉宾之一:

Async with Kotlin Coroutines

——JetBrainsSoftware Engineer Developing Kotlin Roman Elizarov


Asynchronous programming is on the rise. Modern software systems are connected and constantly communicating. Programming languages are adding some form of asynchronous programming like async/await. However, Kotlin had taken a fresh approach to this problem with Kotlin Coroutines.


In this talk, we’ll study various approaches to asynchronous programming, their evolution, differences and similarities. We’ll see the problem with the traditional async/await approach that is based on futures/promises and how the Kotlin’s solution that is based on concepts of coroutines and continuations is giving us safer and easier programming model.


更多精彩请点击“阅读原文”关注QCon北京2018。


    您可能也对以下帖子感兴趣

    文章有问题?点此查看未经处理的缓存