Visual Studio Code for C++ development on MacOS

2018-12-18 / Programing / C++

I've tried lot's of c++ IDEs on MacOS X, but none of them is as powerful as VS Studio on Windows. It's always hard for me to choose an IDE before I want to write some code, as it's called the Selection phobia. Generally we have the following choose:

  • Vim/Emacs (I'm familiar with VIM but it's still not an easy way, for me)
  • CodeBlocks (not good maintained on MacOS)
  • CodeLite (it's a good choose!)
  • XCode (I just don't like it, Heavy and ugly, can't get used to it)
  • QT Creator (it's useful especially when developing Qt projects)
  • Eclipse CDT
  • NetBeans
  • CLion (maybe the best c++ IDE on MaxOS, unfortunately does not have a free version)
  • Textmate

Recently I tried Visual Studio Code, it's really a good choose for those who want to write some c++ code in a lightweight IDE.

...


B-Tree算法

2018-12-18 / Programing / Algorithm

B-Tree(区别于二叉树)是一种平衡多叉搜索树。它的插入、搜索、删除、

btree of order 5

...


关于随机数

2018-12-03 / Programing / Miscellaneous

随机数顾名思义就是你无法确定的一个数(但是你可以设定一个范围),就好比彩票摇号一样,所有可能的组合是知道的,但是到底会摇出个什么数字出来,谁都不知道。否则我早就买彩票去了😂 那随机数是怎么生成出来的?

...


Compile Argon2 for Android

2018-08-03 / Programing / Security

Keepass中使用了一个Argon2的算法来存储用户主密码,这个算法被认为是下一代的较为安全的密码散列算法。

...


使用 Antlr 解析配置文件

2018-05-09 / Programing / Java

在纠结了一阵子 yml,ini,xml甚至 lua 等等 配置文件的格式后,还是决定使用antlr实现了一种我自定义的格式的解析。

...