Do not show this text.

Welcome!

Book Review: Programming Rust: Fast, Safe Systems Development 2nd Edition

Since Amazon (suspiciously) won’t let me review this book that I purchased, I will review it here. I would have been kinder on amazon, but blocking reviews is a dirty tactic for a publisher. This book has a great deal of useful information in it, *BUT*. I have 40 years programming experience from VAX assemblyContinue reading “Book Review: Programming Rust: Fast, Safe Systems Development 2nd Edition”

Rustsources

This blog post links to some primary resources for learning the rust programming language. If you know of anything that should be in this list, please comment on this blog post. The Rust Programming Language – The Rust Programming Language (rust-lang.org) The primary rust book to which everyone in the community refers B – OperatorsContinue reading “Rustsources”

Comparing Rust and C#

This blog post contains perspectives on similarities and differences between the rust programming language and the C# programming language for .NET. This post focusses on command line and background processes and does not consider native user interface technologies for Windows or Linux, although for now at least, C# is almost certainly more appropriate for WindowsContinue reading “Comparing Rust and C#”

Danger: Cargo Clean Removes Everything from the /tmp Directory

This blog post describes what could be an extremely dangerous issue with the default configuration of cargo, the build tool for rust programs. Apparently, the cargo clean command tries to remove everything from its build directory, which defaults to /tmp. [2021-06-25 13:59:12]:jw@HAL9000-6WQ9TQ2:/mnt/c/temp/cscdprox $ cargo clean error: could not remove build directory Caused by: failed toContinue reading “Danger: Cargo Clean Removes Everything from the /tmp Directory”

Rust Warning: The rustfmt Command Formats Referenced Source Code Files

I figured out why my the rustfmt commands in the build script for my rust program were reformatting certain .rs source code files repeatedly, including one that I was explicitly excluding from the command line. I was trying to pass each file to the rustfmt command individually, excluding the one that I need to formatContinue reading “Rust Warning: The rustfmt Command Formats Referenced Source Code Files”

Anatomy of a Rust Program, Part VIII: Anatomy of a Cargo Build Script

This blog post is the eighth in a series that describes the structure of the wink command line program that I have written in rust and that I use to invoke other Windows and Linux programs from bash and Windows shells under Windows Subsystem for Linux. This post describes the wince Unix sh shell scriptContinue reading “Anatomy of a Rust Program, Part VIII: Anatomy of a Cargo Build Script”

Anatomy of a Rust Program, Part VII: /src/wsl/inv.rs and /src/wsl/inv/*.rs

This blog post is the seventh in a series that describes the structure of the wink command line program that I have written in rust and that I use to invoke other Windows and Linux programs from bash and Windows shells under Windows Subsystem for Linux. This post describes several types used by the winkContinue reading “Anatomy of a Rust Program, Part VII: /src/wsl/inv.rs and /src/wsl/inv/*.rs”

Loading…

Something went wrong. Please refresh the page and/or try again.


Follow My Blog

Get new content delivered directly to your inbox.