Don’t blindly prefer emplace_back to push_back
In one of my recent training courses, a student informed me that both clang-tidy and PVS-Studio were complaining about some code of the form
Topics /
The most popular blog posts about programming languages on Hacker News. 5,634 posts.
In one of my recent training courses, a student informed me that both clang-tidy and PVS-Studio were complaining about some code of the form
This is something I posted on python-ideas, but I think it's interesting to a wider audience. There's been a lot of discussion recently ab...
There’s a fantastic article from last year titled Parse, don’t validate. I’d highly recommend it to any programmer (along with the more recent follow up Names are not type safety). The basic idea i…
A close look at named parameters in PHP 8
The dark side of ergonomics
Forthcoming events See all events... News Administration Files Buyer Profile Jobs Tenure Procedures Attestation Documents To the Prize page Please donate BIC: UNCRBGSF IBAN: BG32UNCR76303100117336 Address: Institute of Mathematics and
We are extremely pleased to present Kotlin 1.0 Beta for JVM and Android! To recap: Kotlin is a modern programming language that JetBrains has been working on for quite some time now. This post gives
Python and JavaScript are two of the most popular programming languages . If you're a Python programmer learning JavaScript, or a JavaScript programmer learning Python, this handy cheat sheet might help you.
First foray into the Zig programming language
Here's a language that gives near-C performance that feels like Python or Ruby with optional type annotations (that you can feed to one of two static analysis tools ) that has good support for macros plus decent-ish support for FP, plus a lot more. What's not to like? I'm mostly not going to talk about how great Julia…
Almost two years ago CloudFlare started working with Go. What started as an experiment on one network and concurrency heavy project has turned into full, production use of Go for multiple services.
Update: See the Hacker News thread , /r/programming , /r/ProgrammingLanguages , /r/gamedev , and /r/lisp posts for discussions on this article and Cakelisp.
This has really been quite a journey for me lately. And regarding the frequently asked question “Why did you choose Python for Machine Learning?” I guess it…
tl;dr; We are willing to commercially support CPython C API in PyPy, so if you want pypy to support library X, get in touch with me at fij...
Some off-the-beaten uses of Python learned from reading libraries.
I was looking through the book Expert C Programming again when I came upon their “light relief” section on The International Obfuscated C Code Competition . It’s a contest to write the most obscure code. That the language C has a competition where you write confusing code in it probably says something about the…
Modern programming languages are full of violence, vulgar abbreviations, and naked imperatives. Bespoke is a statically typed alternative in which exceptions are regrettable circumstances, mutexes ...
While none of the ideas in core.async are new, understanding how to solve problems with CSP is simply not as well documented as using plain callbacks or Promises . My previous posts have mostly explored fairly sophisticated uses of core.async , this post instead takes the form of a very basic tutorial on using…
Jelajahi katalog produk dan informasi lengkap dari PANEN99.
This is a companion post to my discussion with Craig Andera on Relevance Podcast Episode 32 and my Clojure/West talk Clojure in the Large. I've talked about ...
Last year was quite successful for PyPy fundraising through the Software Freedom Conservancy , and Conservancy and PyPy are very excited to ...
ajxs personal site
Let's start with an example. In Advent of Code 2022 day 1 we get groups of numbers as input like: 1000 2000 3000 4000 5000 6000 7000 8000 ...
I started learning Rust about 3 or 4 years ago. I am now knee-deep in several very complex Rust projects that keep slamming into the limitations of the Rust compiler. One of the most common and obnoxious problems is hitting a situation the borrow-checker can’t deal with and realizing that I need to completely…