Programming

Broch Blog

Explore our posts about programming in Rust, TypeScript and other languages.

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

© 2024 Broch Web Solutions. All rights reserved.