摘要:测试源代码 math.c内容如下: #include <stdio.h> int add(int a, int b) { return a+b; } int mul(int a, int b) { return a*b; } void Test(int a, int b) { int r1 = ad
阅读全文
摘要:随着JavaScript语言的诞生,浏览器从单纯的内容展示工具升级为应用运行平台,开启了全新的Web时代。 然而,新的问题开始显露出来:JavaScript的运行速度太慢了。2008年,Google公司推出了Chrome浏览器,并在其内部搭载了全新设计的JavaScript引擎V8。 通过使用JIT
阅读全文
摘要:在windows中,使用python版本为Python 3.6.3 编写index.html网页 在当前目录F:\httpTest下,新建index.html,内容如下: <!DOCTYPE html> <head> <meta charset="utf-8"> <title>Http Test</
阅读全文
摘要:math.c代码 int add(int a, int b) { return a+b; } int mul(int a, int b) { return a*b; } void Test() { int r1 = add(1,2); int r2 = mul(3,4); } 编译生成IR中间代码m
阅读全文
摘要:代码着色 glsl、hlsl、fx、ush、usf着色器 安装Shader languages support for VS Code插件 对于ue4的ush、usf文件,需要配置其使用hlsl的着色规则 着色成功后的效果 打开文件时,缺省添加成Pin类型的Tab标签(非斜体) 改变当前文件时,左边
阅读全文
摘要:启用WSL(Windows Subsystem for Linux) 管理员权限运行powershell并运行下面的命令 C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe Enable-WindowsOptionalFeature -
阅读全文