asm.jsã触ã£ã¦ã¿ãã®ã§ææãªã©ã asm.jsã¯JavaScriptã®ãµãã»ããã§ãéãããåãã使ããªããé«éã«åä½ããè¨èªã¨ã®äºãã¨ããããã©ã®ç¨åº¦éããªãã®ããè¨ç®éãå¤ããªãfibonacciã®å®è£
ã§è©¦ãã¦ã¿ããåèè³æã¯asm.jsã®ä»æ§ãããããç¡ãã£ãã®ã§ãããè¦ãªããã ã§ãå®éã«æ¸ãã¦ã¿ãã¨åããããããªJavaScriptã®ã¤ã¡ã¼ã¸ã¯èããå´©ãå»ããå³æ ¼ãªåãã§ãã¯ã®ä¸çã§ããäºãããã£ããã³ã³ãã¤ã«è¨èªãæ¸ãã¦ããæã®é ã«åãæããªãã¨ãã³ã³ãã¤ã«ã¨ã©ã¼ã¨å»¶ã
æ ¼éããäºã«ãªããã¾ãã¯asm.jsã®ã³ã¼ãã¯æ¬¡ã®å½¢å¼ã§ãmodule exportããã function create_my_asm_module(stdlib, foreign, heap) { "use asm"; function hoge() {...} function fuga() {...
{{#tags}}- {{label}}
{{/tags}}