上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 48 下一页

2019年3月8日

如何编译luabind支持vs2010之后所有版本

摘要: 步骤 下载https://github.com/luabind/luabind/tree/0.9。 其最后一次commit为 Revision: 8c66030818f0eacbb7356c16776539b55d8c5319Author: Peter Colberg <peter.colberg@ 阅读全文

posted @ 2019-03-08 00:17 cutepig 阅读(199) 评论(0) 推荐(0) 编辑

2019年3月7日

lua 5.3最简单plugin编写

摘要: #include #include "lauxlib.h" /* Pop-up a Windows message box with your choice of message and caption */ int lua_msgbox(lua_State* L) { const char* message = luaL_checkstring(L, 1); const c... 阅读全文

posted @ 2019-03-07 23:36 cutepig 阅读(193) 评论(0) 推荐(0) 编辑

CMake for MFC example

摘要: 注: 未验证。。。后果自负 阅读全文

posted @ 2019-03-07 22:58 cutepig 阅读(156) 评论(0) 推荐(0) 编辑

2019年2月7日

写了个自动生成vcxproj的程序

摘要: 背景: 公司的vcxproj有个模板,必须要遵守 程序测试 阅读全文

posted @ 2019-02-07 00:45 cutepig 阅读(342) 评论(0) 推荐(0) 编辑

2019年2月5日

kindle試玩

摘要: Q:試玩感受如何? Pros 按這個版本,沒有燈,在光纖不好的時候看起來很累。但陽光好的時候看起來很爽 重量很輕,比手機邀請很多 看書很容易沉浸下去,這一點比收集好狠毒 Cons 網上說看pdf不大行 總體覺得不錯 Q:如何拷貝文檔過去? 1.用usb (pdf ok,html不知道行不行) 2.發 阅读全文

posted @ 2019-02-05 21:41 cutepig 阅读(173) 评论(0) 推荐(0) 编辑

2019年2月4日

lua qt測試成功

摘要: 用luabind寫了一個qt的簡單binding 測試成功 阅读全文

posted @ 2019-02-04 15:22 cutepig 阅读(147) 评论(0) 推荐(0) 编辑

2019年1月17日

概念:dependency injection, IOC, vs callback

摘要: callback function as a dependency of the object that it is being passed into. DI is the process of providing the callback (the dependency) to the obje 阅读全文

posted @ 2019-01-17 23:40 cutepig 阅读(272) 评论(0) 推荐(0) 编辑

C++ std::async vs async/await in C# - Stack Overflow

摘要: C++ std::async vs async/await in C# - Stack Overflow 我想知道新的c ++功能std::async是否与两个C#关键字async / await相当,如果不是为什么? 不是,假设我正在正确阅读这个std :: async文档。 C#5的异步/等待功 阅读全文

posted @ 2019-01-17 23:05 cutepig 阅读(1062) 评论(0) 推荐(0) 编辑

a small notepad++ plugin to support doxygen 1key generate

摘要: Precondition: doxygen in c:\ folder testdoxygen.bat path %path%;C:\Doxygen;C:\Doxygen\graphviz\binrd/s/q htmlset INPUTFILE=%1doxygen Doxyfilestart htm 阅读全文

posted @ 2019-01-17 00:02 cutepig 阅读(174) 评论(0) 推荐(0) 编辑

2019年1月9日

cpgf如何实现lua script binding的?

摘要: Lib: https://github.com/cpgf/cpgf/tree/master 代码 以下是operator的实现函数 可见cpgf 设置 一个GGlueDataWrapper *指针作为upvalue,从而可以方便的调用相关实现 而注册函数如下 由于对lua api不很熟悉,这段代码还 阅读全文

posted @ 2019-01-09 23:42 cutepig 阅读(348) 评论(0) 推荐(0) 编辑

2019年1月3日

levent分析

摘要: https://github.com/xjdrew/levent 阅读全文

posted @ 2019-01-03 00:36 cutepig 阅读(129) 评论(0) 推荐(0) 编辑

luanode分析

摘要: https://github.com/ignacio/LuaNode 阅读全文

posted @ 2019-01-03 00:34 cutepig 阅读(203) 评论(0) 推荐(0) 编辑

比较火的图书

摘要: jolt奖系列 https://zh.wikipedia.org/wiki/Jolt%E5%A5%96 head first系列 https://www.52pojie.cn/thread-667131-1-1.html 阅读全文

posted @ 2019-01-03 00:16 cutepig 阅读(151) 评论(0) 推荐(0) 编辑

2019年1月2日

分析 https://github.com/torch/threads

摘要: https://github.com/torch/threads 阅读全文

posted @ 2019-01-02 23:22 cutepig 阅读(228) 评论(1) 推荐(0) 编辑

百度网盘资料下载

摘要: 今天发现一定要安装百度客户端才能下载,一气之下上网搜到了chrome插件 https://greasyfork.org/zh-CN/scripts/39504-%E7%99%BE%E5%BA%A6%E7%BD%91%E7%9B%98%E7%9B%B4%E6%8E%A5%E4%B8%8B%E8%BD% 阅读全文

posted @ 2019-01-02 22:57 cutepig 阅读(593) 评论(0) 推荐(0) 编辑

2019年1月1日

Written a lua threadpool

摘要: 工作原理 由于lua只能单线程运行,该lib要求所有lua代码在单线程,而多线程部分只能为c代码 具体用法上要求多线程部分必须用c实现 相关模块 线程池 异步函数实现框架 Now only a sleep function is provided Usage: C codes: 阅读全文

posted @ 2019-01-01 00:23 cutepig 阅读(331) 评论(0) 推荐(0) 编辑

2018年12月29日

lua luv分析

摘要: 地址 https://github.com/richardhundt/luv 阅读全文

posted @ 2018-12-29 00:57 cutepig 阅读(324) 评论(0) 推荐(0) 编辑

2018年12月28日

gevent monkeypatch分析

摘要: gevent monkeypatch分析 阅读全文

posted @ 2018-12-28 23:09 cutepig 阅读(203) 评论(0) 推荐(0) 编辑

lua tasklib 之lumen 分析

摘要: socket封装分析?? 如何把callback改装成coroutine?? 阅读全文

posted @ 2018-12-28 21:52 cutepig 阅读(218) 评论(0) 推荐(0) 编辑

2018年12月26日

最近之最

摘要: 最想看的书 ireadweek下载的雷军自传 -- done 最近关注技术 coroutine,异步编程 最想搞定而没有搞定的东西 lua task lib,能够将asio做成coroutine那样用 最想学习的语言 rust和julia 最想学习的feature rust的asyn语法 阅读全文

posted @ 2018-12-26 02:12 cutepig 阅读(240) 评论(3) 推荐(0) 编辑

上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 48 下一页

导航