IBM Developer is your one-stop location for getting hands-on training and learning in-demand skills on relevant technologies such as generative AI, data science, AI, and open source.
2008å¹´03æ30æ¥19:45 ã«ãã´ãªLightweight Languagesä¸æ¥ä¸è¡éé perl - ã¯ã³ã©ã¤ãã¼ã®æ¸ãæ¹å ¥é ã¾ããruby ã®ã³ãã³ãã©ã¤ã³ãªãã·ã§ã³ã£ã¦ãPerlç±æ¥ã§ãããã Rubyã§ã¯ã³ã©ã¤ãã¼ãæ¸ãæ¹æ³ã®ã¾ã¨ã ã¾ããPerlããããããã¾ãéè¦ãç¡ãã®ããç¥ãã¾ãããã ã¨ããããã§ãRubyistã«ãå½¹ç«ã¤Perlã®ã¯ã³ã©ã¤ãã¼å ¥éã§ãã åºæ¬ä¸ã®åºæ¬ ã³ãã³ãã¨ãã¦ã®perlã¯ãã¹ã¤ããããªãå ´åãå¼æ°ã¯ã¹ã¯ãªããåã¨ãã¦æ±ããã¾ãã % cat hello.pl print "Hello, world!\n"; % perl hello.pl Hello, world! % ã³ãã³ãã©ã¤ã³ä¸ã®æååãã¹ã¯ãªããã¨ãã¦è§£éãããã«ã¯ã-eã使ãã¾ãã % perl -e 'print "Hello, World!\n"' Hello, worl
ããã§ã¯ãRubyã«ãããããã¯ã¼ã¯ããã°ã©ãã³ã°ã®èª¬æãè¡ãããã¨æãã¾ãã ããã§å¯¾è±¡ã¨ãã¦ããèªè ã¯ããããã¯ã¼ã¯ããã°ã©ãã³ã°åå¿è ï¼ãããã¯å ¥éè ï¼ã§ãã TCP ç°¡åãªTCPãµã¼ãã¨ã¯ã©ã¤ã¢ã³ã TCPã¯ã©ã¤ã¢ã³ã(ã¨ã©ã¼å¦çä»ã) ä½åº¦ãåä¿¡ã§ããTCPãµã¼ã TCPãµã¼ã(acceptããç¸æã®ç¢ºèª) UDP UDPã使ã UDPã§ããã¼ããã£ã¹ãã使ã UDPã§ãã«ããã£ã¹ãã使ã(ãã«ããã£ã¹ããéä¿¡ãã) UDPã§ãã«ããã£ã¹ãã使ã(ãã«ããã£ã¹ããåä¿¡ãã) UDPã§ãã«ããã£ã¹ãã使ã(TTLãè¨å®ãã) Web ç°¡åãªHTTP GETï¼Net::HTTPï¼ HTTP HEADã¨å ¨ã¦ã®HTTPãããã®è¡¨ç¤ºï¼Net::HTTPï¼ HTTP POSTï¼Net::HTTPï¼ ç°¡åãªRSSã¯ã©ã¤ã¢ã³ã ãã®ä» IO::selectã使ã IPã¢ãã¬ã¹ãããã¹ãåã¸ã®å¤æ
[追è¨] ifæ§æã®å¤æ°ã¹ã³ã¼ãã®èª¬æã«ééããããã¾ããæ°ããã¹ã³ã¼ãã¯ä½ããã¾ããã ãçã®ã¾ã£ãã ä¸8/11(å)ã«ã社å åå¼·ä¼ãéãã¦ãPHPã¦ã¼ã¶åãã«Ruby/Railså ¥éãããã¾ããã ãã¤ã¯ãçã®åææ¥ã«4æéãåå¼·ä¼ã£ã¦äºã§ããããªã«äººãéã¾ããªãã ããã¨æã£ã¦ããã®ã§ããããµããéãã¦ã¿ãã28åãåå ããããã³ã£ãããã¾ãããããã ãèå³ãæã£ã¦ããã£ãã®ã¯å¬ãããã©ãããã ãéã¾ããªãè³æã¯ã¡ããã¨ä½ããªãã¨ã»ã»ã»ã»ãã¨ãããã¨ã§ãä½ã£ãè³æãå ¬éãã¾ãããªãã¨Rubyç·¨100ãã¼ã¸ãªã¼ãã¼ãRailsç·¨200ãã¼ã¸ãªã¼ãã¼ã¨ãããªã大ä½ã§ãã RubyKaigiã§ãçºè¡¨è ã®ã¹ã©ã¤ãã®æ¨ªã§IRCã表示ããã¦ããã®ãé¢ç½ãã£ãã®ã§ãåå¼·ä¼ã®åå è ã«ã¯ãLingrã®ãã£ããã«ã¼ã ã«å ¨å¡å ¥ã£ã¦ããã£ã¦ã質åããã¼ããã¨ã®ãçµãã£ãï¼ãã¨ããæ¸ãè¾¼ã¿ããã¦ãããã¾ãããä»
ãã®æ¬ã¯ãã¯ã¤ã»ã¶ã»ã©ããã¼ã¹ãã£ã(why the lucky stiff)ã«ããææ ãè¾¼ãã¦æ¸ãããã ~ ç®æ¬¡ ~ ãã®æ¬ã«ã¤ã㦠ã³ã³ããããRuby ãã®æ¬ãéã ç¬ã®è©± 赤ã太é½ãæã æ¬ã¯ã©ã®ããã«å§ã¾ãã (漫ç»ã®ãããã¨å¦ã¶)çæéã®(ããã¦é¡ããã¯è¾ããªã)Rubyã³ã¼ã¹ è¨èªã¨ãè¨èªã§æå³ãã¦ãããã® åè©ç§ãã¾ã ããªãã®ãã¨ãåååä¾æ±ãã㦠ããªãã£ããªã ããªãã®æé·ãä¿ãããã®ä¾é¡ ããã¦çãæ ã¯ãã£ã¨ã¯ãã·ã§ã³åæ¢ãã æµ®ãã¦ããå°ããªã³ã¼ãã®èã£ã± ã¢ã³ããã¼ãºã«ãããã¹ãã¼ã¿ã¹ã·ã³ãã«ã¨ãã¦ã®èã£ã± å°ããã¦ã»ã¨ãã©ä¾¡å¤ã®ãªããã® å¦æ³ãã¤ãªãåããã ãããã¯ã®å¥è·¡ ã«ã¼ã«ãä½ããã®ã¨å¤¢ãçãããã® ããã¯æ¨©å©ã奪ããã人ã®ãã ã³ã³ãã¥ã¼ã¿ã®ããå å¨ã®ãªã«ã¬ã³æ師ã®è©±ã®ã¤ã¥ã ã¤ã®ã¯æ ç»ãå ¨é¨è¦ããã£ã¦ãã çã¾ãããã主 ã«ã¼ã«ãä½ãè ã㡠夢ã
ãç¥ãã
é害
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}