{"id":2117,"date":"2019-12-16T12:29:44","date_gmt":"2019-12-16T04:29:44","guid":{"rendered":"http:\/\/ufqi.com\/blog\/?p=2117"},"modified":"2019-12-17T15:49:20","modified_gmt":"2019-12-17T07:49:20","slug":"webassembly-c-html-hanjst","status":"publish","type":"post","link":"https:\/\/ufqi.com\/blog\/webassembly-c-html-hanjst\/","title":{"rendered":"WebAssembly\u524d\u77bb\u53ca\u7528C\/C++\u5199HTML\u548cHanjst\u6c49\u5409\u65af\u7279"},"content":{"rendered":"<p>2019\u5e7412\u670816\u65e5\uff0c\u5317\u4eac\u4e0b\u4e86\u4eca\u51ac\u7b2c\u4e8c\u573a\u96ea\u2744\ufe0f\uff0c\u4e0d\u5927\u4e0d\u5c0f\u3002<\/p>\n<p>\u5e74\u7ec8\u5c81\u5c3e\uff0c\u56fd\u9645\u4e0a\u51e0\u5927\u8f6f\u4ef6\u53ca\u4e92\u8054\u7f51\u516c\u53f8\uff08Google\u3001Microsoft\u3001Apple\u548cMozilla\uff09\u62c9\u4e0a\u4e92\u8054\u7f51\u6807\u51c6\u5316\u673a\u6784W3C\u53d1\u5e03\u4e86 Web Assembly\u7684\u63a8\u8350\u6807\u51c6\uff08\u00a0<b><a class=\"bigfont\" href=\"https:\/\/ufqi.com\/naturedns\/search?q=-R\/t2SS\" target=\"_blank\">-R\/t2SS<\/a>\u00a0<\/b>\uff09\u3002\u6b64\u4e3e\u610f\u5473\u7740\uff0cWebAssembly\u6280\u672f\u4ece\u906e\u906e\u63a9\u63a9\u7684\u5b9e\u9a8c\u5ba4\u540e\u53f0\u8d70\u5411\u524d\u53f0\uff0c\u5f00\u59cb\u9762\u5411\u5927\u4f17\uff0c\u5c24\u5176\u662f\u5f00\u53d1\u8005\u8fdb\u884c\u63a8\u5e7f\u5e94\u7528\u3002<\/p>\n<ol>\n<li><strong>Web Assembly\u63a8\u51fa\u80cc\u666f\u731c\u6d4b<\/strong><\/li>\n<\/ol>\n<p>Assembly \u5b57\u9762\u4e0a\u7684\u89e3\u91ca\u662f\uff0c\u00a0\u00a0\u201c<span id=\"m_en_gbus0052420.006\" class=\"msDict x_xd1sub t_first\"><span class=\"df\">a group of people gathered together in one place for a common purpose\u201d\uff0c\u4e00\u7fa4\u4eba\u4e3a\u4e00\u4e2a\u5171\u540c\u7684\u76ee\u6807\u805a\u96c6\u5230\u4e00\u4e2a\u5730\u65b9\u3002Web Assembly\u7684\u76ee\u6807\u7b80\u7565\u5730\u8bf4\uff0c\u5c31\u662f\u5c06 C\/C++\/Rust \u8fd9\u4e9b\u7f16\u7a0b\u8bed\u8a00\u5199\u7684\u7a0b\u5e8f\u80fd\u591f\u8fd0\u884c\u5728\u4e0a\u9762\u90a3\u51e0\u5927\u516c\u53f8\u5230\u7f51\u9875\u6d4f\u89c8\u5668\u4e2d\uff08Google Chrome\uff0cMicrosoft Edge\uff0cApple Safari \u548c Mozilla Firefox\uff09\u3002\u76ee\u524d\u5728\u7f51\u9875\u4e0a\u6d41\u884c\u7684\u7f16\u7a0b\u8bed\u8a00 JavaScript \u5c06\u8fce\u6765\u6216\u662f\u5e2e\u624b\uff0c\u6291\u6216\u662f\u5bf9\u624b\u7684Web Assembly\u3002<\/span><\/span><\/p>\n<p>\u65f6\u5149\u5012\u56de\u5230\u7ea610\u5e74\u524d\uff0c <strong>HTML5 \u6807\u51c6\u521a\u63a8\u51fa\u6765\u65f6\uff0c\u5176\u9996\u8981\u7684\u4efb\u52a1\u662f\u4e30\u5bcc HTML \u6216\u8005\u8bf4 \u7f51\u9875\u5e94\u7528\uff0c\u4f7f\u4e4b\u80fd\u591f\u627f\u8f7d\u5176\u7531\u201c\u5185\u5bb9\u5c55\u793a\u5e73\u53f0\u201d\u5411\u201c\u5e94\u7528\u627f\u8f7d\u5e73\u53f0\u201d\u8f6c\u53d8\u7684\u91cd\u4efb\uff08\u6b64\u524d -\u4eba\u6c11\u7f51 \u5185\u90e8\u7814\u7a76\u62a5\u544a\uff09<\/strong>\u3002\u5728\u8fd9\u4e4b\u524d\uff0c\u4e00\u76f4\u662f Adoble Flash\u52aa\u529b\u5730\u594b\u6597\u7740\u3002 HTML5 \u8d21\u732e\u4e86\u4e00\u5927\u6279\u65b0\u9896\u7684\u529f\u80fd\uff0c\u7f51\u9875\u544a\u522b\u7b2c\u4e00\u4ee3\u53ea\u80fd\u505a\u5185\u5bb9\u5c55\u793a\u7684\u529f\u80fd\u53d7\u9650\u7248\u3002<\/p>\n<p>HTML5 \u5e26\u6765\u4e86\u6d4f\u89c8\u5668\/\u7f51\u9875\u4f5c\u4e3a\u201c\u5e94\u7528\u627f\u8f7d\u5e73\u53f0\u201d\u7684\u5927\u53d1\u5c55\u3002\u4e0d\u60f3<strong>\u4e2d\u9014\u51fa\u73b0\u4e86\u201c\u5e94\u7528\u5546\u5e97\u201dApp\u7684\u602a\u80ce\uff0c<\/strong>\u4e00\u4e0b\u5b50\u5c06\u4e92\u8054\u7f51\u524d\u8fdb\u7684\u6b65\u4f10\u6253\u56de\u5230PC\u5355\u673a\u65f6\u4ee3\uff0c\u8981\u7528\u4e2a\u4ec0\u4e48\u8f6f\u4ef6\u90fd\u9700\u8981\u4e0b\u8f7d\u3001\u5b89\u88c5\uff0c\u8fd9\u660e\u663e\u4e0e\u4e92\u8054\u4e92\u901a\u90fd\u53d1\u5c55\u8d8b\u52bf\u662f\u76f8\u80cc\u79bb\u7684\u3002\u4fe1\u606f\u5b64\u5c9b\u9010\u6e10\u5f62\u6210\uff0c\u4e92\u8054\u7f51\u7684\u7ee7\u7eed\u53d1\u5c55\u4e0d\u662f\u52a0\u901f\u4fe1\u606f\u7684\u6d41\u52a8\uff0c\u76f8\u53cd\u662f\u52a0\u5267\u4e86\u4fe1\u606f\u7684\u4e0d\u5bf9\u79f0\uff0c\u4e0d\u6d41\u901a\u3002<\/p>\n<p>\u8fd9\u65e2\u6709\u5546\u4e1a\u5c42\u9762\u7684\u5229\u76ca\u8003\u8651\uff0c\u4e5f\u6709\u6280\u672f\u5c42\u9762\u7684\u5236\u8098\uff0c\u7f51\u9875\u5e94\u7528\u8ba1\u7b97\u529b\u5f31\uff0c\u4f53\u9a8c\u4e0d\u597d\uff0c\u5b89\u5168\u6709\u95ee\u9898\u7b49\u7b49\uff0c\u4e00\u65f6\u5c40\u9762\u751a\u662f\u5c34\u5c2c\uff0c\u6709\u51e0\u4e2a\u5e94\u7528\u5546\u5e97\uff0c\u4e00\u4e2a\u5e94\u7528\u5c31\u9700\u8981\u5f00\u53d1\u51e0\u4e2a\u4e0d\u540c\u7684\u7248\u672c\u3002\u4fe1\u606f\u5728\u5404\u4e2aAPp\u4e4b\u95f4\u9010\u6e10\u624e\u8d77\u7bf1\u7b06\uff0c\u8fd9\u4e9b\u4e0e\u4e92\u8054\u7f51\u5148\u9a71\u4eec\u7684\u8ba9\u4fe1\u606f\u66f4\u52a0\u6d41\u7545\u5730\u6d41\u52a8\u7684\u7406\u5ff5\u6e10\u884c\u6e10\u8fdc\u3002<\/p>\n<p>\u76f4\u5230\u00a0 WeAssembly\u7684\u63a8\u51fa\uff0c\u6216\u8bb8\u662f\u626d\u8f6c\u65f6\u5c40\u7684\u5951\u673a\u4e4b\u4e00\u3002<strong>HTML5\u5c06\u7f51\u9875\u7531\u201c\u5185\u5bb9\u5c55\u793a\u5e73\u53f0\u201d\u5347\u7ea7\u5230\u201c\u5e94\u7528\u627f\u8f7d\u5e73\u53f0\u201d\uff0cWebAssembly\u6216\u5c06\u8fdb\u4e00\u6b65\u5347\u7ea7\u4f18\u5316\u201d\u5e94\u7528\u627f\u8f7d\u5e73\u53f0\u201d\uff0c\u4ece\u6839\u672c\u4e0a\u6d88\u9664\u7f51\u9875\u5e94\u7528\u4e0e\u672c\u5730\u5e94\u7528\u4e4b\u95f4\u5230\u6027\u80fd\u5dee\u5f02\u3002<\/strong>\u4ece\u800c\u5b9e\u73b0\u201cOpen and Run\u201d\uff0c \u800c\u4e0d\u662f \u201cOpen \u3001Download\u3001Install and Run\u201d\uff0c\u5b9e\u73b0\u201cWrite once\uff0c run anyway\u201d\uff0c \u800c\u4e0d\u662f\u201cWrite once more\uff0crun once more\u201d\u3002<\/p>\n<p>\u5728 WebAssembly\u4e4b\u524d\uff0c\u4e5f\u6709\u7c7b\u4f3c\u7684\u63a2\u7d22\uff0c \u5982 asm.js , \u751a\u81f3\u4e0a Java\u7684 Applet \u90fd\u662f\u5e0c\u671b\u5c06\u7f16\u8bd1\u540e\u7684\u7a0b\u5e8f\u80fd\u591f\u5728\u6d4f\u89c8\u5668\u4e2d\u5b89\u5168\u9ad8\u6548\u5730\u8fd0\u884c\uff0c\u73b0\u5728\u770b\u4e4b\u524d\u7684\u52aa\u529b\u5e76\u4e0d\u7b97\u6210\u529f\uff0c\u5e0c\u671b\u8fd9\u6b21\u80fd\u6709\u6240\u4e0d\u540c\u800c\u83b7\u5f97\u9884\u671f\u6548\u679c\u3002\u00a0<\/p>\n<p><strong>2. WebAssembly\u7684\u76f4\u89c9\u4f53\u9a8c<\/strong><\/p>\n<p>\u5bf9 WebAssembly \u7684\u76f4\u89c9\u4f53\u9a8c\uff1a\u7531 hello.c \u5230 hello.html\u00a0<\/p>\n<pre>$ mkdir hello\r\n$ cd hello<br \/>\r\n$ cat &lt;&lt; EOF &gt; hello.c\r\n#include &lt;stdio.h&gt;\r\nint main(int argc, char ** argv) {\r\n  printf(\"Hello, world!\\n\");\r\n}\r\nEOF<br \/>\r\n$ <b>emcc hello.c -o hello.html<\/b><\/pre>\n<p>\u53ef\u4ee5\u9884\u89c1\uff0c\u5927\u91cf\u5fc5\u9700\u7531 C\/C++\/Rust \u5199\u7684\u7a0b\u5e8f\u5c06\u6709\u53ef\u80fd\u8f7b\u677e\u79fb\u690d\u5230\u6d4f\u89c8\u5668\u4ee5\u7f51\u9875\u5e94\u7528\u7684\u5f62\u5f0f\u4ea4\u4ed8\uff0c\u6781\u5927\u5730\u6539\u53d8\u4e86\u8f6f\u4ef6\u7814\u53d1\u53ca\u4ea4\u4ed8\u7684\u65b9\u5f0f\u65b9\u6cd5\u3002<\/p>\n<p><strong>3. Web Assembly\u7684\u53d1\u5c55\u524d\u77bb<\/strong><\/p>\n<p><strong>3.1. WebAssembly \u53ef\u80fd\u4e0d\u4f1a\u53d6\u4ee3 JavaScript<\/strong><br \/>\u800c\u53ea\u662f\u5bf9\u5176\u7684\u4e92\u8865\uff0c\u5728 JavaScript \u77ed\u677f\u4e4b\u5904\u5bfb\u627e\u5176\u53d1\u5c55\u7a7a\u95f4\uff0c\u5c55\u73b0\u5176\u4f18\u52bf\u3002<\/p>\n<p><strong>3.2. \u5ba2\u6237\u7aef\u8f6f\u4ef6App<\/strong><br \/>\u5355\u72ec\u4e3a\u7279\u5b9a\u5e73\u53f0\u5199App\u7684\u9700\u6c42\u5c06\u964d\u4f4e\uff0c\u7f51\u9875\u5e94\u7528\u5c06\u9010\u6e10\u5b9e\u73b0\u8de8\u5e73\u53f0\uff0c\u5e76\u4e0e\u672c\u5730\u5e94\u7528\u76f8\u4e00\u81f4\u7684\u4f53\u9a8c\u548c\u6027\u80fd\u3002\u6709\u671b\u5b9e\u73b0\u7f51\u9875\u5e94\u7528\u4e00\u7248\u901a\u5929\u4e0b\u3002\u5355\u72ec\u5199iOS\u5ba2\u6237\u7aef\uff0cWindows\u5ba2\u6237\u7aef\uff0c\u6216\u8005Andorid\u5ba2\u6237\u7aef\u7684\u5f00\u53d1\u4eba\u5458\uff0c\u53ef\u80fd\u9700\u8981\u7740\u624b\u5b66\u4e60\u4f7f\u7528 WebAssembly\u3002<\/p>\n<p>\u524d\u666f\u662f\u7f8e\u597d\u7684\uff0c\u9884\u8ba1Native App\u8fd8\u5c06\u5b58\u5728\u76f8\u5f53\u957f\u65f6\u95f4\uff0c\u5e76\u5b58\u4e0e\u7f51\u9875\u5e94\u7528\uff0c\u5e76\u9010\u6e10\u8f6c\u4e3a\u5c0f\u4f17\u9886\u57df\u7684\u7279\u5b9a\u5f00\u53d1\u3002<\/p>\n<p><strong>3.3. C\/C++\/Rust \u8d70\u5411\u524d\u7aef<\/strong><br \/>\u53e4\u8001\u7684C\/C++\u7b49\u7f16\u7a0b\u8bed\u8a00\u5c06\u5e94\u7528\u8303\u56f4\u6269\u5c55\u5230\u524d\u7aef\uff0c\u4ece\u800c\u5b9e\u73b0\u771f\u6b63\u610f\u4e49\u4e0a\u5230\u8de8\u5e73\u53f0\u3002\u7528 C\/C++\u7b49\u5199HTML\u7f51\u9875\uff0c\u5c06\u4e0d\u518d\u662f\u4e92\u8054\u7f51\u4e0a\u7684\u7b11\u8bdd\u3002<br \/>\u5982\u6b64\u4ee5\u6765\uff0c\u4e3a\u89e3\u51b3 C\/C++ \u5199\u4e0d\u4e86\u7f51\u9875HTML\u800c\u8bde\u751f\u7b49\u89e3\u51b3\u65b9\u6848\u6216\u8005\u7f16\u7a0b\u8bed\u8a00\u7b49\uff0c\u662f\u5426\u4e5f\u5c31\u8fc7\u65f6\u4e86\uff1f \u6216\u8005\u610f\u4e49\u4e0d\u5927\u4e86\uff1f<\/p>\n<p>\u5982\u679c C\/C++ \u80fd\u5199\u7f51\u9875\uff0c\u8fd8\u9700\u8981\u7528 ASP.NET\/PHP\/Perl\/Python\u6216\u8005Java \u6765\u5199 HTML\u5e94\u7528\u5417\uff1f\u6216\u8bb8\u9700\u8981\uff0c\u56e0\u4e3a\u6709\u5927\u91cf\u7c7b\u5e93\u5df2\u7ecf\u5f00\u53d1\uff0c\u6216\u8bb8\u9700\u8981\uff0c\u8fd8\u6709\u5176\u4ed6\u66f4\u591a\u5b8c\u6574\u7684\u751f\u6001\u8003\u8651\u3002\u4f46\u6709\u4e00\u70b9\u786e\u8ba4\u7684\u662f\uff0c WebAssembly\u7684\u63a8\u51fa\uff0c\u5f15\u53d1\u6211\u4eec\u5bf9\u8fd9\u6837\u5bf9\u95ee\u9898\u7684\u91cd\u65b0\u5ba1\u89c6\u548c\u601d\u8003\u3002<\/p>\n<p><strong>3.4. \u7f51\u9875\u5e94\u7528<\/strong><br \/>\u7f51\u9875\u5e94\u7528\u5f00\u53d1\u4eba\u5458\u9700\u8981\u719f\u6089\u65b0\u60c5\u51b5\uff0c\u6709\u4e86\u65b0\u589e\u7684\u5c60\u9f99\u5200\uff0c\u4e5f\u8981\u5584\u52a0\u5229\u7528\u624d\u80fd\u5c06\u5176\u8bbe\u8ba1\u529f\u6548\u53d1\u6325\u51fa\u6765\u3002<\/p>\n<p>JavaScript \u6709\u4e86 Web Assembly\u7684\u52a0\u6301\u548c\u589e\u5f3a\uff0c\u5176\u6027\u80fd\u6216\u6709\u8fdb\u4e00\u6b65\u7684\u63d0\u5347\uff0c\u53ef\u4f9b\u7528\u6765\u8bbe\u8ba1\u7684\u5e94\u7528\u8f6f\u4ef6\u5c06\u8fdb\u4e00\u6b65\u7684\u6269\u589e\uff0c\u4f53\u9a8c\u6216\u5c06\u66f4\u597d\u3002<\/p>\n<p>\u5f97\u76ca\u4e8e JavaScript\u8fdb\u6b65\uff0c\u4e5f\u5f97\u76ca\u4e8eWeb Assembly\u7684\u63a8\u51fa\uff0c\u4f9d\u8d56\u4e8e\u5176\u4e0a Hanjst \u6c49\u5409\u65af\u7279\u6a21\u7248\u8bed\u8a00\u53ca\u5f15\u64ce\u5c06\u8fd0\u884c\u66f4\u5feb\uff0c\u4f53\u9a8c\u66f4\u597d\u3002\u6211\u4eec\u5c06\u7740\u624b\u9488\u5bf9\u8fd9\u4e9b\u65b0\u7279\u6027\u8fdb\u884c\u4f18\u5316\u3002<\/p>\n<p>Hanjst.js \u5df2\u7ecf\u6295\u5165\u4e0d\u5c11\u4f7f\u7528\u3002<\/p>\n<p>Hanjst.was \/ Hanjst.wasm \u4e5f\u5c06\u5f00\u59cb\u7814\u53d1\uff0c\u4e3a\u8ffd\u6c42\u66f4\u6781\u81f4\u7684\u6027\u80fd\u548c\u4f53\u9a8c\uff0cHanjst \u6216\u5c06\u4ee5 C\/C++\/Rust \u7f16\u5199\uff0c\u7136\u540e\u7ecf\u7f16\u8bd1\u540e\uff0c\u5f15\u5165\u5230\u6d4f\u89c8\u5668\u4e2d\u8fdb\u884c\u8fd0\u884c\u3002<\/p>\n<p><strong>3.5. \u7f51\u7edc\u5e94\u7528\u5f00\u53d1\u6846\u67b6 Web Framework<\/strong><\/p>\n<p>\u5982\u524d\u6240\u8ff0\uff0c\u65e2\u7136Web Assembly\u7684\u539f\u751f\u4ee3\u7801\u53ef\u4ee5\u5de5\u4f5c\u5728\u670d\u52a1\u5668\u7aef\uff0c\u800c\u7f16\u8bd1\u540e\u7684.wasm \u53ef\u4ee5\u8fd0\u884c\u5728\u5ba2\u6237\u7aef\u6d4f\u89c8\u5668\u4e2d\uff0c\u90a3\u4e48\u5f00\u53d1\u7f51\u7edc\u5e94\u7528\u7684\u65b9\u5f0f\u65b9\u6cd5\u52bf\u5fc5\u8981\u53d7\u6b64\u5f71\u54cd\u800c\u6709\u6240\u6539\u53d8\u3002<\/p>\n<p>\u56e0\u6b64\uff0c\u53ef\u4ee5\u9884\u89c1\uff0c\u901a\u7528\u7f51\u7edc\u5e94\u7528\u67b6\u6784GWA2\uff0c\u6216\u5c06\u4ee5\u6b64\u4e3a\u5951\u673a\u8fdb\u884c\u6539\u9020\u5347\u7ea7\uff0c\u63a8\u51fa GWA2 in Assembly \u6216\u8005 GWA2 in C \/ GWA2 in C++\uff0c \u53c8\u6216\u8005\u662f GWA2 in Rust.\u00a0<\/p>\n<p>\u81f3\u4e8e\u6700\u7ec8\u5b9e\u73b0\u7684\u662f\u00a0 GWA2 \u7684\u54ea\u4e2a\u65b0\u7248\u672c\uff0c\u53ef\u80fd\u8981\u7ed3\u5408 Web Assembly\u63a8\u5e7f\u5e94\u7528\u666e\u53ca\u5230\u4e00\u5b9a\u9636\u6bb5\u4e4b\u540e\u624d\u80fd\u6709\u67d0\u79cd\u8d8b\u52bf\u5224\u65ad\u6216\u5b9a\u8bba\u3002<\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n<p><img src=\"https:\/\/ufqi.com\/blog\/wp-content\/uploads\/2019\/06\/hanjst-logo.201901.jpg\" \/><br \/>Hanjst\u662f\u4e00\u79cd\u57fa\u4e8eJavaScript\u7684\u6a21\u677f\u8bed\u8a00\u53ca\u89e3\u6790\u5f15\u64ce\uff0c\u5979\u8fd0\u884c\u5728\u5ba2\u6237\u7aef\/\u670d\u52a1\u5668\u7aef\u3002<\/p>\n<p>Hanjst\u80fd\u591f\u8868\u8ff0\u903b\u8f91\u63a7\u5236\uff0c\u80fd\u591f\u5b9e\u73b0\u4e0e\u670d\u52a1\u5668\u7aef\u6a21\u7248\u8bed\u8a00\u76f8\u540c\u7684\u529f\u80fd\u3002<\/p>\n<ul>\n<li>\n<p>Hanjst\u5f53\u5b8c\u5168\u5728\u5ba2\u6237\u7aef\u89e3\u6790\u65f6\uff0c\u8282\u7701\u670d\u52a1\u5668\u7aef\u8ba1\u7b97\u8d44\u6e90;<\/p>\n<\/li>\n<li>\n<p>Hanjst\u6a21\u677f\u8bed\u8a00\u72ec\u7acb\uff0c\u4e0d\u4e0e\u670d\u52a1\u5668\u7aef\u8d44\u6e90\u505a\u4efb\u4f55\u7ed1\u5b9a\uff1b<\/p>\n<\/li>\n<li>\n<p>\u7eaf\u7cb9\u7684MVC\uff0c\u5c42\u95f4\u6570\u636e\u7528JSON\u683c\u5f0f\u4f20\u9012\uff1b<\/p>\n<\/li>\n<li>\n<p>\u5e38\u89c1\u6a21\u677f\u8bed\u8a00\u529f\u80fd\u5168\u652f\u6301\uff0c\u9644\u5e26\u590d\u6742\u800c\u5f3a\u5927\u7684JavaScript\u7f16\u7a0b\u80fd\u529b\uff1b<\/p>\n<\/li>\n<li>\n<p>\u65e0\u5b66\u4e60\u6210\u672c\uff0c\u76f4\u63a5\u4f7f\u7528JavaScript\u4e66\u5199\u6a21\u677f\u8bed\u8a00\uff1b<\/p>\n<\/li>\n<li>\n<p>\u2026.<\/p>\n<\/li>\n<\/ul>\n<p>Hanjst is a JavaScript-based templating language and parsing engine that runs on both the client-side and\/or server-side.<\/p>\n<p>Hanjst can express logical control and achieve the same functionality as the server-side templating languages.<\/p>\n<ul>\n<li>\n<p>Hanjst\u2019s Run-time in client-side, reduce computing render in server-side;<\/p>\n<\/li>\n<li>\n<p>Hanjst is Language-independent, not-bound with back-end scripts or languages;<\/p>\n<\/li>\n<li>\n<p>Totally-isolated between MVC, data transfer with JSON;<\/p>\n<\/li>\n<li>\n<p>Full-support template tags with built-in logic and customized JavaScript functions;<\/p>\n<\/li>\n<li>\n<p>No more tags languages to be learned, just JavaScript;<\/p>\n<\/li>\n<li>\n<p>\u2026.<\/p>\n<\/li>\n<\/ul>\n<p id=\"hanjst\u6982\u8ff0\">\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>2019\u5e7412\u670816\u65e5\uff0c\u5317\u4eac\u4e0b\u4e86\u4eca\u51ac\u7b2c\u4e8c\u573a\u96ea\u2744\ufe0f\uff0c\u4e0d\u5927\u4e0d\u5c0f\u3002 \u5e74\u7ec8\u5c81\u5c3e\uff0c\u56fd\u9645\u4e0a\u51e0 &hellip; <a href=\"https:\/\/ufqi.com\/blog\/webassembly-c-html-hanjst\/\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[301,6,2],"tags":[293,330,331,294],"_links":{"self":[{"href":"https:\/\/ufqi.com\/blog\/wp-json\/wp\/v2\/posts\/2117"}],"collection":[{"href":"https:\/\/ufqi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ufqi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ufqi.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ufqi.com\/blog\/wp-json\/wp\/v2\/comments?post=2117"}],"version-history":[{"count":9,"href":"https:\/\/ufqi.com\/blog\/wp-json\/wp\/v2\/posts\/2117\/revisions"}],"predecessor-version":[{"id":2126,"href":"https:\/\/ufqi.com\/blog\/wp-json\/wp\/v2\/posts\/2117\/revisions\/2126"}],"wp:attachment":[{"href":"https:\/\/ufqi.com\/blog\/wp-json\/wp\/v2\/media?parent=2117"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ufqi.com\/blog\/wp-json\/wp\/v2\/categories?post=2117"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ufqi.com\/blog\/wp-json\/wp\/v2\/tags?post=2117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}