- 浏览: 76356 次
- 性别:
- 来自: 大连
-
最新评论
-
bluegene:
要等这个东西能真正的实战 估计还得等上一阵子,特别是googl ...
Google的Go编程语言使用初探 -
七猫:
我只想知道我能用他来做什么比较方便。
Google的Go编程语言使用初探 -
linkerlin:
goroutine从 名字上 看 就是 从 lua抄来的 .
...
Google的Go编程语言使用初探 -
mryufeng:
go的语言特性很强大 我最喜欢的是1. defer2. int ...
Google的Go编程语言使用初探 -
andy_ghg:
trace 写道tsq 写道似乎还不错。不过名字起得不太好,g ...
Google的Go编程语言使用初探
文章列表
Original link: http://sunxiunan.com/?p=1498
You could download the project from http://groups.google.com/group/lua5/web/luautil.rar
At first, create a windows dll application. The IDE I used is VC2008.
I suggest you download and install the "Lua for windows
"
from luaforg ...
following code happens many times in our project:
xxxxxxx;
#if defined _ETHERNET
tmp1String = deviceKey.GetAddressAsString();
#else
tmp1String = deviceKey.GetNodeAsString();
#endif
yyyyyyy;
...
- 2009-11-23 17:48
- 浏览 905
- 评论(0)
http://sunxiunan.com/?p=1477
You could download the project for VC2008 in http://groups.google.com/group/lua5/web/lua_vc2008.rar
The project will use parameter like "c:\test.lua", and the lua script like above image.
The code starting point is pmain().
lua par ...
http://sunxiunan.com/?p=1463
Go编程语言是Google中一些大牛(尤其是有着plan9前科的大牛们)如Rob Pike,Ken Thomason这两位赫赫有名的程序高手、技术作家。
很多人认为Go编程语言有点像是C语言与Python的混血,在Golang主页上也清楚写着Go的祖先有C,有Pascal/Modula(也是C++的祖先)/Oberon,还有CSP这个语言,另外很多基础代码也来自Plan 9操作系统。
我是在一个Ubuntu9.10的虚拟机上试用的Go,大家可以跟着我的脚步一探Go的究竟。
1,准备
安装Go之前需要安装merc ...
http://sunxiunan.com/?p=1447
经常有人问到关于Lua的问题是“Lua如何能使用C++的成员变量?”“Lua如何调用C++类的成员函数?”“C++的复杂数据结构(如数组)如何传递进入Lua让Lua可以使用?”
这些问题之频繁,几乎每天都可以看 ...
lua利好消息,google拼音加入支持lua。
下载最新版本的谷歌拼音,就可以通过lua来扩展它的功能了。
api的帮助信息在这里能看到
http://www.google.com/ime/pinyin/api.html
安装完以后,在
c:\Documents and Settings\All Users\Application Data\Google\Google Pinyin 2\Extensions
可以找到一个base.lua,里面代码写的比较清楚了。
比如这个计算模式。
function Compute(inpu ...
Online Lua 5.1 source code browser
Recommended reading order:
lmathlib.c, lstrlib.c: get familiar with the external C API. Don't
bother with the pattern matcher though. Just the easy functions.
lapi.c: Check how the API is implemented internally. Only skim this
to get a feeling for the co ...
- 2009-10-16 14:42
- 浏览 2129
- 评论(0)
require "System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
require "System.Speech, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
require "System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
wc = ...
http://sunxiunan.com/?p=1333
闲逛javaeye论坛,发现一个很有趣的帖子《面子驱动编程》,里面的观点简单说就是:从客户需求出发,实事求是,面向用户(或者说面向需求)来做设计。
前面我写了一篇文字如果我来做软件(1 ...
function get_tokens(str)
local string = string
local table = table
local tokens = {}
local stringbuffer = ""
local numberbuffer = ""
local previous_is_number = false
local previous_is_string = false
local previous_is_quote = false
local ...
http://bbs.luaer.cn/read-Lua-tid-861.html
--------------------------------------------------
require
("wx")
-- Lua
5.1+ base64 v3.0 (c) 2009 by Alex Kloss <alexthkloss@web.de
>
-- licensed under the terms of the LGPL2
-- character table
string
local b='ABCDEFGHIJKLM ...
- 2009-09-17 09:11
- 浏览 2563
- 评论(0)
Installer for Windows
- Unstable
To run MonoDevelop on Windows you have to download and run the following installers:
.NET Framework 3.5
(You may already have this installed)
Download
GTK# for .NET 2.12.9-2
(if you have older versions installed, please uninstall first)
...
- 2009-09-16 08:41
- 浏览 1612
- 评论(0)
-- http://penlight.luaforge.net/packages/LuaInterface/
require "CLRPackage"
import "System.Threading"
import "System.Console"
import "System.Math"
import "System.Timers"
-- http://msdn.microsoft.com/zh-cn/library/system.math.aspx
Console.WriteL ...
http://sunxiunan.com/?p=1300
刚写完一个CST问题的教训
,发现John Robbins大牛最近也写了一篇博客《Correctly Creating Native C++ Release Build PDBs
》(正确地建立原生C++Release Build PDB文件),里面有不少说法跟我那篇文字近似。在这里再 ...
We are proud to announce the next release of Lua for Windows (LfW). Read the changelog for more information. Enjoy.Homepage:http://luaforwindows.luaforge.net/Description:Lua for Windows is a 'batteries included environment' for the Lua scripting language on Windows.Lua for Windows combines Lua binari ...
- 2009-09-04 08:22
- 浏览 4569
- 评论(0)