首页
学习
活动
专区
工具
TVP
发布

along的开发之旅

专栏作者
131
文章
271101
阅读量
28
订阅数
Linux统治超级计算领域的九个理由
In 1994, the first Beowulf Cluster was built at NASA, using Linux, as an alternative to the very expensive HPC supercomputers. “Beowulf Clusters are scalable performance clusters based on commodity hardware, on a private system network, with open-source software (Linux) infrastructure. The designer can improve performance proportionally with added machines. The commodity hardware can be any of a number of mass-market, stand-alone compute nodes as simple as two networked computers, each running Linux and sharing a file system, or as complex as 1,024 nodes with a high-speed, low-latency network.” 1994年,在NASA,使用Linux建立了第一个Beowulf集群,作为昂贵的HPC超级计算机的一种替代品。 “Beowulf集群是基于商用硬件的可扩展的高性能集群,建立在专用的系统网络和开源软件(Linux)基础设施上。设计者可以通过按比例添加机器来提高性能。硬件可以是简单的只需两台联网计算机组成的计算节点,每个节点都运行Linux,并共享一个文件系统,或复杂的像具有高速,低延迟的1,024节点的网络。“
望天
2022-01-08
5750
Callbacks in C++11
Imagine that you have a long-running algorithm which takes many iterations to complete. Typically, you will want to provide some kind of feedback to the user to indicate that progress is being made. Otherwise, there is no way of distinguishing between an application that is happliy crunching numbers, and one that is hanging on a dropped network connection. Importantly, not all users will require the same type of feedback. An update could be just about anything you could think of, including:
望天
2020-11-24
4200
Smart Pointer Programming Techniques
转自: https://www.boost.org/doc/libs/1_74_0/libs/smart_ptr/doc/html/smart_ptr.html#techniques
望天
2020-10-10
1.7K0
Android NDK Debug
前言:说真的Android NDK debug还是推荐lldb,gdb经常莫名其妙的不成功。不过下面的这个流程是谷歌官方建议的,还是有参考价值的。尤其是在App启动时Debug的流程。
望天
2020-02-13
1.9K0
Android so 加载原理分析
http://gityuan.com/2017/03/26/load_library/
望天
2020-01-02
7.3K0
Build/Host/Target 通俗易懂 的 解释
According to the GNU convention, there are three platforms involved in the software building:
望天
2019-08-29
1.2K0
IOS和android都使用的网络编程头文件
#include <errno.h> //提供错误号errno的定义,用于错误处理
望天
2019-07-11
1.2K0
闲谈IPv6-Loopback网口上的IPv6地址
早年,我也写过关于Loopback的两篇文章: 用IP地址的用途理解Loopback接口: https://blog.csdn.net/dog250/article/details/12272455 从Loopback接口扯一通Linuxer和Cisco NP/IE谁能爆了谁: https://blog.csdn.net/dog250/article/details/41908945 可以随便看看。
望天
2019-06-15
2.6K0
由一个stack OOM引发的血案
内存溢出(OOM)了?是啊,明明白白写着“java.lang.OutOfMemoryError”。然而,有没有注意到错误信息里都有关于stack字样?对,这是由于栈内存不足造成的,而不是常见的堆内存溢出。程序猿们经常上的网站StackOverFlow终于出现在程序里了!其实,准确地说,此时并没有发生栈溢出,而是连栈都没有分配成功 :P 从调用栈上可以发现,都是在本地方法创建线程的时候出现的:pthread_create。有兴趣的同学可以去了解一下linux的API。点我点我 堆内存相信程序猿们都了解,这里大概说一下栈(stack)是干什么用的:保存局部变量、保存现场、保存函数参数……栈内存的运作方式也真的是按照栈的方式:先进后出,将临时变量逐个压栈,然后按照相反的顺序弹出。 典型的栈溢出会出现在没有写好退出条件的递归调用,相信不少人在学生时期算法课都写过类似这样的代码:
望天
2019-05-26
2.3K0
linux关于bashrc与profile的区别
其实打开~/.profile, ~/.bashrc和~/.bash_profile文件,我们就可以看到区别. 1.首先说~/.profile: 这里有一句话source “${HOME}/.bashrc”,也就说把 ~/.bashrc的内容放在这里,也就是profile是包含bashrc的.
望天
2018-08-02
6.2K0
没有更多了
社区活动
腾讯技术创作狂欢月
“码”上创作 21 天,分 10000 元奖品池!
Python精品学习库
代码在线跑,知识轻松学
博客搬家 | 分享价值百万资源包
自行/邀约他人一键搬运博客,速成社区影响力并领取好礼
技术创作特训营·精选知识专栏
往期视频·千货材料·成员作品 最新动态
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档