可可西

12 2024 档案

使用Emscripten进行WebAssembly web开发
摘要:测试源代码 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 阅读全文

posted @ 2024-12-29 23:55 可可西 阅读(34) 评论(0) 推荐(0) 编辑

WebAssembly基础
摘要:随着JavaScript语言的诞生,浏览器从单纯的内容展示工具升级为应用运行平台,开启了全新的Web时代。 然而,新的问题开始显露出来:JavaScript的运行速度太慢了。2008年,Google公司推出了Chrome浏览器,并在其内部搭载了全新设计的JavaScript引擎V8。 通过使用JIT 阅读全文

posted @ 2024-12-26 20:57 可可西 阅读(313) 评论(0) 推荐(0) 编辑

python3启动一个本地http服务器
摘要:在windows中,使用python版本为Python 3.6.3 编写index.html网页 在当前目录F:\httpTest下,新建index.html,内容如下: <!DOCTYPE html> <head> <meta charset="utf-8"> <title>Http Test</ 阅读全文

posted @ 2024-12-26 19:37 可可西 阅读(97) 评论(0) 推荐(0) 编辑

生成LLVM IR及其CFG图
摘要: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 阅读全文

posted @ 2024-12-25 22:58 可可西 阅读(54) 评论(0) 推荐(0) 编辑

vscode操作技巧
摘要:代码着色 glsl、hlsl、fx、ush、usf着色器 安装Shader languages support for VS Code插件 对于ue4的ush、usf文件,需要配置其使用hlsl的着色规则 着色成功后的效果 打开文件时,缺省添加成Pin类型的Tab标签(非斜体) 改变当前文件时,左边 阅读全文

posted @ 2024-12-22 11:50 可可西 阅读(28) 评论(0) 推荐(0) 编辑

Win10下安装WSL(Windows Subsystem for Linux)
摘要:启用WSL(Windows Subsystem for Linux) 管理员权限运行powershell并运行下面的命令 C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe Enable-WindowsOptionalFeature - 阅读全文

posted @ 2024-12-04 23:12 可可西 阅读(462) 评论(0) 推荐(0) 编辑

导航

统计信息

点击右上角即可分享
微信分享提示