随笔分类 - compiler
摘要:"A monkey patch is a way to extend or modify the run-time code of dynamic languages without altering the original source code." - Wikipedia
阅读全文
摘要:https://mp.weixin.qq.com/s/Tyl6dSb7mHBuqqN6WvEuaw
阅读全文
摘要:走进Golang之编译器原理_大愚Talk-CSDN博客 https://blog.csdn.net/hel12he/article/details/103061921 go编译器 - 知乎 https://zhuanlan.zhihu.com/p/52614346 Go 语言编译过程概述 | Go
阅读全文
摘要:https://mp.weixin.qq.com/s/Og2TkGrZR490h9-KO23lmw 背景 apk瘦身和启动时间优化是移动端开发性能优化中经常被提到的两个问题。apk瘦身的常规做法有,so文件大小优化,资源文件大小优化,代码量大小优化等。启动优化的常规做法有,启动页主题背景设置成闪屏页
阅读全文
摘要:实践 1) u@u5:~/tmp$ cat g.go package main import ( "fmt" "runtime" "time") var i = 0 func main() { runtime.GOMAXPROCS(2) go func() { for { fmt.Println("
阅读全文
摘要:GDB查看内存命令(x命令) - super119 - 博客园 https://www.cnblogs.com/super119/archive/2011/11/18/2254382.html 可以使用examine命令(简写是x)来查看内存地址中的值。x命令的语法如下所示:x/<n/f/u> <a
阅读全文
摘要:https://docs.python.org/zh-cn/3/faq/extending.html 扩展/嵌入常见问题 可以使用C语言中创建自己的函数吗? 可以使用C++语言中创建自己的函数吗? C很难写,有没有其他选择? 如何在 C 中执行任意 Python 语句? 如何在 C 中对任意 Pyt
阅读全文
摘要:Compiler http://staff.ustc.edu.cn/~bjhua/courses/compiler/2014/ http://staff.ustc.edu.cn/~bjhua/courses/compiler/2014/readings/typing.pdf 类型检查是什么?对编译有
阅读全文
摘要:【extern "C】 1) 由于C、C++编译器对函数的编译处理是不完全相同的,尤其对于C++来说,支持函数的重载,编译后的函数一般是以函数名和形参类型来命名的。 例如函数void fun(int, int),编译后的可能是(不同编译器结果不同)_fun_int_int(不同编译器可能不同,但都采
阅读全文
摘要:https://docs.oracle.com/cd/E19683-01/817-3677/6mj8mbtc9/index.html#chapter6-62988 https://docs.oracle.com/cd/E19683-01/817-3677/chapter3-2/index.html
阅读全文

浙公网安备 33010602011771号