光谷码农·每日新闻·V8和NodeJS都开始抱WebAssembly大腿

这里记录每天, 看到的值得分享的技术文章 -- 中国·武汉·光谷码农


光谷码农·每日新闻(2019-06-04)

https://guanggu-coder.cn

线下活动

光谷码农·Go&WebAssembly技术交流顺利进行,感谢各位参与。

下期主题:B站的代码架构,由斗鱼的老司机带大家飞。具体时间再通知。

相关活动:开源社走进高校活动——湖北大学:

https://mp.weixin.qq.com/s/6wIrVeSxKXbUbjs12jQRnA

WebAssembly

Running WASM Unikernels:

https://nanovms.com/dev/tutorials/running-wasm-unikernels

Golang

谈谈Go语言字符串:

https://mp.weixin.qq.com/s/pjv1FNl0bxl3dwk6hYhzBg

Flutter

学习Flutter BLOC架构:

https://ayusch.com/understanding-bloc-architecture-in-flutter/

编辑: 柴树杉


光谷码农·每日新闻(2019-06-03)

https://guanggu-coder.cn

线下活动

光谷码农·Go&WebAssembly技术交流顺利进行,感谢各位参与。

下期主题:B站的代码架构,由斗鱼的老司机带大家飞。具体时间再通知。

相关活动:开源社走进高校活动——湖北大学:

https://mp.weixin.qq.com/s/6wIrVeSxKXbUbjs12jQRnA

WebAssembly

Mozilla的WASI带WebAssembly飞向火星:

https://www.infoworld.com/article/3384920/mozillas-wasi-takes-webassembly-beyond-the-browser.html#tk.rss_javascript

Golang

Go模块和Athens项目:

https://changelog.com/gotime/86

Flutter

Flutter实现进度条:

https://medium.com/@felixblaschke/conditional-progress-indicator-in-flutter-4ec8b748cb69

编辑: 柴树杉


光谷码农·每日新闻(2019-05-31)

https://guanggu-coder.cn

线下活动

光谷码农·Go&WebAssembly技术交流顺利进行,感谢各位参与。

下期主题:B站的代码架构,由斗鱼的老司机带大家飞。具体时间再通知。

相关活动:开源社走进高校活动——湖北大学: https://mp.weixin.qq.com/s/6wIrVeSxKXbUbjs12jQRnA

WebAssembly

Python中玩WebAssembly: https://github.com/wasmerio/python-ext-wasm/

Golang

如何让Go编译速度提升40%: https://daltontan.com/how-to-compile-go-code-faster-with-ram-disk/24

Flutter

Flutter输入验证: https://medium.com/flutterpub/flutter-field-validations-the-easy-peasy-7d05ff9166a7

编辑: 柴树杉


光谷码农·每日新闻(2019-05-30)

https://guanggu-coder.cn

线下活动

光谷码农·Go&WebAssembly技术交流顺利进行,感谢各位参与。

下期主题:B站的代码架构,由斗鱼的老司机带大家飞。具体时间再通知。

WebAssembly

WebAssembly实现命令行查看图片:

https://wapm.io/package/viu

Golang

Go的type本身没有类型信息:

https://utcc.utoronto.ca/~cks/space/blog/programming/GoNoTypeForTypes

Flutter

在Flutter运行时调整主题风格:

https://medium.com/@bimsina/changing-theme-at-run-time-flutter-d634c307de8a

编辑: 柴树杉


光谷码农·每日新闻(2019-05-29)

https://guanggu-coder.cn

线下活动

光谷码农·Go&WebAssembly技术交流顺利进行,感谢各位参与。

下期主题:B站的代码架构,由斗鱼的老司机带大家飞。具体时间再通知。

WebAssembly

译 为何 WebAssembly 如此重要:

https://skyao.io/post/201905-why-webassembly-is-a-big-deal/

Golang

Go实现Web资源压缩工具:

https://github.com/tdewolff/minify

Flutter

Flutter中的JSON编解码:

https://medium.com/flutter-community/generate-the-code-to-parse-your-json-in-flutter-c68aa89a81d9

编辑: 柴树杉


光谷码农·每日新闻(2019-05-28)·V8和NodeJS都开始抱WebAssembly大腿

https://guanggu-coder.cn

线下活动

光谷码农·Go&WebAssembly技术交流顺利进行,感谢各位参与。

下期主题:B站的代码架构,由斗鱼的老司机带大家飞。具体时间再通知。

WebAssembly

V8发布7.5版,紧抱WebAssembly大腿:

https://mp.weixin.qq.com/s/NFVBHF7a0M_QolgIFoWbZA

Node.js也要抱WebAssembly大腿,v12.3将支持wasm模块

https://nodejs.org/en/blog/release/v12.3.0/

