<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>底层探秘 on 疯狂的技术宅</title><link>https://fe-tech.viewnode.com/categories/%E5%BA%95%E5%B1%82%E6%8E%A2%E7%A7%98/</link><description>Recent content in 底层探秘 on 疯狂的技术宅</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><lastBuildDate>Tue, 16 Mar 2021 10:00:00 +0800</lastBuildDate><atom:link href="https://fe-tech.viewnode.com/categories/%E5%BA%95%E5%B1%82%E6%8E%A2%E7%A7%98/index.xml" rel="self" type="application/rss+xml"/><item><title>弄死 Node.js 进程有几种方法</title><link>https://fe-tech.viewnode.com/post/202103/16/</link><pubDate>Tue, 16 Mar 2021 10:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/202103/16/</guid><description>有很多原因会导致 Node.js 进程终止。其中一些是可以避免的，例如抛出错误时，而另一些是无法防止的，例如内存不足。全局 process 是一个 Event Emitter 实例，当执行正常退出时</description></item><item><title>js 引擎是怎样将 var 转换为 JIT 的</title><link>https://fe-tech.viewnode.com/post/202103/09/</link><pubDate>Tue, 09 Mar 2021 10:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/202103/09/</guid><description>绑定到字节码 对于现代 Web 程序，浏览器首先看到的 JavaScript 通常不是前端程序员写的。相反，它很可能是由 webpack 之类的工具产生的捆绑包，而且可能是一个相当大的捆绑</description></item><item><title>Apple M1处理器概述和兼容性</title><link>https://fe-tech.viewnode.com/post/202101/07/</link><pubDate>Thu, 07 Jan 2021 10:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/202101/07/</guid><description>每次 Apple 的新品发布活动都吸引了很多目光，但是 2020 MacBook Air，MacBook Pro 和 Mac Mini 的发布不仅仅是新功能和时尚的工业设计。重大新闻隐藏在了新 MacBook 的阳极</description></item><item><title>V8 中的指针压缩</title><link>https://fe-tech.viewnode.com/post/202004/13/</link><pubDate>Mon, 13 Apr 2020 10:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/202004/13/</guid><description>作者：V8开发团队 内存和性能之间始终存在争斗。作为用户，我们希望执行得更快并且消耗的内存更少。不幸的是，通常提高性能的代价是消耗内存（反之亦</description></item><item><title>node.js 内存泄漏的秘密</title><link>https://fe-tech.viewnode.com/post/202002/03/</link><pubDate>Mon, 03 Feb 2020 10:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/202002/03/</guid><description>一直以来，跟踪 Node.js 的内存泄漏是一个反复出现的话题，人们始终希望对其复杂性和原因了解更多。 并非所有的内存泄漏都显而易见。但是，一旦我们确定了其模</description></item><item><title>Node.js 中的多线程和多进程</title><link>https://fe-tech.viewnode.com/post/201912/31/</link><pubDate>Tue, 31 Dec 2019 10:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/201912/31/</guid><description>Node.js 是一个免费的跨平台 JavaScript 运行时环境，尽管它本质上是单线程的，但是可以在后台使用多个线程来执行异步代码。 由于 Node.js 的非阻塞性质，不同的线程执行不同的</description></item><item><title>用 NodeJS 充分利用多核 CPU 的资源</title><link>https://fe-tech.viewnode.com/post/201909/30/</link><pubDate>Mon, 30 Sep 2019 11:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/201909/30/</guid><description>介绍 单个 Node.js 程序的实例仅在一个线程上运行，因此无法充分利用 CPU 的多核系统。有时你可能需要启动 Node.js 进程集群来利用本地计算机或生产服务器上的每个 CPU 内核</description></item><item><title>更轻量级的 V8 引擎</title><link>https://fe-tech.viewnode.com/post/201909/26/</link><pubDate>Thu, 26 Sep 2019 11:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/201909/26/</guid><description>作者：Mythri Alle, Dan Elphick, and Ross McIlroy 在 2018 年末，为了大幅减少 V8 的内存使用量，我们启动了一个名为 V8 Lite 的项目。该项目最初被设想为 V8 的一个独立的 精简模式（</description></item><item><title>Node.js 事件循环的完整指南</title><link>https://fe-tech.viewnode.com/post/201907/26/</link><pubDate>Fri, 26 Jul 2019 12:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/201907/26/</guid><description>每当我听到人们谈论Node.js时，就会出现很多关于究竟是什么 ，这项技术有什么用处，以及其未来 的问题。 让我们试着解决第一部分。回答这个问题最</description></item><item><title>CPU 是怎样工作的？</title><link>https://fe-tech.viewnode.com/post/201906/20/</link><pubDate>Thu, 20 Jun 2019 12:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/201906/20/</guid><description>CPU，也被称为微处理器，是计算机的大脑。让我们通过深入了解计算机的核心，来帮助自己有效地编写计算机程序。 “工具通常比机器更简单，它一般用手</description></item><item><title> JavaScript引擎是如何工作的？从调用栈到Promise你需要知道的一切</title><link>https://fe-tech.viewnode.com/post/201905/16/</link><pubDate>Thu, 16 May 2019 10:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/201905/16/</guid><description>从Call Stack，Global Memory，Event Loop，Callback Queue到 Promises 和 Async/Await 的 JavaScript引擎之旅！ 你有没</description></item><item><title>如何正确使用Node.js事件</title><link>https://fe-tech.viewnode.com/post/201904/04/</link><pubDate>Thu, 04 Apr 2019 12:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/201904/04/</guid><description>事件驱动的编程变得流行之前，在程序内部进行通信的标准方法非常简单：如果一个组件想要向另外一个发送消息，只是显式地调用了那个组件上的方法。但是</description></item><item><title>Node.js 多线程完全指南</title><link>https://fe-tech.viewnode.com/post/201903/26/</link><pubDate>Tue, 26 Mar 2019 12:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/201903/26/</guid><description>很多人都想知道单线程的 Node.js 怎么能与多线程后端竞争。考虑到其所谓的单线程特性，许多大公司选择 Node 作为其后端似乎违反直觉。要想知道原因，必须理解其单</description></item><item><title>在 Node.js 中通过子进程操作标准输入/输出</title><link>https://fe-tech.viewnode.com/post/201902/25/</link><pubDate>Mon, 25 Feb 2019 11:00:00 +0800</pubDate><guid>https://fe-tech.viewnode.com/post/201902/25/</guid><description>在本文中，我们在 Node.js 中把 shell 命令作为子进程运行。然后异步读取这些进程的 stdout 并写入其 stdin。 在子进程中运行 shell 命令 首先从在子进程中运行 shell 命令开始：</description></item></channel></rss>