Broch Blog

Explore our posts about programming, web content and cybersecurity.

A photo of a linked chain—linked just like you want your products and articles to be

Shopify

Linking products and articles in Shopify

23/10/2023

Many merchants want to add ‘Related Products’ and ‘Related Articles’ sections. This blog post explains how to add these in Shopify using custom theme code.

Read more
A photo of a lot of ice

Programming

Writing a native GUI app in Rust with Iced

23/10/2023

Building a cross-platform but lightweight GUI is a daunting task, but there are several exciting solutions written in Rust, including Iced.

Read more
Zig-zagging stairs

Programming

Zig vs JavaScript

23/10/2023

How does the low-level but fast Zig compare to a high-level scripting language like JavaScript? I compare their usability, ease-of-use and performance.

Read more
A photo of the letters ‘SEO’

Website Content

Writing Content for SEO

23/10/2023

Of the billions of websites, how do you make sure yours appears high in search engine rankings? Explore how to write good content for your users and for Google.

Read more
A photo of Broch Mousa, a circular stone fort

History

Brochs: What Are They?

23/10/2023

Brochs are marvels of ancient engineering and durability. But, what makes their construction so impressive, and what was their original purpose?

Read more
A photo of an efficient stack of shipping containers—similar to how a memory allocator must efficiently distribute memory

Programming

How to create a custom memory allocator in Rust

23/10/2023

Speed and memory safety are hugely dependent on the memory allocator used. Learn how to create and set a custom allocator in Rust for your program’s needs.

Read more
Zig-zagging piano keys, focusing on C#

Programming

C# vs Zig

23/10/2023

Will Zig or C# help you to be more productive? Learn how they stack up in terms of usability, performance and overall performance.

Read more
The Bixby Creek Bridge

Programming

Cross compiling Rust and C with LLVM

15/08/2023

Cross-compiling Rust with C dependencies can be frustrating. Check out this blog post for the solutions I found for setting up toolchains, sysroots and more.

Read more
A photo of a phone open to shopify.com along with a printed Shopify book

Shopify

Making the most of your Shopify store

02/06/2023

Learn how to customize and make good use of your Shopify online store with themes, apps and custom storefronts.

Read more
A photo of a rusty door with a zigzag pattern

Programming

Rust vs Zig

13/03/2023

Rust and Zig are two fairly new, low-level and very fast programming languages that fill a similar niche. How do they compare to each other?

Read more
A simplified version of the code used in my optimized JSON parser

Programming

Optimizing a JSON parser in Zig

05/03/2023

Learn about how I wrote and optimized a JSON parser in the low-level programming language Zig, and sped it up from running in 13 seconds to 0.1.

Read more
A photo of RAM memory chips

Programming

Speeding up a Node.js server with a Rust addon

15/02/2023

Read about how I improved the performance and memory usage of a Node.js web app by using a Rust addon.

Read more
A photo of a sailboat with a tailwind

Programming

Styling with TailwindCSS

10/02/2023

TailwindCSS provides an intuitive and fast way to write your styles flexibly and responsively. Learn more about it in this blog post.

Read more
A screenshot of TypeScript source code for a secure Nuxt Image component

Cybersecurity

Securing Nuxt Images

07/02/2023

Security and usability are two of the most important things a website can have. Read about how I could do both by serving resized images securely.

Read more

© 2024 Broch Web Solutions. All rights reserved.