June 2023

go board

☑ All Go: Closures, Deferred Actions and Generics

In this, my third article on the Go programming language, I’m going to look at some of the additional features. Specifically we’ll look at closures and deferred actions, and also Go’s support for generics.

This is the 3rd of the 6 articles that currently make up the “All Go” series, the first of which was All Go: Basic Semantics.

Read article ( 22 minutes )

15 Jun 2023 at 1:10PM in Software
 |  | 

May 2023

closed jetty

☑ Uncovering Rust: Closures, Iterators and Smart Pointers

Rust is fairly new multi-paradigm system programming language that claims to offer both high performance and strong safety guarantees, particularly around concurrency and memory allocation. As I play with the language a little, I’m using this series of blog posts to discuss some of its more unique features as I come across them. This article looks at the more functional aspects of closures and iterators, as well as smart pointers.

This is the 7th of the 7 articles that currently make up the “Uncovering Rust” series, the first of which was Uncovering Rust: References and Ownership.

Read article ( 25 minutes )

28 May 2023 at 6:22PM in Software
 | 
Photo by Gaspar Zaldo on Pexels
 | 

July 2022

python 38

☑ What’s New in Python 3.8 - Library Changes

In this series looking at features introduced by every version of Python 3, we continue our look at Python 3.8, examining changes to the standard library. These include some useful new functionality in functools, some new mathematical functions in math and statistics, some improvements for running servers on dual-stack hosts in asyncio and socket, and also a number of new features in typing.

This is the 18th of the 34 articles that currently make up the “Python 3 Releases” series, the first of which was What’s New in Python 3.0.

Read article ( 46 minutes )

March 2021

python 33

☑ What’s New in Python 3.3 - New Features

The fourth Python 3.x release brought another slew of great new features. So many, in fact, that I’ve split this release into two articles, of which this is the first. Highlights in this part include yield from expressions, mocking support in unittest and virtualenv suppport in the standard library.

This is the 5th of the 34 articles that currently make up the “Python 3 Releases” series, the first of which was What’s New in Python 3.0.

Read article ( 26 minutes )

February 2021

python 31

☑ What’s New in Python 3.1

This article continues to series looking at features added in each release of Python 3.x, with this one covering the move from 3.0 to 3.1. It includes the new contains OrderedDict and Counter, making modules executable as scripts, and marking unit tests as known failures. If you’re puzzled why I’m looking at releases that are years old, check out the first post in the series.

This is the 2nd of the 34 articles that currently make up the “Python 3 Releases” series, the first of which was What’s New in Python 3.0.

Read article ( 19 minutes )

January 2021

python 30

☑ What’s New in Python 3.0

I was slow to make the transition from Python 2 to 3 in the first place, and I never felt like I kept up properly with the new features. So I’m going to aim to do a series of articles looking at a different Python version in each and go through the new features added and catch myself up properly. This one addresses features added in Python 3.0 beyond those already in 2.6, including Unicode by default, type annotations, and exception chaining.

This is the 1st of the 34 articles that currently make up the “Python 3 Releases” series.

Read article ( 33 minutes )