Pixar’s Cars didn’t know this about Rust…

Quick note: if you’re viewing this via email, come to the site for better viewing. Enjoy!

punch Buggie covered in rust.
One of many faces made when trendy programming languages are released.
Photo by Andrea Piacquadio, please show support by following @ pexel.com

All right, so, you’re sitting at your computer, plotting to make your great escape into the all-so-coveted world of Information Technology (IT) but the buzz of “what programming languages are trending” prompts halt and confusion.

You think to yourself, “just when I thought I picked the right coding boot camp, the best online course, the perfect programming language only to experience derailment, THIS… IS… MADNESS!! (Not Sparta)”.

You slump back and deflate into your computer chair, eyes synced with your mind racing back and forth with feelings of panic. The walls begin to darken, zeroing in, siloing you into thoughts of being the only one.

Whispering to yourself; “I’m alone in this”, you feel despair, quickly followed by a fit of rage while you stare at the computer screen.

Whoa, wait, let’s stop right there.

Before you flip your desk and begin smashing everything in frustration, let me tell you something… you’re not alone.

I bounced from Python, Java, and Kotlin (Kotlin was a fling, nothing serious) before I settled back into learning Python. It’s okay to “dip the toe” or (if you feel like being immature) “give it just the tip” when learning a language.

With there being many programming languages in the world, it’s easy to get overwhelmed. So, in short, go for the language that would best suit you, which may be the language we’re talking about today, Rust.

rust car in rust landscape
This is a result of a car being stripped for parts and left for years in the elements.
Photo by Mark Vegera, please show support by following @ pexel.com

Rusting with Jay

What is Rust? Well, that’s a simple question and I’m glad you asked it.

Rust is the reddish-brown material that develops when something has been sitting in a garage for too long. If you’re anything like Jay Leno, you must have several cars sitting so long that one, two, or maybe even thirty are starting to develop rust.

Okay, now with the bad rust jokes aside, it’s time to tell you what rust in the computing world is actually.

Rust is known as a general-purpose programming language designed for improved performance, safety, and concurrency (meaning you can run more than one copy of a program simultaneously).

Like Java, C#, and Swift along with several other programming languages, Rust is considered to be memory safe, meaning they all handle memory automatically instead of relying on the developer.

This means the developer (or programmer) can program away and not have to worry about having to use a garbage collector.

No, not the people who collect your trash every week or so.

Garbage collectors, when enabled, will automatically free up memory space that has been tied to objects which are no longer being used by the program.

Rust also prevents developers from running the risk of introducing certain types of bugs in relation to memory.

Memory safety bugs often tend to be an issue making this language more than secure.

So, you could think of this as one of the programming languages that stops you from having a Homer Simpson moment and yelling “D’oh”.

fifty shades of rust logo
When car parts decide to add some kink.
Photo by Magda Ehlers, please show support by following @ pexel.com

Kink of Rusting

Rust has been around for about 11 years or more now and hasn’t gotten the chance to get rusty since many industry leaders have adopted the use of Rust. Some are the likes of Amazon Web Services (AWS), Dropbox, and Cloudflare just to name a few.

AWS uses Rust for their CloudFront, Elastic Compute Cloud (Amazon EC2), Simple Storage Service (Amazon S3) as well as several other services which use Rust as well.

Dropbox uses Rust for the filing engine because this language being memory safe, prompts fewer memory error messages to deal with. Preventing developers from reenacting Britney Spears in her famous song, “Oops, I did it again”.

Since the Rust compiler will refuse any unsafe code, Cloudflare has chosen this language for this and its other security features.

Rust is normally used for projects dealing with Command Line Tools (CLI), web development, and system programming.

In the arena of data science and analytics, Rust is not up to the level of Python or R, but Rust does offer properties for creating backend systems focusing on data parallelization and low-level code optimization.

All this boils down to if this language was your side piece, it very well may be finding its way to becoming your main piece.

person sitting watching the sunset
Pondering thoughts on the horizon.
Photo by Pixabay, please show support by following @ pexel.com

