
16BPP.net: Blog / When Greedy Algorithms Can Be Faster
Jan 28, 2025 · Turning on compiler optimizations can seem like a no-brainer but I need to mention there are risks involved. You might get away with -O3, but -Ofast can be considered dangerous in some cases. I've worked in some environments (e.g. medical devices) where code was shipped with -O0 explicitly turned on as to ensure there no unexpected side effects from optimization.
16BPP.net: 日本語ベン強 / 「Caravan Palace - Rock It For Me」
ようこそ。ベンです。28さいです。2018年の2月から日本語勉強してます。今ボストンに住んでます。
16BPP.net: Blog / Addressing That Post About `final`
May 13, 2024 · Glad you addressed the comments on both platforms! But I agree with others here that some things were left unaddressed. When it comes to software performance, I live by the words "don't trust performance numbers you can't explain".Your measurements seem robust, but I think you went too far in assuming that the correlation between the final keyword and overall performance implies a causal ...
16BPP.net: Blog / Page 1
Jan 28, 2025 · Turning on compiler optimizations can seem like a no-brainer but I need to mention there are risks involved. You might get away with -O3, but -Ofast can be considered dangerous in some cases. I've worked in some environments (e.g. medical devices) where code was shipped with -O0 explicitly turned on as to ensure there no unexpected side effects from optimization.
16BPP.net: C# Networking / Preface
Preface. While there are resources out there to learn about C#'s networking capabilities, I had some issues with finding the information myself in some nicely organized and well written tutorials.
Hot Loading Code in Nim - 16BPP.net
Please note that this was written using v0.16.1 of the Nim compiler and on Ubuntu 16.04 Linux. I'm currently away from my OS X and Windows machines, so I couldn't test this there. Sorry about that.
16BPP.net: C# Networking / Ping
Ping. Have you ever used the ping utility in Linux, OS X, or Windows before? Well, that's what this is. I wanted to take a little bit more of a relaxed pace for this week and introduce you to the Ping class. Instead of having to write our own ICMP code, Microsoft was nice enough to provide us with this utility in the System.Net.NetworkInformation namespace.
16BPP.net: C# Networking / UDP File Transfer
Before Starting. This program will be separated into two parts. The Sender and the Receiver.The Sender will act as the server (of sorts) that will transfer the files to the Receivers.
16BPP.net: Blog / PSRayTracing, A revisit of the Peter Shirley ...
Update Feb. 21st, 2022: I recently added a Qt/QML based UI for PSRayTracing. It runs on Windows, Mac, Linux, Android, and iOS! Though if you have an Android device handy, you can grab it off of the Google Play store.
Making A Cross Platform Mobile & Desktop App with Qt 6.2
Feb 18, 2022 · There's a lot of gory details here that I don't want to go into. If you want to read the source code (or use it in your own project) it's available here It did take me a bit to figure what the correct hierarchy of controls needed to be. Because I also had some Buttons occupying the same area as a MouseArea, I needed to fiddle with the event propagation.