Golang

Go Playground浏览器插件:

https://chrome.google.com/webstore/detail/go-playground-addons/kjhcofplemokahbgknjgabnkidaabnde

Flutter

Flutter成功的原因:

https://medium.com/flutter-community/why-tools-like-flutter-need-to-succeed-965a9408e8dc

编辑: 柴树杉


光谷码农·每日新闻(2019-05-27) ·eBay实战WebAssembly:50倍性能提升

https://guanggu-coder.cn

线下活动

光谷码农·Go&WebAssembly技术交流第一期顺利进行,感谢各位参与。

下期主题:由斗鱼的老司机带大家飞,讲讲B站的代码架构(你懂的),具体时间再通知。

WebAssembly

eBay实战WebAssembly:50倍性能提升:

https://mp.weixin.qq.com/s/kNVSAXTffAg8oDWvNV6xHQ

Golang

真实世界的并发编程BUG,血淋淋的教训:

https://blog.acolyer.org/2019/05/17/understanding-real-world-concurrency-bugs-in-go/

Flutter

在Flutter中生成路由,简化导航:

https://www.filledstacks.com/snippet/clean-navigation-in-flutter-using-generated-routes/

编辑: 柴树杉


光谷码农·每日新闻(2019-05-24) ·Go&WebAssembly技术交流

https://guanggu-coder.cn

线下活动

光谷码农·Go&WebAssembly技术交流:

https://www.bagevent.com/event/5248793

Golang

Go 开发者路线图:

https://github.com/Alikhll/golang-developer-roadmap/blob/master/i18n/ReadMe-zh-CN.md

Flutter

搞懂Flutter中的屏幕尺寸:

https://medium.com/flutter-community/a-guide-to-using-screensize-in-flutter-a-more-readable-approach-901e82556195

WebAssembly

人肉手工撸WebAssembly汇编代码:

https://dassur.ma/things/raw-wasm/

编辑: 柴树杉


光谷码农·每日新闻(2019-05-23) ·Go&WebAssembly技术交流

https://guanggu-coder.cn

线下活动

光谷码农·Go&WebAssembly技术交流:

https://www.bagevent.com/event/5248793

Flutter

Flutter状态管理:

https://medium.com/flutter-community/flutter-statemanagement-with-provider-ee251bbc5ac1

WebAssembly

打造自己的WebAssembly编译工具链:

https://blog.scottlogic.com/2019/05/17/webassembly-compiler.html

编辑: 柴树杉


光谷码农·每日新闻(2019-05-22)·Go&WebAssembly技术交流

https://guanggu-coder.cn

线下活动

光谷码农·Go&WebAssembly技术交流:

https://www.bagevent.com/event/5248793

Flutter

Flutter开发macOS桌面应用:

https://mp.weixin.qq.com/s/wLkDXXHJXCYBxXzQFWrUiA

WebAssembly

WASI精选资源:

https://github.com/wasmerio/awesome-wasi

编辑: 柴树杉


光谷码农·每日新闻(2019-05-21)·Github平台最有价值的100个项目

https://guanggu-coder.cn

Flutter

Reflectly — From mobile to web in less than 4 beers:

https://medium.com/reflectly-engineering/reflectly-from-mobile-to-web-in-less-than-4-beers-2040c0c0a4c7

Other

Github平台最有价值的100个项目:

https://mp.weixin.qq.com/s/n8QBkOSS4syiJo01_ktfoQ

编辑: 柴树杉


光谷码农·每日新闻(2019-05-20)

https://guanggu-coder.cn

Golang

Go语言gRPC和MongoDB实战:

https://itnext.io/learning-go-mongodb-crud-with-grpc-98e425aeaae6

Flutter

Flutter实现Android的黑暗风格:

https://medium.com/flutter-io/android-dark-theme-in-flutter-9c8070b8b127

WebAssembly

Announcing WAPM: The WebAssembly Package Manager:

https://medium.com/wasmer/announcing-wapm-the-webassembly-package-manager-18d52fae0eea

编辑: 柴树杉


光谷码农·每日新闻(2019-05-19)

https://guanggu-coder.cn

Golang

Go1到Go1.10的语法变迁:

https://mp.weixin.qq.com/s/_ihUzJ7rOVQJCkXhqm7ccA

Flutter

Flutter, 给对话框增加动画效果:

https://medium.com/flutter-community/how-to-animate-dialogs-in-flutter-here-is-answer-492ea3a7262f

WebAssembly

将Github的WebAssembly应用部署到Azure:

https://medium.com/microsoftazure/deploy-webassembly-from-github-toazure-storage-static-websites-with-azure-pipelines-a15f05d26fb8?_lrsc=072ded7b-9a36-4d68-a506-f72a3cfb9a4f

