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 assembly…

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 – Operators…

Rust: What the &()::||_’*+! is this?

While many of the symbols used in rust source code are like those used in other languages, some languages do not use those symbols or use them differently. This blog post provides short explanations for rust programming symbols that may not be used or may be used differently in other languages. Again, I am just…

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 Windows…

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 to…

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 format…

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 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 wink…

Anatomy of a Rust Program, Part VI: /src/wsl.rs

This blog post is the sixth 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 a library named wsl that the…

Anatomy of a Rust Program, Part V: /src/winkconfig.rs

This blog post is the fifth 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 WinkConfig struct used to represent…

Loading…

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


Follow My Blog

Get new content delivered directly to your inbox.