Typed Properties in PHP 7.4
PHP 7.4 adds typed properties to classes
Topics /
The most popular blog posts about programming languages on Hacker News. 5,634 posts.
PHP 7.4 adds typed properties to classes
What do ParaSail, "modern" C++ and Rust have in common? They focus on "pointer free programming" (ok, maybe Rust doesn't, but it uses similar mechanisms). In this blog post I am exploring how we can move Nim into this direction. My goals are:
Lessons learning Haskell It's often claimed that learning Haskell will make you a better programmer in other languages. I like the idea ...
A long time ago, the Rust language was a language with typestate. Officially, typestates were dropped long before Rust 1.0. In this entry, I’ll get you in on the worst kept secret of the Rust community: Rust still has typestates.
An overview of some of the most interesting features of ECMAScript 6, the latest version of the JavaScript specification.
Let me start this article with a confession: I suck at writing parallel code. I have only a vague idea about mutexes, locks and other low level primitives for handling data between threads. And since I work mostly with Python, I tend to use multiprocessing (if I bother to parallelize at all) rather than threads…
This is a personal pick of the most interesting projects, tools, libraries and articles that popped-up in Common Lisp land in the last two years.Newcomers might not realize how the Common Lisp ecosystem, though stable in many ways, actually evolves, sharpens, tries new solutions, proposes new tools, ships new…
Ruby 2.3.3 has been released.
Go is one of the most prominent general-purpose programming languages nowadays. Google, Apple, Microsoft, Amazon, and Adobe, to name a few, have been using the language extensively. It’s the language of choice behind multiple cloud computing projects such as Kubernetes, and it’s steadily expanding towards numerous…
How costly it is to call functions and builtins in your python code? Does inlining help? How have the recent CPython releases improved performance in these areas?
Interface Vision is a group working on a software development platform that can be used without coding.
The compiler is a powerful tool, yet many developers have a painful relationship with it. Can we do better?
A teardown of Rust's mutex internals plus real benchmarks so you know when to choose std or parking_lot.
My book 'Mastering Nim - A complete guide to the programming language' is now available on Amazon
Modern Object Pascal Introduction: units, classes, generics, memory management, exceptions and more.
Niko Matsakis recently blogged about the Rust compiler’s new borrow checker , which implements non-lexical lifetimes (NLL). The new borrow checker is a really nice improvement to Rust, because it accepts many sound programs that the old borrow checker rejected.
Alright, you know the drill. The Ruby team do the hard work of putting together a new version packed with features and I pick my favourites and write about them.
Sometimes we have ideas that are bad but demand to enter reality. A few months ago, while chatting with a friend, we toyed around with the idea of a language where the only control flow you get is error handling. This idea embedded itself in my brain and wouldn't let me go, so I kept just talking about it until two…
Sketches of Elixir : Friends, I am now at least in this respect a rare breed: an Elixir programmer who has never written Ruby. I was never a professional Erlang programmer. I cut my teeth on Python
In this post, we'll discuss some specifics of how we use Rust to power our mobile frameworks for iOS and Android.
A lot of new cryptography is landing in Go 1.20, including the new crypto/ecdh package and math/big-less RSA and ECDSA backends!
While the modern programming language Haxe is well-known in some circles, many developers have never heard of it. Yet since it first appeared in 2005, it's been battle-tested by its loyal---if rather quiet---following. It boasts a pragmatic and mature combination of features for development in business, gaming, and ...
As of late I'm noticing a trend: I'm spending more time having in-person in-depth conversations, and less time coding. While I regret the la...