编辑: 柴树杉


光谷码农·每日新闻(2019-05-18)

https://guanggu-coder.cn

Golang

Flutter中调用Go语言函数:

https://medium.com/@archan.paul/using-go-library-in-flutter-a04e3496aa05

Flutter

Flutter Web的前世今生:

https://medium.com/flutter-community/ins-and-outs-of-flutter-web-7a82721dc19a

WebAssembly

WebAssembly做的渲染特效:

https://colineberhardt.github.io/wasm-interference/

编辑: 柴树杉


光谷码农·每日新闻(2019-05-17)· .NET 5将支持WebAssembly平台

https://guanggu-coder.cn

Golang

Go语言实现的WebRTC, 支持WebAssembly:

https://github.com/pion/webrtc

Flutter

10个学习Dart语言的理由:

https://hackernoon.com/10-good-reasons-why-you-should-learn-dart-4b257708a332

WebAssembly

.NET 5将支持WebAssembly平台:

https://devblogs.microsoft.com/dotnet/introducing-net-5/

编辑: 柴树杉


光谷码农·每日新闻(2019-05-16)·io.EOF设计的缺陷和改进

https://guanggu-coder.cn

Golang

io.EOF设计的缺陷和改进:

https://mp.weixin.qq.com/s/DPtujfVNMw_Jgel_zGTFvw

Flutter

Simple games with Flutter Web: hangman:

https://flutter.institute/simple-games-with-flutter-web-hangman/

WebAssembly

将jq命令行命令移植到浏览器, 基于WebAssembly:

https://www.infoq.com/news/2019/05/web-assembly-jq-cli-port

编辑: 柴树杉


光谷码农·每日新闻(2019-05-15)

https://guanggu-coder.cn

Golang

Go官方的模块代理服务: https://proxy.golang.org/

REST API的错误处理: https://medium.com/ki-labs-engineering/rest-api-error-handling-in-go-behavioral-type-assertion-509d93636afd

Flutter

用Flutter从头开发并部署一个Web应用: https://medium.com/flutter-community/flutter-create-and-deploy-a-website-from-scratch-4a026ebd6c

WebAssembly

Lucet助力WebAssembly开拓边缘计算领域: https://www.publickey1.jp/blog/19/fastly_ctowebassemblylucet.html

编辑: 柴树杉


光谷码农·每日新闻(2019-05-14)·Go Playground支持第三方库

https://guanggu-coder.cn

Golang

Go语言的playground支持导入第三方包: https://github.com/golang/go/issues/31944

TinyGo是单片机环境的Go语言改造版本: https://github.com/tinygo-org/tinygo

Flutter

Flutter和Chrome OS是一对好基友: https://developers.googleblog.com/2019/05/flutter-and-chrome-os-better-together.html

WebAssembly

WebAssembly实现的Metaballs效果: https://binji.github.io/metaball-wasm/

Metaballs的生成算法: http://jamie-wong.com/2014/08/19/metaballs-and-marching-squares/

图书推荐

《OAuth 2实战》是目前唯一的一本讨论OAuth2规范的技术专著: http://www.ituring.com.cn/book/2013

编辑: 柴树杉


光谷码农·每日新闻(2019-05-13)·Github提供包托管服务

https://guanggu-coder.cn

Github将提供npm包/Ruby Gems/Maven/NuGet和Docker包托管服务.

Flutter

新手入门: Flutter解码JSON数据: https://medium.com/flutter-community/how-to-parse-json-in-flutter-for-beginners-8074a68d7a79

WebAssembly

WebAssembly for Web Developers: https://www.youtube.com/watch?v=HP5JdFEvKVU

Golang

Go将是下一个企业编程语言: https://hackernoon.com/go-is-on-a-trajectory-to-become-the-next-enterprise-programming-language-3b75d70544e

Other

2019年EuroLLVM开发者大会: LLVM IR教程: https://www.youtube.com/watch?v=m8G_S5LwlTo

编辑: 柴树杉


光谷码农·每日新闻(2019-05-12)

https://guanggu-coder.cn

Flutter

去年Flutter发布1.0正式版本, 支持iOS和Android两大手机平台的开发. 今年Flutter发布1.5版本, 支持Web和桌面应用的开发, 自此终于完成了对Qt的全方位的覆盖. Flutter底层使用的是Dart语言, Dart自诞生起携带了VM/JIT/AOT三大并列的工具链. 随着Flutter平台的成熟, Dart语言可能是唯一一个横跨前后端/桌面/手机应用的编程语言.

Google I/O大会中Flutter合集: https://medium.com/flutter-io/a-roundup-of-flutter-news-at-google-i-o-453bb3249981?linkId=67236641