Facing the World with Rust

Rust has given programmers more flexibility to develop functional code without having to worry about memory issues. Due to Rust’s speed and performance, data scientists have made this language a choice for when handling machine learning and large amounts of data in a hurry.

So, if you wanted to imagine trying to rifle through a mountain of warehouse data in record time, this language has you covered.

You’re also not going to find too many cult followers as you do with Python, Java, or many of the other programming languages, instead you may find people from many avenues in the tech world joining the Rust ever-growing community.

With there being many applications and growing in popularity, Rust doesn’t seem to be slowing down or going anywhere soon. In some cases, it may find its way next to Python and Java being the top languages to learn.

man in brown jacket thinking in front of laptop
Man thinking intensely about his next purchase on Walmart’s site.
Photo by Andrea Piacquadio, please show support by following @ pexel.com

Pursue or Not

Thinking about getting a job as a Rust developer or interested in making it an addition to your skillset? Either way, you can’t go wrong.

However, just knowing this language isn’t going to be good enough to land you a job. Since Rust is so close to C++, you are going to be expected to code in this language as well.

Again, you don’t have to know everything about the language, just enough to be able to move around and make sense of everything in view.

Also, depending on what your potential place of work is looking for you are going to have to be familiar with Linux and other operating systems.

Notice how you must be familiar with mentioned items and a degree was not brought up. In this day and age, being able to show you have practical knowledge supersedes having a four-year computer science degree.

Building a small list of projects using this language will boost your resume and help you stand out from the herd. Leading to rust never developing on you (sorry, I know that was bad, that was my last rust pun).

Thinking Rust developer might be the career path for him.
Photo by cottonbro studio, please show support by following @ pexel.com

Made it this far and found this to be entertaining? Then a big thanks to you and please show your support by cracking a like, scripting a comment, or plug-in to follow.

Think you have what it takes to become a developer for Rust?

Script a comment about how you think learning Rust would benefit you.

Bombing with Midget Logic

Quick note: if you’re viewing this via email, come to the site for better viewing. Enjoy!

First day on the job. I think it’s time I read the latest script. What could go wrong?
Photo by Andrea Piacquadio, please support by following @pexel.com

It’s your first day on the job as the new System Admin and you can’t wait to take on the day. Congratulations. After meeting with a few of your co-workers and the other people you are going to be helping throughout the building, you grab a cup of that fresh poisonous morning brew and head back to your office.

Quick rant, I swear toilet manufacturers and coffee companies have a secret contract together because there is no logical reason why you should down a cup and have to rush to the bathroom to exercise your sphincter moments later. They are in cahoots, and you can’t tell me otherwise.

Back on track, you’re back at your office sitting at your computer clearing out emails, and responding to tickets, and you notice a file named “Click here, there’s nothing to worry about.” You pause and think, “Maybe there is something to worry about”, you look back only for it to then say “No, really, there’s nothing to worry about. Promise.”

You wrestle with the thought and after a short time of debating you figure just checking the file out couldn’t be any harm, surely nothing could go wrong, you then receive an alert for a countdown. Let me script for you how things are about to blow up.

This is not good, Z-Daddy is ain’t good at all mate. One file is about to have me lose me job, fam.
Photo by Ketut Subiyanto, please support by following @pexel.com

First Day Ticking

There’s a countdown, meaning you’re on a time clock and it’s a race to solve this problem. Relax, this is no cause for panic, you’re just having some first-day bad luck. The event you just triggered with your curiosity is called a “Logic bomb”.

Logic bombs go by other names such as “Slag code” or “Slug code” but the result is still the same. A flavor of bad things happens at the end of the countdown which leads to the involuntary clapping of your cheeks via boss or client.

Logic bombs are malicious code inserted into an application and are designed to go off when the right event has taken place. This isn’t to be confused with “time bombs” as time bombs are a subset of logic bombs.

Time bombs are coded to go off at a specific time. This is like how a typical bomb operates but the only upside is you get to keep all your limbs instead of being either wheelchair or casket bound for the rest of your existence.

