-
直和
-
C++编译期类型信息的利用
http://stackoverflow.com/questions/8001207/compile-time-typeid-without-rtti-with-gcc
https://gcc.gnu.org/onlinedocs/gcc-4.9.0/gcc/Function-Names.html
http://stackoverflow.com/questions/4384765/whats-the-difference-between-pretty-function-function-func
https://gcc.gnu.org/onlinedocs/gcc/Typeof.html
-
Blas与Lapack库的使用
-
Deep Understanding of Fold in Haskell
fold
is a very important combinator in functional programming. In Haskell four versions offold
operation are provided:foldl
,foldr
,foldl'
andfoldr'
. Now lets take a close look at them. We’ll gain a better understanding of the underlying principles behindfold
operation and learn how to use them correctly and efficiently in our real world applications. -
类型安全
编程语言的类型系统可以带来诸如减少错误、文档化、利于编译器优化等好处。读MirageOS的论文,作者提到了 使用OCaml的类型安全的好处,本文大致整理了一些类型安全相关的概念。
-
Monomorphism Restriction
Haskell Wiki上Monomorphism Restriction的定义为
a counter-intuitive rule in Haskell type inference. If you forget to provide a type signature, sometimes this rule will fill the free type variables with specific types using “type defaulting” rules.
-
Kinds of (Micro)Kernel
There are many different types of Operating System kernels: the monolithic kernel, the microkernel, and the newly appeared Exokernel as well as Unikernel.
-
Notes on MIT 18.06 Linear Algebra
-
Heterogeneous containers in Haskell
-
A Better Approach for Timing Multi-thread Computations
There’s already a package named timeit on hackage, it provides utilitities under the
System.TimeIt
module which can be used to time an IO computation. It depends on thegetCPUTime
to get timestamp with picoseseconds precision and it works quite well for single thread applications, however when I use thetimeIt
function to time a multi-thread computation, it report the wrong time usage. After some experiments, I proposed a proper approach for time computations inIO
environment, both for single-thread applications and multi-thread applications.
2016-07
2016-06
Subscribe via RSS