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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Writing an Async Logger in Nim

72 点作者 def-超过 9 年前

2 条评论

solutionyogi超过 9 年前
What a great article. Takes up a problem which everyone is familiar with and then describes how one will go about solving it in Nim.<p>I have been writing software for close to 15 years. When a new programming language comes out, I am looking to find out what it does better compared to the languages I already know. And generally, you never find material like that. After looking at this article, I realized that solving a familiar problem in a new language step by step is a PERFECT way to introduce me to your language.<p>Coming from C#, I learned that Nim language has the notion of a channel and how it makes cross thread communication easy.
notacoward超过 9 年前
Well done. I&#x27;ve been thinking about using Nim for my next project. This does a good job showing how to use various Nim features such as templates and channels, plus how to use existing tools such as valgrind with the result. Nothing earth-shattering, but lots of nice knowledge nuggets in there.