12 2024 档案

摘要:GPU编程最佳语言 ‌GPU编程的最佳语言选择取决于具体的应用场景和开发者的需求。以下是几种常用的GPU编程语言及其优缺点‌: ‌CUDA‌: ‌优点‌:CUDA是NVIDIA推出的并行计算平台和编程模型,基于C++,提供了丰富的库和工具,适用于需要直接访问GPU硬件的高性能计算任务。CUDA具有较 阅读全文
posted @ 2024-12-31 13:09 飞雪飘鸿 阅读(115) 评论(0) 推荐(0) 编辑
摘要:package main import ( "fmt" "image/color" ) // 定义一个RGBA颜色 type MyColor struct { R, G, B, A uint8 } // 实现color.Color接口 func (c MyColor) RGBA() (r, g, b 阅读全文
posted @ 2024-12-26 08:45 飞雪飘鸿 阅读(7) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/hzlxb123/article/details/109031193 阅读全文
posted @ 2024-12-26 08:18 飞雪飘鸿 阅读(6) 评论(0) 推荐(0) 编辑
摘要:golang在go1.1-g1.4时还不具备工程化的条件,但在go1.5时开始具备工程化的条件,这是因为(1)在go1.5之前的版本golang采用的是c语言编译器,(2)gc的STW时间会很长,(3)第三方包没有合理的存放位置。 而在go1.5版本开始实现go语言自举,在这个版本里开始采用三色标记 阅读全文
posted @ 2024-12-24 15:55 飞雪飘鸿 阅读(11) 评论(0) 推荐(0) 编辑
摘要:断言库:import "github.com/stretchr/testify/assert" 阅读全文
posted @ 2024-12-24 15:30 飞雪飘鸿 阅读(3) 评论(0) 推荐(0) 编辑
摘要:计算机图形学就是研究将图形的表示法从参数法转换到点阵法的一门学科。 https://blog.csdn.net/weixin_53919192/article/details/124808931 为什么我写出来的代码都是在命令行运行的,为什么写不出那种有窗口有按键有动画的程序呢 研究用计算机绘制图像 阅读全文
posted @ 2024-12-24 11:53 飞雪飘鸿 阅读(4) 评论(0) 推荐(0) 编辑
摘要:glade 阅读全文
posted @ 2024-12-23 17:26 飞雪飘鸿 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2024-12-23 17:25 飞雪飘鸿 阅读(7) 评论(0) 推荐(0) 编辑
摘要:# 下载Go语言二进制包 wget https://dl.google.com/go/go1.23.4.linux-arm64.tar.gz # 解压缩到/usr/local目录 sudo tar -C /usr/local -xzf go1.23.4.linux-arm64.tar.gz # 配置 阅读全文
posted @ 2024-12-23 17:07 飞雪飘鸿 阅读(28) 评论(0) 推荐(0) 编辑
摘要:package main import ( "fmt" "io/ioutil" "time" "unsafe" sdl "github.com/moonfdd/sdl2-go/sdl2" "github.com/moonfdd/sdl2-go/sdlcommon" ) const REFRESH_E 阅读全文
posted @ 2024-12-20 15:57 飞雪飘鸿 阅读(6) 评论(0) 推荐(0) 编辑
摘要:package main import ( "fmt" "runtime" ) func main() { fmt.Println("You are running on:") switch runtime.GOOS { case "windows": fmt.Println("Windows") 阅读全文
posted @ 2024-12-20 14:59 飞雪飘鸿 阅读(3) 评论(0) 推荐(0) 编辑
摘要:#ifdef _WINDOWS_ CreateThread(); //windows下线程的创建 #else Pthread_create(); //Linux下线程的创建 #endif https://zhuanlan.zhihu.com/p/627322587 阅读全文
posted @ 2024-12-20 14:55 飞雪飘鸿 阅读(1) 评论(0) 推荐(0) 编辑
摘要:package main import "fmt" func main() { //阶乘 jiecheng := 1 for i := 1; i < 10; i++ { jiecheng *= i fmt.Printf("%d的阶乘是%d\n", i, jiecheng) } } package m 阅读全文
posted @ 2024-12-20 12:25 飞雪飘鸿 阅读(7) 评论(0) 推荐(0) 编辑
摘要:package main import "fmt" func main() { for i := 0; i < 9; i++ { for j := 0; j < 9; j++ { fmt.Printf("%d x %d =%d\t", i, j, i*j) } } } 阅读全文
posted @ 2024-12-20 12:12 飞雪飘鸿 阅读(6) 评论(0) 推荐(0) 编辑
摘要:package main import ( "fmt" ) func main() { var b float64 var a float64 = 42 b = a * a fmt.Println("结果", b) } package main import ( "fmt" "math" ) fun 阅读全文
posted @ 2024-12-20 11:47 飞雪飘鸿 阅读(14) 评论(0) 推荐(0) 编辑
摘要:package main import ( "fmt" ) func divide(a, b int) (int, error) { if b == 0 { return 0, fmt.Errorf("不能除以0") } return a / b, nil } func main() { resul 阅读全文
posted @ 2024-12-20 09:52 飞雪飘鸿 阅读(16) 评论(0) 推荐(0) 编辑
摘要:package main import ( "fmt" ) func divide(a, b int) (int, error) { if b == 0 { return 0, fmt.Errorf("不能除以零") } return a / b, nil } func main() { resul 阅读全文
posted @ 2024-12-18 17:26 飞雪飘鸿 阅读(2) 评论(0) 推荐(0) 编辑
摘要:package main import ( "fmt" ) func main() { var a, b int fmt.Print("请输入第一个数字: ") fmt.Scanln(&a) fmt.Print("请输入第二个数字: ") fmt.Scanln(&b) sum := a + b fm 阅读全文
posted @ 2024-12-18 17:25 飞雪飘鸿 阅读(5) 评论(0) 推荐(0) 编辑
摘要:package main import ( "flag" "fmt" "os" ) func main() { // 定义命令行参数 op := flag.String("op", "add", "Operation to perform: add, sub, mul, div") a := fla 阅读全文
posted @ 2024-12-18 15:42 飞雪飘鸿 阅读(5) 评论(0) 推荐(0) 编辑
摘要:flag:用于解析命令行参数。 fmt:用于格式化和输出文本。 os:用于处理操作系统功能,如退出程序。 阅读全文
posted @ 2024-12-18 15:39 飞雪飘鸿 阅读(5) 评论(0) 推荐(0) 编辑
摘要:start_app.bat Apply @echo off chcp 65001 cls echo echo 应用启动程序 echo :: 检查Python是否安装 python --version >nul 2>&1 if %errorlevel% neq 0 ( echo [错误] 未检测到Py 阅读全文
posted @ 2024-12-18 15:18 飞雪飘鸿 阅读(28) 评论(0) 推荐(0) 编辑
摘要:https://zhuanlan.zhihu.com/p/515421827 Go语言的编译器是否有后门?如果有后门的编译器编译出来的Go程序是否有后门?有后门的编译器编译出来的Go编译器程序是否有后门? 阅读全文
posted @ 2024-12-17 17:11 飞雪飘鸿 阅读(1) 评论(0) 推荐(0) 编辑
摘要:https://www.zhihu.com/search?type=content&q=%E5%8A%A0%E5%AF%86%E5%92%8C%E8%A7%A3%E5%AF%86 https://blog.csdn.net/lanxin777/article/details/141386345 ht 阅读全文
posted @ 2024-12-17 16:40 飞雪飘鸿 阅读(7) 评论(0) 推荐(0) 编辑
摘要:Windows可信启动架构及其与安全启动共同建立的信任根 安全启动基于公钥基础设施(PKI)流程,在允许任何模块执行前,先对其进行严格认证。这些模块广泛包括固件驱动程序、选项ROM、磁盘上的UEFI驱动程序、UEFI应用程序或UEFI引导加载程序。通过执行前的镜像认证机制,安全启动有效降低了如roo 阅读全文
posted @ 2024-12-17 16:14 飞雪飘鸿 阅读(17) 评论(0) 推荐(0) 编辑
摘要:C++ Graphics Library 从BIOS到UEFI的转变标志着系统固件发展的一次重大进步。 计算机原理 理解BIOS和UEFI 小熊猫C++ XEGE绘图库 SimulIDE电路仿真软件 Java绘图库,类似XEGE Python绘图库,类似XEGE easyx Dev-C++ code 阅读全文
posted @ 2024-12-17 10:05 飞雪飘鸿 阅读(7) 评论(0) 推荐(0) 编辑
摘要:https://cloud.tencent.com/developer/article/1929441 https://royqh.net/ graphics.h BGI库谈起 在学习C语言图形编程之初,许多开发者接触的是古老的Borland Turbo C集成开发环境中的Graphics Libr 阅读全文
posted @ 2024-12-09 11:49 飞雪飘鸿 阅读(10) 评论(0) 推荐(0) 编辑
摘要:print和println 这两个打印方式类似,只在格式上有区别 println 打印的每一项之间都会有空行,print没有,例如: fmt.println("go","python","php",javascript") // go python php javascript fmt.print( 阅读全文
posted @ 2024-12-09 11:12 飞雪飘鸿 阅读(60) 评论(0) 推荐(0) 编辑

https://damo.alibaba.com/ https://tianchi.aliyun.com/course?spm=5176.21206777.J_3941670930.5.87dc17c9BZNvLL
点击右上角即可分享
微信分享提示