Flutter包管理: https://medium.com/flutter-community/managing-packages-in-flutter-6018cecaf3a7

WebAssembly

毛主席说:“世界是Flutter的,也是Go语言的,但是归根结底是WebAssembly的。”

Swift也要支持WebAssembly: https://swiftwasm.org/

WebAssembly平台之上的SQLite: https://github.com/kripken/sql.js

Golang

随着Go语言模块化的特性逐渐稳定, Go已经成为新兴后端项目的首选语言.

Caddy正式支持模块构建, 并发布1.0: https://github.com/mholt/caddy/releases/tag/v1.0.0

Go语言开发的Gameboy模拟器: https://github.com/HFO4/gameboy.live

编辑: 柴树杉


光谷码农·每日新闻(2019-05-11)·Intel开发WASM虚拟机

https://guanggu-coder.cn

牛B的人是自己挖坑, 然后忽悠别人掉坑里, 最终再拯救坑里的人.

Flutter

Flutter Web入门 http://flutterj.com/?post=92

Flutter开发的KENKEN游戏: https://www.nytimes.com/games/prototype/kenken#/

WebAssembly

来自Intel的WebAssembly虚拟机: https://github.com/intel/wasm-micro-runtime

1Password 1.15.0使用WebAssembly技术优化软件性能: https://app-updates.agilebits.com/product_history/B5X#v20066

Golang

Go语言标准入门步骤: 1. Go Tour通关; 2. golang.org文档和gopl图书; 3. 开始飞吧…

Go语言错误处理(插画很有意思): https://medium.com/gett-engineering/error-handling-in-go-53b8a7112d04

编辑: 柴树杉


光谷码农·每日新闻(2019-05-10)

https://guanggu-coder.cn

Golang

Go语言多版本共存(基于socks5代理下载):

$ https_proxy=socks5://ip:port go get golang.org/dl/go1.12.5
$ https_proxy=socks5://ip:port go1.12.5 download
Downloaded   1.0% (  1227576 / 127612395 bytes) ...
Downloaded  50.0% ( 63781688 / 127612395 bytes) ...
Downloaded 100.0% (127612395 / 127612395 bytes)
Unpacking /Users/chai/sdk/go1.12.5/go1.12.5.darwin-amd64.tar.gz ...
Success. You may now run 'go1.12.5'
$ go1.12.5 version
go version go1.12.5 darwin/amd64

基于表格驱动的单元测试: https://dave.cheney.net/2019/05/07/prefer-table-driven-tests

Flutter

Flutter性能测试: https://medium.com/flutter-io/performance-testing-of-flutter-apps-df7669bb7df7

WebAssembly

俄罗斯方块游戏, 基于WebAssembly和WebGL: https://raulgrell.github.io/tetris

Google I/O大会的WebAssembly视频(自备神仙索): https://www.youtube.com/watch?v=njt-Qzw0mVY

Other

TablePlus数据库管理软件将支持基于SSH的Socket转发, 同时将发布iOS版本: https://twitter.com/TablePlus/status/1126133678461968384

编辑: 柴树杉


光谷码农·每日新闻(2019-05-09) Go1.12.5和Go1.11.10发布

https://guanggu-coder.cn

Golang

Go1.12.5和Go1.11.10发布, 修复编译器和runtime包的一些问题: https://golang.org/doc/devel/release.html#go1.12.minor

Dart&Flutter

Dart发布2.3版本, 优化UI开发语法: https://medium.com/dartlang/announcing-dart-2-3-optimized-for-building-user-interfaces-e84919ca1dff

Dart Code发布3.0, 支持Flutter Web开发: https://dartcode.org/releases/v3-0/

WebAssembly

在WebAssembly中运行JavaScript引擎:

$ wapm install -g jsc
$ jsc
>>> function multiply(a, b) { return a * b }
undefined
>>> multiply(10, 20)
200
>>> Date()

https://wapm.io/package/jsc

编辑: 柴树杉


光谷码农·每日新闻(2019-05-08) Flutter正式支持Web和桌面开发

https://guanggu-coder.cn

Flutter

谷歌官方微博正式宣布正式Flutter成为前后端手机设备通吃的跨平台框架: https://developers.googleblog.com/2019/05/Flutter-io19.html

WebAssembly

如何使用WebAssembly的包管理工具WAPM安装模块: https://medium.com/wasmer/introducing-wapm-global-package-installs-2efa3e834e4

中文图书《WebAssembly标准入门》: https://www.epubit.com/book/detail/40619

Golang

深度解密Go语言之反射: https://zhuanlan.zhihu.com/p/64884660

重新认识Go语言中常量类型: https://blog.learngoprogramming.com/learn-golang-typed-untyped-constants-70b4df443b61

编辑: 柴树杉


© 2018-2019 光谷码农