TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Nim in prod: 100k+ WebSockets on a small VM, lots of CPU and RAM to spare

11 pointsby Guzbaabout 2 years ago

1 comment

eindiranabout 2 years ago
I haven&#x27;t used Nim in prod, but I messed around with it quite a bit a few years ago and it really hits a sweet spot in terms of language size (features, not ecosystem) and expressiveness. At its best, it really does feel like a tidier version of Python with static types.<p>A small thing in Nim that I regularly miss in Python: `discard` is incredibly useful while reading code and telegraphs the writer&#x27;s intentions to the reader much more clearly. Oh, and the simple null-coalescing operator. I haven&#x27;t written enough to see the macro system or FFI used to their fullest, but both features seem well designed. Definitely one of the more interesting recent languages in my opinion.