随笔分类 -  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 阅读全文
posted @ 2020-11-11 10:42 papering 阅读(121) 评论(0) 推荐(0)
摘要:https://mp.weixin.qq.com/s/Tyl6dSb7mHBuqqN6WvEuaw 阅读全文
posted @ 2020-11-10 10:13 papering 阅读(178) 评论(0) 推荐(0)
摘要:走进Golang之编译器原理_大愚Talk-CSDN博客 https://blog.csdn.net/hel12he/article/details/103061921 go编译器 - 知乎 https://zhuanlan.zhihu.com/p/52614346 Go 语言编译过程概述 | Go 阅读全文
posted @ 2020-11-02 13:54 papering 阅读(125) 评论(0) 推荐(0)
摘要:https://mp.weixin.qq.com/s/Og2TkGrZR490h9-KO23lmw 背景 apk瘦身和启动时间优化是移动端开发性能优化中经常被提到的两个问题。apk瘦身的常规做法有,so文件大小优化,资源文件大小优化,代码量大小优化等。启动优化的常规做法有,启动页主题背景设置成闪屏页 阅读全文
posted @ 2020-06-30 23:34 papering 阅读(4499) 评论(0) 推荐(0)
摘要:实践 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(" 阅读全文
posted @ 2020-06-12 01:07 papering 阅读(277) 评论(0) 推荐(0)
摘要:1 阅读全文
posted @ 2019-11-28 00:49 papering 阅读(217) 评论(0) 推荐(0)
摘要:GDB查看内存命令(x命令) - super119 - 博客园 https://www.cnblogs.com/super119/archive/2011/11/18/2254382.html 可以使用examine命令(简写是x)来查看内存地址中的值。x命令的语法如下所示:x/<n/f/u> <a 阅读全文
posted @ 2019-11-13 21:30 papering 阅读(3839) 评论(0) 推荐(0)
摘要:https://docs.python.org/zh-cn/3/faq/extending.html 扩展/嵌入常见问题 可以使用C语言中创建自己的函数吗? 可以使用C++语言中创建自己的函数吗? C很难写,有没有其他选择? 如何在 C 中执行任意 Python 语句? 如何在 C 中对任意 Pyt 阅读全文
posted @ 2019-01-12 13:15 papering 阅读(490) 评论(0) 推荐(0)
摘要:Compiler http://staff.ustc.edu.cn/~bjhua/courses/compiler/2014/ http://staff.ustc.edu.cn/~bjhua/courses/compiler/2014/readings/typing.pdf 类型检查是什么?对编译有 阅读全文
posted @ 2018-08-20 13:51 papering 阅读(619) 评论(0) 推荐(0)
摘要:【extern "C】 1) 由于C、C++编译器对函数的编译处理是不完全相同的,尤其对于C++来说,支持函数的重载,编译后的函数一般是以函数名和形参类型来命名的。 例如函数void fun(int, int),编译后的可能是(不同编译器结果不同)_fun_int_int(不同编译器可能不同,但都采 阅读全文
posted @ 2017-04-16 09:25 papering 阅读(7524) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2016-08-13 02:09 papering 阅读(251) 评论(0) 推荐(0)