Puppy, you stay as cute as you are and I’ll be your John Wick. I have the strange feeling I should looking out for something…oh well, I’ll just read another script.
Photo by Pixaby, please support by following @pexel.com

Coded Bombs Outsourced

What kind of person would leave you with such a treat for your first day on the job? Well, if you could recall how your now boss felt about the previous Sys Admin, you might have thought that it could’ve been him. But before any confirmation of them being the culprit here’s a brief history on logic bombs.

The history of Logic Bombs dates to the Cold War, you know, that good ole USA vs USSR. The CIA (Central Intelligence Agency) had launched a trojan horse- that was in code, they didn’t actually launch a trojan horse, on the Soviet Union back in 1982. This was widely considered to be the original use of the logic bomb.

In the event of a logic Bomb being launched, a trucking company had some dealings with a software contractor, leading to a disagreement. Following that disagreement was the threat of using a logic bomb unless the client paid the invoices.

This had gone to court and the client won. Finally, this great-at-outsourcing country, the USA was on the receiving end of a logic bomb. Our army found that significant amounts of data were deleted which led to reservists being delayed for deployment and in payment. The Army was able to restore the data after coughing up $2.5 million for an investigation and repairing systems.  

How does any of this relate to your situation? Well, the previous Sys Admin might have been unhappy, and this is the kill from beyond the grave. You just happened to be the tool to set things in motion. Also, the individual that launched the logic bomb received jail time and had to pay $1.5 million in restitution. United States of America baby, we love our bills.

Enjoy the read so far? Why don’t you consider subscribing so you can keep up to date?

Don’t worry kid, logic bombs aren’t the only thing we sell here. How about you turn around? You could get a trick and a treat.
Photo by Nadin Sh, please support by following @pexel.com

High Level and Too Close

How could the previous Sys Admin be the culprit you might be wondering. The design of a logic bomb depends on the one creating it and what their goals are. They’re usually created by someone with high-level access, granting them the ability to have many options as to where the bomb or bombs could be placed.

Being able to dress them as viruses, malware, or worms furthers an already growing attack vector list and can make it even harder to trace the origin. As mentioned before, a few conditions could be required for detonation, one being something simple like opening a file. The other could be natural as the payload goes off when a time criterion is met.

The developers’ goals could range from releasing a worm to infect the network, releasing ransomware to extort money from the company, or deletion of files and worse the hard drive. And once the dust settles, the culprit, if clever, is long gone as this could have been left months or even a year behind.

Pay my employees? How? My company makes money hand over fit.
Photo by Lukas, please support by following @pexel.com

Build-A-Bomb Prevention Plan

At this junction, you’re probably wondering how you would be able to catch something like this from going off in your company or simply just avoiding this whole event together. One way to prevent this and I know the majority of companies are going to say, “THAT’S AN OUTRAGE!” Ensuring that the people who are closest to sensitive items and information are paid could help and seeing them paid well could be a huge benefit.

Money doesn’t solve everything but being able to pay your bills on time does help. Other forms of prevention are used up to date antivirus software as the logic bomb might have been injected into a virus or malware, scanning all files from time to time – this includes all compressed files, avoiding clicking on suspicious email attachments like “Nude Cowgirl Midgets” from known and unknown sources, keeping your OS (Operating System) up to date, and training staff not to click on anything promising them a good time. Logic bombs are tricky by design but with a watchful eye, you might be able to spot one in time and stop yourself from…well, exploding.

Like, share, and subscribe…in Scriptingthewhy we trust. America baby!
Photo by Pixabay, please support by following @pexel.com

Made it this far and found this to be entertaining? Then a big thanks to you and please show your support by cracking a like, scripting a comment, or plug-in to follow.

Would like to give sincere thanks to current followers and subscribers, your support and actions mean a lot and has a play in the creation of each script.

Have your company or someone you know experienced a logic bomb event? Feel like there’s something I may have missed? Script a comment below.