<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>技术 &#8211; HikariLan&#039;s Blog</title>
	<atom:link href="https://blog.hikarilan.life/category/tech/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.hikarilan.life</link>
	<description>贺兰星辰的个人博客</description>
	<lastBuildDate>Sun, 25 Oct 2026 17:51:44 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.5</generator>
	<item>
		<title>Coding Agent 总在过度设计？用这 4 个 Skill 管住它</title>
		<link>https://blog.hikarilan.life/tech/3887/4-skills-to-prevent-over-design/</link>
					<comments>https://blog.hikarilan.life/tech/3887/4-skills-to-prevent-over-design/#comments</comments>
		
		<dc:creator><![CDATA[贺兰星辰]]></dc:creator>
		<pubDate>Fri, 23 Oct 2026 21:24:46 +0000</pubDate>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[Skill]]></category>
		<guid isPermaLink="false">https://blog.hikarilan.life/?p=3887</guid>

					<description><![CDATA[Coding Agent 在项目开发中容易堆砌无用单测、只修局部问题、过度抽象和添加兜底，甚至在代码中替模型做决定。文章结合真实 Agent 项目经验，总结了 4 个 Skill，用来约束这些过度设计倾向。]]></description>
										<content:encoded><![CDATA[<p>Coding Agent 能写代码，但在项目开发和 Agent 开发的最佳实践上，它的 taste 还差得远：堆无用的单测、只修一个切面、动不动就加抽象和兜底、在代码里替模型做决定。下面四个 Skill 是我在一个真实的 Agent 项目里和大模型反复斗智斗勇后总结出来的方法论。</p>
<p><a href="https://blog.hikarilan.life/tech/3887/4-skills-to-prevent-over-design/" rel="nofollow">来源</a></p>]]></content:encoded>
					
					<wfw:commentRss>https://blog.hikarilan.life/tech/3887/4-skills-to-prevent-over-design/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>当你试图用五年前的联想笔记本玩最新的《使命召唤：现代战争 4》结果提示不符合安全要求时&#8230;</title>
		<link>https://blog.hikarilan.life/tech/3786/resolve-cod-modern-warfare-4-tpm-requirement-on-lenovo-legion-laptop/</link>
					<comments>https://blog.hikarilan.life/tech/3786/resolve-cod-modern-warfare-4-tpm-requirement-on-lenovo-legion-laptop/#respond</comments>
		
		<dc:creator><![CDATA[贺兰星辰]]></dc:creator>
		<pubDate>Sat, 29 Aug 2026 18:02:33 +0000</pubDate>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[TPM]]></category>
		<guid isPermaLink="false">https://blog.hikarilan.life/?p=3786</guid>

					<description><![CDATA[最近《使命召唤：现代战争4》的 Beta 测试开始了，我满心欢喜打开游戏打算大展身手，结果发现游戏冰冷冷给我报 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>最近《使命召唤：现代战争4》的 Beta 测试开始了，我满心欢喜打开游戏打算大展身手，结果发现游戏冰冷冷给我报了个错： 二维码指向动视的支持页面，其中指出如果计算机不支持 TPM 2.0 的话，将无法游玩使命召唤。 我刚开始很奇怪，因为我的 PC 肯定是支持 TPM 2.0 并启用了的，简单看了看这个文档，在下方的 “AMD Hardware Troubleshooting” 栏目，看到了一条关键信息： 文档中提到，如果 AMD TPM 的供应商版本号为 这种格式，则需要进行固件（BIOS）更新（与此相对的，如果 Intel TPM 的供应商版本号为 或 这样的格式则也需要，供应商版本号可以 Win+R 输入 查看，注意不是 TPM 版本号）。 这就糟糕了，因为我的联想拯救者 R9000P2021H 的 BIOS 早就停止更新了（官网上最新的 BIOS…</p>
<p><a href="https://blog.hikarilan.life/tech/3786/resolve-cod-modern-warfare-4-tpm-requirement-on-lenovo-legion-laptop/" rel="nofollow">来源</a></p>]]></content:encoded>
					
					<wfw:commentRss>https://blog.hikarilan.life/tech/3786/resolve-cod-modern-warfare-4-tpm-requirement-on-lenovo-legion-laptop/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>当 agent 说&#8221;我做完了&#8221; —— 四个从翻车里长出来的 Claude Code skill</title>
		<link>https://blog.hikarilan.life/tech/3735/when-an-agent-says-i-m-done/</link>
					<comments>https://blog.hikarilan.life/tech/3735/when-an-agent-says-i-m-done/#respond</comments>
		
		<dc:creator><![CDATA[贺兰星辰]]></dc:creator>
		<pubDate>Mon, 03 Aug 2026 02:41:52 +0000</pubDate>
				<category><![CDATA[技术]]></category>
		<guid isPermaLink="false">https://blog.hikarilan.life/?p=3735</guid>

					<description><![CDATA[基于大模型和 Coding Agent 能力的突飞猛进，最近几个月，我的「古法编程」率成功的由 10% 变成了 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>此文章同时还提供英文版本 / English Version Availble In Medium：When an Agent Says “I’m Done” — 4 Claude Code Skills Born from Failure 基于大模型和 Coding Agent 能力的突飞猛进，最近几个月，我的「古法编程」率成功的由 10% 变成了 0% —— 基本没有一行代码是我手写的。然而生产力的提升却暴露出了现有大模型在长程代码开发上的很多短板：在 Opus 和 Sol 代替我通宵达旦的写下一行又一行代码的同时，它们也为我写出了一个又一个的逻辑陷阱和 BUG。在与 AI 不断的斗智斗勇和不断的翻车中，我沉淀出了几个可面向所有代码项目开发 skill，它们都诞生于一个共同的短板：一套在大模型看来「看起来成功」的代码，其实满是漏洞和缺陷。 在日常开发中，</p>
<p><a href="https://blog.hikarilan.life/tech/3735/when-an-agent-says-i-m-done/" rel="nofollow">来源</a></p>]]></content:encoded>
					
					<wfw:commentRss>https://blog.hikarilan.life/tech/3735/when-an-agent-says-i-m-done/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>你的 RAG 系统可能正在“杀死”大模型的灵性</title>
		<link>https://blog.hikarilan.life/tech/2914/your-rag-system-might-be-killing-the-spirituality-of-llms/</link>
					<comments>https://blog.hikarilan.life/tech/2914/your-rag-system-might-be-killing-the-spirituality-of-llms/#comments</comments>
		
		<dc:creator><![CDATA[贺兰星辰]]></dc:creator>
		<pubDate>Sun, 07 Dec 2025 18:31:23 +0000</pubDate>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[Agentic Retrieval]]></category>
		<category><![CDATA[FileSystem Access]]></category>
		<category><![CDATA[LLM]]></category>
		<category><![CDATA[Memory API]]></category>
		<category><![CDATA[RAG]]></category>
		<category><![CDATA[大模型]]></category>
		<guid isPermaLink="false">https://blog.hikarilan.life/?p=2914</guid>

					<description><![CDATA[当提到“如何为大模型提供大规模的可用于检索的信息”时，我们第一反应想到的大概率是 RAG 一类的解决方案，但现在我要说，基于文件系统访问（FileSystem Access）的检索方式可能远比使用 RAG 更好。]]></description>
										<content:encoded><![CDATA[<p>此文章同时还提供英文版本 / English Version Availble In Medium：Your RAG System Might Be “Killing” the Spirituality of Large Models 当提到“如何为大模型提供大规模的可用于检索的信息”时，我们第一反应想到的大概率是 RAG 一类的解决方案，但现在我要说，基于文件系统访问（FileSystem Access）的检索方式可能远比使用 RAG 更好。 Retrieval-Augmented Generation（检索增强生成，RAG）是一种可以允许 LLM 从大规模非结构化信息中进行语义检索的技术方案。 我们之所以需要 RAG，是因为大模型内置的知识内容可能不符合我们的需要，例如这些内容可能已经过时（因为用于大模型训练的语料库并不会随着使用者的使用而更新），</p>
<p><a href="https://blog.hikarilan.life/tech/2914/your-rag-system-might-be-killing-the-spirituality-of-llms/" rel="nofollow">来源</a></p>]]></content:encoded>
					
					<wfw:commentRss>https://blog.hikarilan.life/tech/2914/your-rag-system-might-be-killing-the-spirituality-of-llms/feed/</wfw:commentRss>
			<slash:comments>7</slash:comments>
		
		
			</item>
		<item>
		<title>EdgeOne 边缘函数重定向跟随导致 WordPress 无法正常登录 —— 问题排查与解决思路</title>
		<link>https://blog.hikarilan.life/tech/2755/edgeone-%e8%be%b9%e7%bc%98%e5%87%bd%e6%95%b0%e9%87%8d%e5%ae%9a%e5%90%91%e8%b7%9f%e9%9a%8f%e5%af%bc%e8%87%b4-wordpress-%e6%97%a0%e6%b3%95%e6%ad%a3%e5%b8%b8%e7%99%bb%e5%bd%95/</link>
					<comments>https://blog.hikarilan.life/tech/2755/edgeone-%e8%be%b9%e7%bc%98%e5%87%bd%e6%95%b0%e9%87%8d%e5%ae%9a%e5%90%91%e8%b7%9f%e9%9a%8f%e5%af%bc%e8%87%b4-wordpress-%e6%97%a0%e6%b3%95%e6%ad%a3%e5%b8%b8%e7%99%bb%e5%bd%95/#respond</comments>
		
		<dc:creator><![CDATA[贺兰星辰]]></dc:creator>
		<pubDate>Tue, 21 Oct 2025 15:26:41 +0000</pubDate>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[EdgeOne]]></category>
		<guid isPermaLink="false">https://blog.hikarilan.life/?p=2755</guid>

					<description><![CDATA[EdgeOne 边缘函数重定向跟随导致 WordPress 无法正常登录 —— 问题排查与解决思路 前言 最近 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>最近一个月有一件事情一直困扰着我：我的 WordPress 后台一直无法正常登录了，因为发现这个问题的时候很忙，简单排除了几个情况了以后问题依然没有解决，于是就暂时放着不管了。 结果前几天逛 Linux Do，有佬友说他也遇到过这个问题（尽管最后发现应该不是同一个问题），让我发工单问，于是我就发了个工单，后续联系到了 EdgeOne 的研发同学，跟这位同学捣鼓了一下午，最后终于解决了问题，至于具体怎么解决的，可以慢慢往下看。由于这个排查问题的思路挺值得记录的，遂写一篇博客记录下。 问题大概出现在我把 CDN 从腾讯云 CDN 迁移到 EdgeOne 后的半个月，我突然发现我手机登录不上博客后台了，具体体现为输入完账号密码点击登录后，又跳转回了登录页面，没有任何报错。 但是我的 PC 上依然可以正常用后台（因为 session 还没过期），因此，</p>
<p><a href="https://blog.hikarilan.life/tech/2755/edgeone-%e8%be%b9%e7%bc%98%e5%87%bd%e6%95%b0%e9%87%8d%e5%ae%9a%e5%90%91%e8%b7%9f%e9%9a%8f%e5%af%bc%e8%87%b4-wordpress-%e6%97%a0%e6%b3%95%e6%ad%a3%e5%b8%b8%e7%99%bb%e5%bd%95/" rel="nofollow">来源</a></p>]]></content:encoded>
					
					<wfw:commentRss>https://blog.hikarilan.life/tech/2755/edgeone-%e8%be%b9%e7%bc%98%e5%87%bd%e6%95%b0%e9%87%8d%e5%ae%9a%e5%90%91%e8%b7%9f%e9%9a%8f%e5%af%bc%e8%87%b4-wordpress-%e6%97%a0%e6%b3%95%e6%ad%a3%e5%b8%b8%e7%99%bb%e5%bd%95/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>利用 EdgeOne 边缘函数写入 Cloudflare IP GeoLocation 回源请求头以支持 WP-Statistics GeoIP</title>
		<link>https://blog.hikarilan.life/tech/2603/%e5%88%a9%e7%94%a8-edgeone-%e8%be%b9%e7%bc%98%e5%87%bd%e6%95%b0%e5%86%99%e5%85%a5-cloudflare-ip-geolocation-%e5%9b%9e%e6%ba%90%e8%af%b7%e6%b1%82%e5%a4%b4%e4%bb%a5%e6%94%af%e6%8c%81-wp-statistics-geoip/</link>
					<comments>https://blog.hikarilan.life/tech/2603/%e5%88%a9%e7%94%a8-edgeone-%e8%be%b9%e7%bc%98%e5%87%bd%e6%95%b0%e5%86%99%e5%85%a5-cloudflare-ip-geolocation-%e5%9b%9e%e6%ba%90%e8%af%b7%e6%b1%82%e5%a4%b4%e4%bb%a5%e6%94%af%e6%8c%81-wp-statistics-geoip/#respond</comments>
		
		<dc:creator><![CDATA[贺兰星辰]]></dc:creator>
		<pubDate>Tue, 16 Sep 2025 09:32:26 +0000</pubDate>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[EdgeOne]]></category>
		<category><![CDATA[FaaS]]></category>
		<guid isPermaLink="false">https://blog.hikarilan.life/?p=2603</guid>

					<description><![CDATA[利用 EdgeOne 边缘函数写入 Cloudflare IP GeoLocation 回源请求头以支持 WP [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>（标题很长，但这已经是我能想到的最短的叫法了） 昨天群友发来一个 EdgeOne 领取免费版套餐兑换码的链接，竟然是 100% 中奖，每周 2000 份（截止到现在也就兑了 350 份，基本是随便送了），一直很想把现有的国内腾讯云 CDN、国外 Cloudflare 的方案迁移到 EdgeOne 上，但奈何一直领不到免费版兑换码，这次终于如愿，遂赶紧噼里啪啦配置一顿，工作良好。 基本功能配置完毕，看了下 EdgeOne 有哪些额外功能，注意到 EdgeOne 支持携带客户端 IP 的地理位置信息回源，这让我想起来 Cloudflare 有一个名为 IP GeoLocation 的玩意儿，做了同样的事情，会把用户的国家码注入到 请求头上给下游用（当然 EdgeOne 这里默认名称是 ）。 这让我想起来我的 WP-Statistics 插件也支持 Cloudflare IP…</p>
<p><a href="https://blog.hikarilan.life/tech/2603/%e5%88%a9%e7%94%a8-edgeone-%e8%be%b9%e7%bc%98%e5%87%bd%e6%95%b0%e5%86%99%e5%85%a5-cloudflare-ip-geolocation-%e5%9b%9e%e6%ba%90%e8%af%b7%e6%b1%82%e5%a4%b4%e4%bb%a5%e6%94%af%e6%8c%81-wp-statistics-geoip/" rel="nofollow">来源</a></p>]]></content:encoded>
					
					<wfw:commentRss>https://blog.hikarilan.life/tech/2603/%e5%88%a9%e7%94%a8-edgeone-%e8%be%b9%e7%bc%98%e5%87%bd%e6%95%b0%e5%86%99%e5%85%a5-cloudflare-ip-geolocation-%e5%9b%9e%e6%ba%90%e8%af%b7%e6%b1%82%e5%a4%b4%e4%bb%a5%e6%94%af%e6%8c%81-wp-statistics-geoip/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>一种基于 EasyVtuber 和 Stable Diffusion 的零成本虚拟形象直播方案</title>
		<link>https://blog.hikarilan.life/tech/2405/%e4%b8%80%e7%a7%8d%e5%9f%ba%e4%ba%8e-easyvtuber-%e5%92%8c-stable-diffusion-%e7%9a%84%e9%9b%b6%e6%88%90%e6%9c%ac%e8%99%9a%e6%8b%9f%e5%bd%a2%e8%b1%a1%e7%9b%b4%e6%92%ad%e6%96%b9%e6%a1%88/</link>
					<comments>https://blog.hikarilan.life/tech/2405/%e4%b8%80%e7%a7%8d%e5%9f%ba%e4%ba%8e-easyvtuber-%e5%92%8c-stable-diffusion-%e7%9a%84%e9%9b%b6%e6%88%90%e6%9c%ac%e8%99%9a%e6%8b%9f%e5%bd%a2%e8%b1%a1%e7%9b%b4%e6%92%ad%e6%96%b9%e6%a1%88/#comments</comments>
		
		<dc:creator><![CDATA[贺兰星辰]]></dc:creator>
		<pubDate>Sun, 29 Jun 2025 11:47:43 +0000</pubDate>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[EasyVtuber]]></category>
		<category><![CDATA[Stable Diffusion]]></category>
		<category><![CDATA[直播]]></category>
		<guid isPermaLink="false">https://blog.hikarilan.life/?p=2405</guid>

					<description><![CDATA[一种基于 EasyVtuber 和 Stable Diffusion 的零成本虚拟形象直播方案 TL;DR:  [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>我一直很想整个 Live2D 模型拿来直播，奈何囊中羞涩，因此只得另辟蹊径。网上搜寻了类似 PNGTuber 之类的方案后，依然觉得不够满意。结果前些天和朋友聊起此事，被推荐了 EasyVtuber，经过一番倒腾后，完美满足了我的需求，本文则作为教程介绍如何使用 EasyVtuber 配合 Stable Diffusion 零成本创建自己的虚拟形象进行直播。 当然要注意的是，此方案对计算机性能要求不低（因为需要 AI 模型实时计算绘图），拿来做游戏直播之类的可能需要你有一张强劲的显卡。 首先，需要部署 Stable Diffusion 以帮助我们生成我们自己的 OC 形象。如果你使用外部平台生成 OC 形象，则可以直接跳到下一节。 为此，请前往 lllyasviel/stable-diffusion-webui-forge，然后在 README 的 一节中点击…</p>
<p><a href="https://blog.hikarilan.life/tech/2405/%e4%b8%80%e7%a7%8d%e5%9f%ba%e4%ba%8e-easyvtuber-%e5%92%8c-stable-diffusion-%e7%9a%84%e9%9b%b6%e6%88%90%e6%9c%ac%e8%99%9a%e6%8b%9f%e5%bd%a2%e8%b1%a1%e7%9b%b4%e6%92%ad%e6%96%b9%e6%a1%88/" rel="nofollow">来源</a></p>]]></content:encoded>
					
					<wfw:commentRss>https://blog.hikarilan.life/tech/2405/%e4%b8%80%e7%a7%8d%e5%9f%ba%e4%ba%8e-easyvtuber-%e5%92%8c-stable-diffusion-%e7%9a%84%e9%9b%b6%e6%88%90%e6%9c%ac%e8%99%9a%e6%8b%9f%e5%bd%a2%e8%b1%a1%e7%9b%b4%e6%92%ad%e6%96%b9%e6%a1%88/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>抛弃 Bukkit API，拥抱 Paper API</title>
		<link>https://blog.hikarilan.life/tech/2385/%e6%8a%9b%e5%bc%83-bukkit-api%ef%bc%8c%e6%8b%a5%e6%8a%b1-paper-api/</link>
					<comments>https://blog.hikarilan.life/tech/2385/%e6%8a%9b%e5%bc%83-bukkit-api%ef%bc%8c%e6%8b%a5%e6%8a%b1-paper-api/#respond</comments>
		
		<dc:creator><![CDATA[贺兰星辰]]></dc:creator>
		<pubDate>Wed, 18 Jun 2025 09:33:32 +0000</pubDate>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[BukkitAPI]]></category>
		<category><![CDATA[PaperAPI]]></category>
		<guid isPermaLink="false">https://blog.hikarilan.life/?p=2385</guid>

					<description><![CDATA[抛弃 Bukkit API，拥抱 Paper API 在两三年前，如果你是一个正在打算开发 Minecraft [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>这时候有些开发者就要跳出来问了：Paper API 不本就是 Bukkit API 的一个超集吗，这两者有什么可比性吗？但实际上，Paper 在去年（2024）年底已经和 Spigot 发生了硬分叉（），这意味着两者之间不再存在继承关系，因此，开发者们需要在二者之间做一个抉择。而对于一个离开 Bukkit 开发多年，需要重新回到这里进行开发的我来说，在进行了简单调研后，我便毋庸置疑的选择了使用 Paper API 进行开发。 如果你是一名 Forge 开发者，那你可能听说过 ForgeGradle，其可以根据一定的重映射（remapping）表将 Minecraft 源代码反混淆为人类友好的源代码，并帮你在构建模组时将使用到 Minecraft 源代码的源代码重新混淆回原来的样子，以支持在 Minecraft 客户端上的运行。很多年以来，</p>
<p><a href="https://blog.hikarilan.life/tech/2385/%e6%8a%9b%e5%bc%83-bukkit-api%ef%bc%8c%e6%8b%a5%e6%8a%b1-paper-api/" rel="nofollow">来源</a></p>]]></content:encoded>
					
					<wfw:commentRss>https://blog.hikarilan.life/tech/2385/%e6%8a%9b%e5%bc%83-bukkit-api%ef%bc%8c%e6%8b%a5%e6%8a%b1-paper-api/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>从进程到协程：计算机的并发编程之路</title>
		<link>https://blog.hikarilan.life/tech/1924/%e4%bb%8e%e8%bf%9b%e7%a8%8b%e5%88%b0%e5%8d%8f%e7%a8%8b%ef%bc%9a%e8%ae%a1%e7%ae%97%e6%9c%ba%e7%9a%84%e5%b9%b6%e5%8f%91%e7%bc%96%e7%a8%8b%e4%b9%8b%e8%b7%af/</link>
					<comments>https://blog.hikarilan.life/tech/1924/%e4%bb%8e%e8%bf%9b%e7%a8%8b%e5%88%b0%e5%8d%8f%e7%a8%8b%ef%bc%9a%e8%ae%a1%e7%ae%97%e6%9c%ba%e7%9a%84%e5%b9%b6%e5%8f%91%e7%bc%96%e7%a8%8b%e4%b9%8b%e8%b7%af/#comments</comments>
		
		<dc:creator><![CDATA[贺兰星辰]]></dc:creator>
		<pubDate>Sun, 09 Feb 2025 14:04:54 +0000</pubDate>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[协程]]></category>
		<category><![CDATA[并发编程]]></category>
		<guid isPermaLink="false">https://blog.hikarilan.life/?p=1924</guid>

					<description><![CDATA[从第一台分时操作系统的横空出世，到 Intel 推出双核 CPU 打破摩尔定律的诅咒，新的技术迫使人们不断探索 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>此文章目前还提供视频版本：Bilibili | YouTube 如果你了解过计算机操作系统的历史，那么你一定知道，早期的计算机操作系统并不支持多用户功能，这是因为单个 CPU 无法同时处理来自多个用户的输入输出，同样，程序也无法同时运行，只能按顺序运行。后来被发明的分时操作系统解决了这个问题，同时也为程序员带来了“并发”的概念。 在计算机科学中，“并发（Concurrency）”描述的是一种计算机程序的运行状态，即通过时间片轮转的方式，允许多个计算机程序在一段连续时间内以一定机制在一个或多个 CPU 核心上轮流运行，以营造一种所有计算机程序在同时运行的假象。 诚然，这种基于操作系统抢占式调度的时间片轮转机制对于应用程序开发者是透明的，但是随着应用程序规模的不断膨胀和用户更多的需求产生，应用程序开发者意识到他们有时需要占用不止一个 CPU 资源，于是，并发编程应运而生。</p>
<p><a href="https://blog.hikarilan.life/tech/1924/%e4%bb%8e%e8%bf%9b%e7%a8%8b%e5%88%b0%e5%8d%8f%e7%a8%8b%ef%bc%9a%e8%ae%a1%e7%ae%97%e6%9c%ba%e7%9a%84%e5%b9%b6%e5%8f%91%e7%bc%96%e7%a8%8b%e4%b9%8b%e8%b7%af/" rel="nofollow">来源</a></p>]]></content:encoded>
					
					<wfw:commentRss>https://blog.hikarilan.life/tech/1924/%e4%bb%8e%e8%bf%9b%e7%a8%8b%e5%88%b0%e5%8d%8f%e7%a8%8b%ef%bc%9a%e8%ae%a1%e7%ae%97%e6%9c%ba%e7%9a%84%e5%b9%b6%e5%8f%91%e7%bc%96%e7%a8%8b%e4%b9%8b%e8%b7%af/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>论类型转换导致 JVM 类加载提前报错的问题</title>
		<link>https://blog.hikarilan.life/tech/1494/%e8%ae%ba%e7%b1%bb%e5%9e%8b%e8%bd%ac%e6%8d%a2%e5%af%bc%e8%87%b4-jvm-%e7%b1%bb%e5%8a%a0%e8%bd%bd%e6%8f%90%e5%89%8d%e6%8a%a5%e9%94%99%e7%9a%84%e9%97%ae%e9%a2%98/</link>
					<comments>https://blog.hikarilan.life/tech/1494/%e8%ae%ba%e7%b1%bb%e5%9e%8b%e8%bd%ac%e6%8d%a2%e5%af%bc%e8%87%b4-jvm-%e7%b1%bb%e5%8a%a0%e8%bd%bd%e6%8f%90%e5%89%8d%e6%8a%a5%e9%94%99%e7%9a%84%e9%97%ae%e9%a2%98/#comments</comments>
		
		<dc:creator><![CDATA[贺兰星辰]]></dc:creator>
		<pubDate>Sun, 08 Sep 2024 16:44:27 +0000</pubDate>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[JVM]]></category>
		<guid isPermaLink="false">https://my.minecraft.kim/?p=1494</guid>

					<description><![CDATA[论类型转换导致 JVM 类加载提前报错的问题 今天下午，一朋友在某群 at 我，神秘兮兮的说道要考我一个问题。 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>今天下午，一朋友在某群 at 我，神秘兮兮的说道要考我一个问题。题目是这样的： 我嗤之以鼻，这还用问吗？我甚至可以告诉你这个代码会报的错一定是 ，这也太简单了你拿这个来考我 balabala… 然而朋友鬼魅一笑（？），你别急啊，题还没出完呢： 我大笑（？）道，这还用问？ 永远是 ，也就是说内部代码永远不可能执行到，那么 Son 类也就永远不可能进入初始化阶段，所以这个代码肯定就不会报错了，这也太简单了你拿这个来考我 balabala… 然后朋友发来的一张图让我沉默了： 竟然真的会报错，难道 JVM 虚拟机会提前解析并未执行的代码行中包含的类引用吗？不对啊，这和我以前的实践完全不一样，怎么会这样…… 就在我陷入自我怀疑的时候，下一题来了： 我小心翼翼地问道：不会这样它就不会报错了吧… 朋友淡淡说道：正是。</p>
<p><a href="https://blog.hikarilan.life/tech/1494/%e8%ae%ba%e7%b1%bb%e5%9e%8b%e8%bd%ac%e6%8d%a2%e5%af%bc%e8%87%b4-jvm-%e7%b1%bb%e5%8a%a0%e8%bd%bd%e6%8f%90%e5%89%8d%e6%8a%a5%e9%94%99%e7%9a%84%e9%97%ae%e9%a2%98/" rel="nofollow">来源</a></p>]]></content:encoded>
					
					<wfw:commentRss>https://blog.hikarilan.life/tech/1494/%e8%ae%ba%e7%b1%bb%e5%9e%8b%e8%bd%ac%e6%8d%a2%e5%af%bc%e8%87%b4-jvm-%e7%b1%bb%e5%8a%a0%e8%bd%bd%e6%8f%90%e5%89%8d%e6%8a%a5%e9%94%99%e7%9a%84%e9%97%ae%e9%a2%98/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

使用 0153对象缓存Redis
使用页面缓存Disk: Enhanced 
Minified using Disk
使用数据库缓存Redis

Served from: blog.hikarilan.life @ 2026-11-20 04:07:27 by W3 Total Cache
-->