• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            cyt
            以前寫(xiě)過(guò)一篇qu的介紹blog(見(jiàn)http://m.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)論   
             
            无码人妻精品一区二区三区久久久| 日本一区精品久久久久影院| 国内精品伊人久久久久影院对白| 伊人色综合久久天天| 国内精品久久久久国产盗摄| 久久笫一福利免费导航 | 精品欧美一区二区三区久久久| 国产农村妇女毛片精品久久| 一级女性全黄久久生活片免费 | 国产综合成人久久大片91| 伊人久久大香线蕉AV一区二区| 国产精品99精品久久免费| 久久久久国产一级毛片高清板| 久久午夜福利无码1000合集| 久久99精品久久久久久久不卡 | 欧美激情精品久久久久久久九九九| 久久精品一区二区三区AV| 久久亚洲精品国产精品| 欧美精品一区二区久久| 久久夜色tv网站| 久久AV高清无码| 亚洲精品乱码久久久久久按摩| 亚洲美日韩Av中文字幕无码久久久妻妇 | 久久丫忘忧草产品| 日本久久久久亚洲中字幕| 伊人久久一区二区三区无码| 久久久人妻精品无码一区| 国产精品久久国产精麻豆99网站| 亚洲精品无码专区久久久| 免费精品国产日韩热久久| 性做久久久久久久久| 日日狠狠久久偷偷色综合免费| 精品久久久无码中文字幕天天| 97久久天天综合色天天综合色hd| 伊人久久大香线蕉综合Av| 综合久久国产九一剧情麻豆| 久久五月精品中文字幕| 亚洲人成电影网站久久| 久久精品国产AV一区二区三区| av无码久久久久久不卡网站| 韩国免费A级毛片久久|