cyt
導(dǎo)航
C++博客
首頁(yè)
新隨筆
聯(lián)系
聚合
管理
<
2025年8月
>
日
一
二
三
四
五
六
27
28
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
統(tǒng)計(jì)
隨筆 - 36
文章 - 0
評(píng)論 - 87
引用 - 0
常用鏈接
我的隨筆
我的評(píng)論
我參與的隨筆
留言簿
(12)
給我留言
查看公開(kāi)留言
查看私人留言
隨筆分類(lèi)
Work(20)
(rss)
隨筆檔案
2008年1月 (1)
2007年9月 (1)
2007年3月 (3)
2006年11月 (2)
2006年4月 (2)
2006年3月 (2)
2006年1月 (3)
2005年11月 (2)
2005年10月 (20)
文章分類(lèi)
C/C++
(rss)
Libraries
(rss)
好友Blog
hongrui
Rayman
(rss)
Turing
廢人廢語(yǔ)
(rss)
搜索
最新評(píng)論
1.?re: OCI訪(fǎng)問(wèn)Oracle的一些刁鉆問(wèn)題[未登錄](méi)
這個(gè)有沒(méi)有具體的代碼?目前正好遇上這個(gè)問(wèn)題了
--paul
2.?re: 使用std::vector的一個(gè)誤區(qū)
很同意的你看法
--lancen
3.?re: 新版本的Qu
評(píng)論內(nèi)容較長(zhǎng),點(diǎn)擊標(biāo)題查看
--home page
4.?re: 新版本的Qu
評(píng)論內(nèi)容較長(zhǎng),點(diǎn)擊標(biāo)題查看
--Web site
5.?re: 新版本的Qu
評(píng)論內(nèi)容較長(zhǎng),點(diǎn)擊標(biāo)題查看
--this link
閱讀排行榜
1.?使用std::vector的一個(gè)誤區(qū)(7971)
2.?epoll的安裝和調(diào)試(5861)
3.?我自己的signal / slot實(shí)現(xiàn)(5429)
4.?如何在windows service里面控制console程序退出(4625)
5.?OCI訪(fǎng)問(wèn)Oracle的一些刁鉆問(wèn)題(4551)
評(píng)論排行榜
1.?新版本的Qu(19)
2.?C++博客的精華區(qū)分類(lèi)構(gòu)想(意見(jiàn)收集)(8)
3.?使用std::vector的一個(gè)誤區(qū)(8)
4.?drupal安裝心得(7)
5.?補(bǔ)充 BVRDE 使用的一些注意問(wèn)題(6)
新版本的Qu
以前寫(xiě)過(guò)一篇qu的介紹blog(見(jiàn)
http://www.shnenglu.com/cyt/archive/2005/10/08/579.html
)。
現(xiàn)在語(yǔ)言已經(jīng)出到1.21.03版本。當(dāng)然,其進(jìn)步也已經(jīng)不少。主頁(yè)在:
http://centrin.net.id/~marc/
1、語(yǔ)言對(duì)象豐富了很多。因?yàn)椴挥浀靡郧坝卸嗌俜N了,所以也說(shuō)不清究竟多了多少。不過(guò)現(xiàn)在看內(nèi)部支持的類(lèi)型列表,明顯比以前多了。例如Socket、Thread、Weak、Proc等等。
2、支持嵌入HTML,例如:
pragma?html
options?=?[foo:1,?bar:2,?baz:3]
<
FORM?
ACTION
="/foo"
?METHOD
="POST"
>
????
<
SELECT?
NAME
="choice"
>
????for?k,?v?in?options
????????
<
OPTION?
VALUE
=v
>
(\k)
</
OPTION
>
????;;
????
<
INPUT?
TYPE
="submit"
?VALUE
="Send"
>
????
</
SELECT
>
</
FORM
>
?
3、提供了 JIT engine,就是用上次介紹過(guò)
GNU Lightning
。換句話(huà)說(shuō),代碼可以翻譯為匯編代碼,可以在x86, SPARC and PowerPC等機(jī)器上執(zhí)行。變成匯編,其性能提高多少可想而知。qu自己也列出了其性能比較:
http://centrin.net.id/~marc/performance.html
4、提供一種
validators
技術(shù),動(dòng)態(tài)類(lèi)型語(yǔ)言的數(shù)據(jù)類(lèi)型靈活多變,所以類(lèi)型校驗(yàn)顯得比較重要。例如:
sub?Message?(x)
????
return
?x?
is
?String?
and
?x?
and
?
not
?x.isspace???x.capitalize?:?false
;;
sub?hello?(s:?Message)
????println?(
'
Hello?
'
,?s)?
#
?guess?what?it?prints!
end?sub
Message看起來(lái)好像是一個(gè)函數(shù)的樣子,但它可以用來(lái)驗(yàn)證變量的類(lèi)型。保證傳入hello函數(shù)的參數(shù)s,必須要滿(mǎn)足Message(s)返回true。
5、靈活的語(yǔ)法,特別是支持lambda語(yǔ)法。喜歡ruby的估計(jì)也會(huì)喜歡這個(gè)
f?
=
?sub?(x)?
return
?x.len?
>
?
3
?;;
f?
=
?
lambda
?(x)?x.len?
>
?
3
f?
=
?{
|
x
|
?x.len?
>
?
3
}
f?
=
?{
|
x
|
?
yield
?i?
for
?i?
in
?x}
反正主頁(yè)上列出了很多很多吸引人的
Features
。不過(guò)具體實(shí)用性如何,我就不知道了。暫時(shí)看不到有什么著名的成功案例。不過(guò)語(yǔ)言真的是越來(lái)越吸引了。
posted on 2006-04-14 23:09
cyt
閱讀(2616)
評(píng)論(19)
編輯
收藏
引用
所屬分類(lèi):
Work
Comments
#
re: 新版本的Qu
靈感之源
Posted @ 2006-04-19 21:26
“4、提供一種validators技術(shù)”
語(yǔ)法很明顯是參考了BASIC :)
回復(fù)
更多評(píng)論
#
re: 新版本的Qu
cyt
Posted @ 2006-04-21 21:53
感覺(jué)上就是大雜燴,估計(jì)作者是把各種語(yǔ)言自己喜歡的部分都綜合起來(lái)。不過(guò)反而顯得沒(méi)有自己的風(fēng)格。
回復(fù)
更多評(píng)論
#
re: 新版本的Qu
qindebu
Posted @ 2006-04-24 13:57
對(duì)這個(gè)也比較感興趣,想研究一下Lightning,多多交流
回復(fù)
更多評(píng)論
#
re: 新版本的Qu
qindebu
Posted @ 2006-04-24 13:59
q_debu@hotmail.com
回復(fù)
更多評(píng)論
#
re: 新版本的Qu
fang
Posted @ 2006-05-23 10:37
java,ruby,php,python,perl,tcl在web開(kāi)發(fā)也比較完善了,如果讓人再學(xué)一個(gè)Qu,恐怕有點(diǎn)力不從心. 不過(guò)也許在特殊應(yīng)用中能應(yīng)用.
回復(fù)
更多評(píng)論
#
re: 新版本的Qu[未登錄](méi)
tony
Posted @ 2007-08-22 09:00
有誰(shuí)知道嵌入式微秒一級(jí)的內(nèi)存數(shù)據(jù)庫(kù)eXtremeDB,據(jù)說(shuō)超強(qiáng) 望前輩指點(diǎn)
jiangyongfei111@eyou.com
回復(fù)
更多評(píng)論
#
re: 新版本的Qu
StephensonKarla33
Posted @ 2010-07-23 23:13
Have no a lot of cash to buy a building? Don't worry, because that's available to receive the <a href="
http://bestfinance-blog.com">loan</a>
to resolve all the problems. Therefore take a term loan to buy all you want.
回復(fù)
更多評(píng)論
#
re: 新版本的Qu
free essays
Posted @ 2010-07-25 06:56
There are extraordinary tips about the way to have the academic grade. Thus, students should know the idea referring to this good topic and write the well done europe essay paper. The another way is to search for the reliable good essay writing service and just order term paper in web. We hope this will help.
回復(fù)
更多評(píng)論
#
re: 新版本的Qu
mp3 ringtones
Posted @ 2010-07-30 18:55
You share a kind of really good stuff! We opine, it should be compared with unique cellphone ringtones in the get ringtones providers.
回復(fù)
更多評(píng)論
#
re: 新版本的Qu
essays online
Posted @ 2010-08-01 17:54
I do not stake that you can write good enough essays, but, essays online service is able to make that better.
回復(fù)
更多評(píng)論
#
re: 新版本的Qu
Paper writing service reviews
Posted @ 2013-04-10 16:17
Don’t have the faintest idea which writing centre to choose to obtain assistance from? Glance over OvernightEssay testimonials, and reach a good choice.
回復(fù)
更多評(píng)論
#
re: 新版本的Qu
this site
Posted @ 2013-04-10 16:18
Thank you, it's very amazing description about this good topic it might be very kind for students. Recently i needed resume service (marvelousresume.com). To my adroitest surprise, resume was worthy the price I paid for it.
回復(fù)
更多評(píng)論
#
re: 新版本的Qu
SamedayEssay testimonials
Posted @ 2013-05-22 12:12
When it's quite complicated for you to understand at what online writing services buy essay papers, look over essay writing service review best-writing-services.com which will assist you to make a deal with really reliable organization.
回復(fù)
更多評(píng)論
#
re: 新版本的Qu
BuyEssay rewiew
Posted @ 2013-09-21 13:16
Thanks to full custom essay writing services reviews (essaysreview.com), I managed to make a deal with the reliable online essay writing service to buy custom papers at. Today, if I need immediate writing services, I know where to go so that get the first-rate writing materials I am looking for.
回復(fù)
更多評(píng)論
#
re: 新版本的Qu
this link
Posted @ 2013-09-21 13:16
Have no clue which company to select to receive assistance from? Look over WritingsCentre testimonials, and come to a judicious decision.
回復(fù)
更多評(píng)論
#
re: 新版本的Qu
Web site
Posted @ 2013-09-21 13:27
Are you searching for resume services? Still ignorant of which company to choose for buying resume? Go to this site. Here you can read CV sample or buy resumes from certified resume writers.
回復(fù)
更多評(píng)論
#
re: 新版本的Qu
home page
Posted @ 2013-09-21 13:31
Are you searching where to buy resume paper or where to get resume templates and excellent CV writing? Or you just would like to buy resumes from professional resume writers? Only get in touch with Resume company.
回復(fù)
更多評(píng)論
刷新評(píng)論列表
只有注冊(cè)用戶(hù)
登錄
后才能發(fā)表評(píng)論。
【推薦】100%開(kāi)源!大型工業(yè)跨平臺(tái)軟件C++源碼提供,建模,組態(tài)!
相關(guān)文章:
如何在windows service里面控制console程序退出
補(bǔ)充一個(gè)OCI的問(wèn)題
OpenDBX 一個(gè)訪(fǎng)問(wèn)多數(shù)據(jù)庫(kù)的C類(lèi)庫(kù)
移植代碼到64bits碰上的問(wèn)題
db4o and GigaBase
實(shí)在慚愧
新版本的Qu
OCI訪(fǎng)問(wèn)Oracle的一些刁鉆問(wèn)題
Linux的系統(tǒng)性能監(jiān)測(cè)參數(shù)獲取
簡(jiǎn)單的類(lèi)型安全format輸出后記
網(wǎng)站導(dǎo)航:
博客園
IT新聞
BlogJava
博問(wèn)
Chat2DB
管理
Powered by:
C++博客
Copyright © cyt
国产三级久久久精品麻豆三级
|
91精品国产综合久久婷婷
|
久久亚洲sm情趣捆绑调教
|
亚洲午夜福利精品久久
|
国产V综合V亚洲欧美久久
|
亚洲伊人久久成综合人影院
|
久久精品国产亚洲AV不卡
|
一本色道久久99一综合
|
中文精品久久久久国产网址
|
久久久精品人妻一区二区三区蜜桃
|
国产精品久久久久无码av
|
久久精品国产久精国产果冻传媒
|
热久久国产精品
|
国产精品禁18久久久夂久
|
久久精品国产亚洲AV忘忧草18
|
精品人妻伦一二三区久久
|
国内精品伊人久久久久AV影院
|
欧美精品丝袜久久久中文字幕
|
久久99毛片免费观看不卡
|
超级97碰碰碰碰久久久久最新
|
欧美黑人激情性久久
|
一本久久精品一区二区
|
精品国产婷婷久久久
|
999久久久国产精品
|
久久精品国产久精国产
|
国产亚洲综合久久系列
|
久久青青草原精品国产
|
国产成人无码精品久久久性色
|
久久性精品
|
无码8090精品久久一区
|
久久久久久av无码免费看大片
|
AA级片免费看视频久久
|
精品久久久久久无码人妻蜜桃
|
国产精品美女久久久网AV
|
狠狠干狠狠久久
|
色综合合久久天天综合绕视看
|
国产成人久久精品二区三区
|
国内精品欧美久久精品
|
久久天天躁狠狠躁夜夜2020老熟妇
|
久久久久国产成人精品亚洲午夜
|
久久国产香蕉一区精品
|