TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

GHC 9.8.1

108 点作者 njaremko超过 1 年前

5 条评论

WJW超过 1 年前
Woop! My timerfd change is finally out in the wild!<p>This will make it so that (on systems with timerfd) the runtime will no longer have to wait for the next runtime tick before exiting. This saves on average 5 ms per program run, and up to 10 ms for programs with a very short runtime. Not much for server programs with an expected lifetime of days&#x2F;weeks, but potentially quite nice for CLI programs like hledger or for programs that invoke many other Haskell programs.<p>I accidentally discovered this when trying to optimize an Advent of Code problem and couldn&#x27;t get it below 10 ms no matter what I tried. Eventually I discovered that &quot;hello world&quot; also took 10 ms so I assumed it was just runtime startup costs. Decided to look anyway and found out it was actually runtime shutdown costs, where the runtime would `join` the rts &quot;ticker&quot; thread. The ticker thread would only check for a shutdown flag once every loop, so 10 ms with the default settings. Now it can be shut down immediately, which makes small programs much faster.
评论 #37842227 未加载
trashburger超过 1 年前
&gt; I specified text: 2.1 (a number) instead of text: &#x27;2.1&#x27; (a string) - causing Stack to complain vigorously<p>lol, not even Haskell can escape YAML being YAML.
评论 #37842447 未加载
ridiculous_fish超过 1 年前
Asking as a Haskell dabbler - why are features like `ExtendedLiterals` behind an opt-in language extension? Why not just turn it on for everyone?
评论 #37841093 未加载
评论 #37841615 未加载
评论 #37841109 未加载
endorphine超过 1 年前
&gt; We would like to thank GitHub, IOG, the Zw3rk stake pool, Well-Typed, Tweag I&#x2F;O, Serokell, Equinix, SimSpace, the Haskell Foundation, and other anonymous contributors whose on-going financial and in-kind support has facilitated GHC maintenance and release management over the years.<p>Is GitHub sponsoring Haskell development? Or is this them providing some free services (e.g. more Runners) because it&#x27;s a large and importans OSS project?
评论 #37841011 未加载
评论 #37841687 未加载
评论 #37841165 未加载
lynx23超过 1 年前
And stack LTS is still on 9.4...
评论 #37841926 未加载
评论 #37842437 未加载
评论 #37842159 未加载