Tuesday, June 27, 2017

sse操作

https://msdn.microsoft.com/en-us/library/ybhzf6dk(v=vs.71).aspx
https://msdn.microsoft.com/en-us/library/yd9wecaa(v=vs.120).aspx
https://msdn.microsoft.com/en-us/library/yd9wecaa(v=vs.120).aspx
https://msdn.microsoft.com/en-us/library/2x1se8ha(VS.80).aspx
https://msdn.microsoft.com/en-us/library/22kbk6t9(VS.80).aspx
https://msdn.microsoft.com/en-us/library/c9848chc(v=vs.90).aspx
https://msdn.microsoft.com/en-us/library/yd9wecaa(v=vs.120).aspx
https://msdn.microsoft.com/en-us/library/ybhzf6dk(v=vs.71).aspx
https://msdn.microsoft.com/en-us/library/tk1t2tbz(v=vs.80).aspx

Thursday, June 22, 2017

libffm编译

环境centos6.5,现有gcc 4.4.7

因为编译libffm需要c++11的支持,所以安装如下
GCC 5.2
wget https://copr.fedoraproject.org/coprs/hhorak/devtoolset-4-rebuild-bootstrap/repo/epel-6/hhorak-devtoolset-4-rebuild-bootstrap-epel-6.repo -O /etc/yum.repos.d/devtools-4.repo
yum install devtoolset-4-gcc devtoolset-4-binutils devtoolset-4-gcc-c++ -y
临时编译前使用
export CC=/opt/rh/devtoolset-4/root/usr/bin/gcc
export CPP=/opt/rh/devtoolset-4/root/usr/bin/cpp
export CXX=/opt/rh/devtoolset-4/root/usr/bin/c++

直接make,发现g++并没有生效
修改makefile
CXX = g++
CXX = /opt/rh/devtoolset-4/root/usr/bin/g++
然后编译成功

java 执行常见命令

java -cp HelloWorld.jar org.test.HelloWorld
java -jar *.jar

Monday, June 5, 2017

thrift 使用

http://blog.csdn.net/lener0611/article/details/50546569


http://sunliwen.com/2012/02/apache-thrift-on-ubuntu-10-04/