继续公开测试,检查是否有错别字、或表意错误等问题,然后在Pontoon上面进行审校。
#pingcap #talent
感兴趣的可以跟着学习一下。当然,该项目下也有Go课程,针对TiDB相关的。
Read More
#github
Read More
#gtk #windows #msvc
该贴作者对于gtk-rs团队推荐使用GNU工具链不是太满意,所以他自己折腾出一些方案分享出来给其他人减少麻烦:
1. Install GTK3 using vcpkg following the instructions on the GTK website. I'll refer to its directory as %VCPKGDIR% for brevity.
2. Add %VCPKGDIR%\installed\x64-windows\bin to your PATH environment variable. It needs to be early in the list, or DLLs shipped with random applications may get picked up before the ones vcpkg installed, leading to process didn't exit successfully (exit code: 0xc0000139, STATUS_ENTRYPOINT_NOT_FOUND).
3. Set the GTK_LIB_DIR environment variable to %VCPKGDIR%\installed\x64-windows\lib.
4. Create some symlinks.
%VCPKGDIR%\installed\x64-windows\lib\gtk-3.0.lib points to %VCPKGDIR%\installed\x64-windows\lib\gtk-3.lib.
%VCPKGDIR%\installed\x64-windows\lib\gdk-3.0.lib points to %VCPKGDIR%\installed\x64-windows\lib\gdk-3.lib.
%VCPKGDIR%\installed\x64-windows\bin\gtk-3.0.dll points to %VCPKGDIR%\installed\x64-windows\bin\gtk-3.dll.
%VCPKGDIR%\installed\x64-windows\bin\gdk-3.0.dll points to %VCPKGDIR%\installed\x64-windows\bin\gdk-3.dll.
5. At this point you can try and make something with GTK. However, while the latest version of gtk on crates.io is still 0.6 you'll need to either use the Git repositories directly or patch the source code in your Cargo registry - they got the minimum version for something wrong, so you'll get an unresolved external symbol error.
6. If you try making something with GTK now, it'll work, but you'll get warnings about missing stuff. For some reason, vcpkg doesn't currently build any resources. To work around this, download the latest versions of mingw-w64-x86_64-adwaita-icon-theme and mingw-w64-x86_64-hicolor-icon-theme from the MSYS2 repo. Extract the icons folder in each one to %VCPKGDIR%\installed\x64-windows\share.
Reddit 讨论
#Rust
Rust 核心团队leader在PLISS大会上的分享,对编译器感兴趣的可以听一下。时长1小时27分。
许多编译器教科书和课程将编译视为一种“批处理过程”,其中编译器接收一堆输入文件,经过一组编译器转换,并最终生成目标代码作为输出。 但是,越来越多的用户希望与VSCode等IDE集成,后者需要不同的结构。 此外,许多语言都具有递归结构,其中正确的处理顺序难以静态地确定。 Niko(Nicholas)将讨论Rust团队在重组(restructuring)Rust编译器以支持增量编译和IDE集成方面所做的一些工作。
#lockfree
支持同时读写,与evmap库类似。
evc
#embeded
概要:
Read More
#sql
通过http接口交互请求,支持简单的SQL语法。
minsql
文章:
https://preshing.com/20120612/an-introduction-to-lock-free-programming
https://preshing.com/20120625/memory-ordering-at-compile-time
https://preshing.com/20120710/memory-barriers-are-like-source-control-operations
https://preshing.com/20120913/acquire-and-release-semantics
https://preshing.com/20120930/weak-vs-strong-memory-models
https://preshing.com/20121019/this-is-why-they-call-it-a-weakly-ordered-cpu
视频
https://youtu.be/V3omVLzI0WE
https://youtu.be/bY8f4DSkQ6M
https://youtu.be/Fs4-E4Nj1Ks
https://youtu.be/CSqbjfCCLrU
https://youtu.be/C6EWVBNCxsc
#ocr
是leptonica 和 tesseract C库的Rust绑定
leptess
#game #puzzle
wordsolve
#metrics
metrics-facade提供了类似于log库的宏,这些宏方便开发者收集性能指标(递增计数器、度量表和直方图)来测量其代码。
metrics-facade
#Raytracer
#docker
主要是利用多阶段构建的方式,在最后一个阶段将编译好的二进制文件复制到一个最小化镜像里。