摘要: C/C++调用Golang 二 《C/C++调用Golang 一》简单介绍了C/C++调用Golang的方法步骤,只涉及一个简单的函数调用。本文总结具体项目中的使用场景,将介绍三种较复杂的调用方式:一,C++向golang传入复杂结构体;二,C++向golang传入回调函数,在golang中调用C+ 阅读全文
posted @ 2017-09-07 19:40 majianguo 阅读(7587) 评论(0) 推荐(0) 编辑
摘要: C/C++调用Golang 一 (开发环境: 用一个简单的例子演示如何在C++中调用golang程序。用golang编写一个简单的函数,编译成动态链接库,然后在C++中调用该go函数。 第一阶段 将Golang代码编译成动态链接库 (涉及2个文件 main.go和godll.def) Golang 阅读全文
posted @ 2017-09-06 20:33 majianguo 阅读(15600) 评论(1) 推荐(0) 编辑
摘要: http://studygolang.com/articles/10682 阅读全文
posted @ 2017-08-25 17:24 majianguo 阅读(214) 评论(0) 推荐(0) 编辑
摘要: http://studygolang.com/articles/10635 阅读全文
posted @ 2017-08-25 08:28 majianguo 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 从源码安装golang 通常情况下,安装go只需要在官网(https://golang.org/dl/)下载适合系统的二进制发布包,按照安装说明进行安装即可。 对于Linux, Mac OS X和FreeBSD系统下的安装,三步即可完成: 1.下载tarballs文件go$VERSION.$OS-$ 阅读全文
posted @ 2017-07-30 13:44 majianguo 阅读(12692) 评论(0) 推荐(1) 编辑
摘要: 语言变化:增加了类型别名 To find out what has changed in Go 1.9, read the draft release notes: https://tip.golang.org/doc/go1.9 Documentation for Go 1.9 is availa 阅读全文
posted @ 2017-06-19 08:30 majianguo 阅读(149) 评论(0) 推荐(0) 编辑
摘要: raspberrypi 3代B 配置摄像头 硬件环境: 树莓派3B (element 14版) 树莓派3夜视摄像头800万像素(element 14版) 金士顿 64GB TF Class 10 UHS-I 存储卡 (90MB/S) 操作系统: ubuntu-mate-16.04.2-desktop 阅读全文
posted @ 2017-05-29 08:33 majianguo 阅读(783) 评论(0) 推荐(0) 编辑
摘要: 5月15日发布的avro 1.8.2 已经包含了js版代码。 清华大学镜像地址: https://mirrors.tuna.tsinghua.edu.cn/apache/avro/avro-1.8.2/js/ 根据README.md,运行了一下简单的例子。 具体步骤: 1.将下载的压缩包解压 2.在 阅读全文
posted @ 2017-05-19 00:11 majianguo 阅读(439) 评论(0) 推荐(0) 编辑
摘要: Talk 3: Rob Pike on Upspin Upspin is an experimental project to build a framework for naming and sharing files and other data securely, uniformly, and 阅读全文
posted @ 2017-05-18 07:58 majianguo 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 原文地址 https://security.googleblog.com/2017/02/another-option-for-file-sharing.html Another option for file sharing February 21, 2017 February 21, 2017 阅读全文
posted @ 2017-05-18 07:44 majianguo 阅读(204) 评论(0) 推荐(0) 编辑