Coder, Freelancer, Blogger, Gamer, Father of 2 kids, Rock climber. Author of open source projects : skynet, ltask, sproto, luaecs, lua-bgfx, soluna, etc.

广州
Joined February 2009
Tangentially: the only reason OP is able to "stop looking at assembly" is because a bunch of other people still do. There are compiler codegen bugs constantly, but OP never knows about them because other people who do read ASM find, report and/or fix them before they cause too many downstream problems. Another way to say this is that the "compiler" does not "get it right". A ton of people, constantly reading the ASM that the compiler outputs, work together to "get it right".... eventually :) So the proper way to look at this is, if you've stopped reading ASM, that's not because codegen was solved, but rather that you have implicitly decided to outsource to other people the problem of keeping codegen working reliably.
I might never look the source again. It was nearly a half century ago that I stopped looking at assembly because I trusted the compiler to get it right. This feels like that.
76
262
18
3,021
120,365
傅斯年1933年发表《苏联究竟是一个什么国家》对苏联认识很准确嘛,可惜知识精英的意见没有被群氓采纳,拼了老命把国家推向苏联模式。 你怎么能放心把国家交给泥腿子跟暴民呢❓
32
131
11
649
53,844
试着用 soluna 复刻成网页版了(除了声音) yuchanns.github.io/soluna_ex…
2D 游戏引擎 GameLib.h 迭代的差不多了,今天我用它从零做了个 Demo 类几何战争游戏,测试下性能,完全没用 DirectX/OpenGL/Vulkan 的情况下,满屏粒子与特效,右下角帧率还能达到 1200 帧/秒,新的音频子系统的效果也体现出来了,N 多声音同时播放,不卡不延迟,欢迎尝试:
3
1
1
34
14,502
给 soluna 加了个 wasm 演示站点
2
1
1
3,601
My blog post is #2 on Hacker News at the moment :) sebastianaaltonen.com/blog/n…
20
40
5
934
62,953
今天把触屏实现了
Replying to @cloudwu @_yuchanns_
我提交了基础的触摸消息支持代码。下周你可以先试着用简单粗暴的方法把触摸消息模拟出鼠标消息,这样就可以玩游戏了。
1
1
34
28,356
卧槽!激动的心颤抖的手!我和云风大佬成功把 soluna wasm 做出来了!
Replying to @_yuchanns_
@_yuchanns_ 干得漂亮,web 版本基本搞定了。
25
19
253
101,905
云风 retweeted
Checkout my new article about PBR: imadr.me/pbr/
8
58
4
234
35,700
#编程随想 二审进展。 下午快15:00时,接到上海高院的来电了。让家属请的律师去看守所会见阮晓寰,和本人签委托书了。 来电的不是须梅华法官;签好的委托书让寄给“刑事厅”。 似乎换法官了。 上海,今天下午是个多好的天气。
274
372
43
2,676
456,204
最近半个月,我标注了2.6万条数据,终于,海龟Benchmark 发布了!简单来说就是:我做了一个AI海龟汤游戏让网友来玩,发现AI作为裁判的水平很差劲,因此我将这2万条游戏数据后,测试了包含GPT-4o, Claude, 月之暗面、Deepseek等11个模型,文末有模型推理能力排行榜。 mazzzystar.github.io/2024/08…
19
56
11
319
70,130
Replying to @cloudwu
分享几个我在学而思写过的讲义。如果这方面需求很多,市场很大的话,我可以考虑写一本完整的教材 drive.google.com/drive/folde…
5
30
3
161
19,648
🎉 分享一个纯 Lua 实现的高性能路由库 Radix-Router 内部使用前缀树(Radix Tree)来实现高效的变量匹配和前缀匹配,和一个 Table 用作静态路径的 O(1) 查询。所有热函数都有 Lua 和 LuaJIT 两种实现。这是目前 Lua/LuaJIT 里性能最快的路由库 🚀 除了满足路径匹配,这个库还支持: 🙌 变量绑定 👏 OpenAPI(Swagger) 风格的路径 🌟 开箱即用的 Method 和 Host Condition Matcher。允许自定义任意的 Condition Matcher 👋 正则表达式 为了压测集成性能,我在 Kong 网关里写了一个基于 Lua-Radix-Router 的 Router,从测试结果来看,吊打了 APISIX 和 Tyk。这也是目前开源网关里性能最快的 Router。 后续我会分享更多底层的设计与实现细节,和我对 API Gateway 的一些思考。 github.com/vm-001/lua-radix-… #Lua #APIGateway #LuaRadixRouter #Kong
5
13
1
97
33,787
Why would you need chat GTP? Just amass 100k twitter followers and you get instant thoughtful answers to any complex question you might have
How do you approach writing the task allocation AI for an economy simulation type game like Settlers III, Oxygen not Included or Black & White, where all the little workers run around on their own trying to solve problems and allocate resources?
11
5
1
315
64,700
揭露SARS疫情瞞報,以敢講真話著稱的蔣彥永醫生於2023年3月12日下午4:39分去世。😭😭
89
272
48
1,105
340,115
The journey of every programmer. Alexandrescu's red book might have been the trigger for my peak to the left.
3
8
27
Carbon, a successor language to C++ was announced at @CppNorth today by @chandlerc1024. I'm very excited about this project's potential. You can learn more about Carbon and get involved on GitHub. github.com/carbon-language/c…
122
769
242
3,237
机核有个朋友把 Jonathan Blow 吹哥的 《Truth in Game Design》这个 GDC 演讲翻译了。我 当时第一次看就非常喜欢。其中有两张 PPT (下图)一张是生命游戏的代码本质,一张是游戏的本质。 思考一下挺震撼的。特别推荐给大家。机核地址:gcores.com/videos/152725
8
53
1
246
这件事情的起因和汇总,我发誓句句属实。 weibo.com/ttarticle/p/show?i…
112
212
95
598