You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Rebuild A Podcast by Tatsuhiko Miyagawa. Talking about Tech, Software Development and Gadgets. 00:00 miyagawa: naoyaãããæè¿ã¯çµæ§ããã°ãæ´»çºã«ãªã£ã¦ãã¦ããæãã§ããã naoya: ã¯ãã¯ããããã§ãããã miyagawa: ãªãããå¿å¢ã®å¤åããã£ããã§ããã naoya: å¿å¢ã®å¤å(ç¬) miyagawa: (ç¬) naoya: ãããã£ã¨ãã©ã¯ã¨ãããã¦ãªãã£ããã§ããã©(ç¬) miyagawa: (ç¬) naoya: ããããã§ãæè¿ã¡ãã£ã¨ããªããä½ã£ãããã¦ãã®ã§ãçµæ§ä¸äººã§ä½ã£ã¦ããã§ãããã¾ãããããããã¨ãã£ããã¿ãããªãã¨ããä»äººã«å ±æããæ©ä¼ãç¡ããã§ããã miyagawa: ããããã naoya: ããããã¨ããªããããã°ã«æ¸ãã¦ã¿ããã
PythonããCããã°ã©ã ãå¼ã³åºã [æ´æ°æ¥: 2022å¹´03æ19æ¥ ] Python ã§ããã°ã©ãã³ã°ãã¦ããã¨ã æ°ãããã¼ã¿æ§é ãä½ãä¸ããå ´åãªã©ã«ã C/C++ ã®åãåããããªããã¨ãããã¾ãã Python ãã C/C++ ã³ã¼ããå¼ã³åºãæ¹æ³ãæ¸ãã¾ãã ã¾ãã¯ãCãã... 1.ã½ã¼ã¹ã³ã¼ã 次ã®é¢æ°ãé¡æã«ãã¾ãã // hello.c int add(int x, int y) { return x + y; } void out(const char* adrs, const char* name) { printf("ããã«ã¡ã¯ãç§ã¯ %s ã® %s ã§ãã\n", adrs, name); } 2.wrapper ã³ã¼ã ã¾ãã¢ã¸ã¥ã¼ã«(ã©ã¤ãã©ãª)åã決ãã¾ãã ããã§ã¯ "hello" ã¨ãã¾ãã ããã¦ã©ããã¢ã¸ã¥ã¼ã«ãæ¸ãã¾ãã // hello
以åï¼éçºããã¼ã¸ã£ã®åéåºåã§ï¼æããé¦ãå¾ããããªããããªãã®ãè¦ããã¨ãããã¾ãããã®ã²ã¨ã¤ã§ã¯ï¼ããããã®ããã°ã©ã è¨èªã¨éçºç°å¢ã«ã¤ãã¦ååãªç¥èãæã£ã¦ãããã¨ãæ¡ä»¶ã«ãã¦ãã¾ãããå¥ã®æ¡ä»¶ã§ã¯ï¼ãã®ãã¸ã·ã§ã³ã®66%(ãªã2/3ã§ã¯ãªãã®ã§ãããï¼)ã®ä½æ¥ã¯ããã°ã©ãã³ã°ï¼ã¨ããã¾ãããä»ã«ãPMOèªå®ææè ãæ±ãããã®ãªã©ï¼ãããªèª¿åã§å»¶ã ã¨ç¶ãã¦ããã®ã§ããéçºããã¼ã¸ã£ã¨ããå½¹å²ãï¼ããæå³ã§æ¼ ç¶ã¨ãããã®ã§ãããã¨ã¯äºå®ã§ããããããããã®ãããªæ±äººæ å ±ãè¦ãã¨ï¼åéãåºãã¦ããä¼æ¥ãéçºããã¼ã¸ã£ã®å½¹å²ã«ã¤ãã¦æ¬å½ã«èãã¦ããªãã®ã§ã¯ãªããï¼ã¨ããå°è±¡ãåãã¦ãã¾ãã¾ããéç¨ããä¼æ¥ã«ã¨ã£ã¦ãï¼ãã®ãããªæ¡ä»¶ã§éç¨ãããå´ã«ã¨ã£ã¦ãï¼ããã¯ä¸å¹¸ã®å ã§ããããã¾ããã éçºããã¼ã¸ã£ã§ããããªãã¯ï¼ããããã®è²¬ä»»ãèè² ã£ã¦ãã¾ããï¼ãã£ã¨ãéè¦ãªã®ã¯è£½åãåºè·ãããã¨
wheezy.webã¨ããæ°ãããã«ã¹ã¿ãã¯è»½éWebFrameworkããªãªã¼ã¹ããã¦ãã¾ãã ã¢ãã³ãªä½ãã§ãã¤å½¹å²åæ ãæ確ã«åé¢ãã¦ãã¶ã¤ã³ããã¦ãã¾ãã ã³ã¼ããã·ã³ãã«ã§ãã¢ããªã®å®è£ ã«å¯¾ã㦠極åãªã¼ãã¼ãããã«ãªããªããã注ææ·±ãå®è£ ããã¦ãã¾ãã ãå¥ç´ã«ãããã¶ã¤ã³ãããã³ããã¼ã¯ãã¹ããåãå ¥ãã¦ã㦠å¤äººæ°ã§ã®éçºã§ãèãããä»æããæã£ã¦ããããã§ãã ãµã¤ãï¼ https://bitbucket.org/akorn/wheezy.web ããã¥ã¡ã³ãï¼ http://packages.python.org/wheezy.web/ ãã¬ã¼ã ã¯ã¼ã¯ã®ããªã·ã¼ èãåºããµãã¼ã Model/View/Controlleråé¢æ¨å¥¨ WSGIãµã¼ãç¨æãã¦ãªãã好ããªã®ä½¿ãã DBã¨ã³ã¸ã³ã¯ç¨æãã¦ãªãã好ããªã®ä½¿ãã ãã³ãã¬ã¼ãã¨ã³ã¸ã³ã¯æ¨å¥¨ã®ãç¨æãã¦ããå¿ é ãããª
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}