EventChains is a design pattern for building sequential workflows with composable middleware. It combines the clarity of procedural programming, the composability of functional programming, and the flexibility of object-oriented design into a single, language-agnostic pattern that works across paradigms and platforms.
EventChains can be described as a pure implementation of Aspect-Oriented Programming that outperforms every AOP Framework in existence and keeping code clean, organized and easy to test.
https://t.co/DXCHObPTtM
https://t.co/uHB8U5Mq5W
https://t.co/V9lcrD4Cco
@WolRon@hippojuicefilm I remember old arcade machines having panels that protected the glass. Not only from dust but also drink and food spills as well as the occasional outburst.
@Gosleepriya The answer is 6.
PEDMAS / BODMAS
Multiplication has priority and is evaluated from left to right.
6* 6 = 36
36 * 0 = 0
6 + 0 = 6
You're welcome.
They can vibe code a SaaS, but that doesn't mean it solves real problems that people will pay money for. There is more to programming than simply writing the code.
Which is why the whole "AI Hate / Fear Mongering" bandwagon is so stupid to me. It takes the surface level arguments with none of the nuance that actually matters into account.
@wordgrammer I don't compare C, C++ or Rust. My current project is using C and Rust with a clear FFI boundary and I am loving it. It uses them where they shine and don't butt heads with one another.
This is the way it is supposed to be; analyze, find the strengths and use them responsibly.
So... I think I killed my Orange Pi RV2 last night.
With my custom OS, I was running memory allocation stress tests on the C code and one of my test locked itself into an infinite loop.
The CPU got SUPER hot and after 5 minutes I decided to unplug it to reset it.
After reboot, all I ever saw appear on UART was
U-Boot SPL 2022.10ky (Jan 07 2025 - 13:44:01 +0800) [ 0.219] DDR type LPDDR4X
@moonchild23580 I'd say that generalizations make for stupid people. And any woman that makes a generalization like this is objectively stupid to the nth degree and profoundly someone that I wouldn't want to associate with in any capacity.
@sorek_UK@davepl1968 I really prefer the syntax of C99 to any flavor of C++. So while there are zero cost abstractions with C++, there aren't really any items that would feel like a QOL improvement to me.
I just had an epiphany about Rust. Safe Rust is a conditional guarantee, not an absolute one. The condition is... The underlying system it runs on needs to be correct and sound, otherwise, your "safe" Rust code can exhibit undefined behavior that the borrow checker lets through.
@FrameworkPuter Hey Framework! How bout sending me a Framework? I could get tutorial-os running on it pretty easily!
https://t.co/ujptzHzZqE
https://t.co/6oNXt1A0vu
Totally fair, I only brought it up because it was a great example of what I meant that is universal and all developers understand the concept.
Mind you, I said all that and yet I am well known for not using libraries and building from scratch, which is a known cause of my self inflicted suffering.
Sure, those are important caveats to consider. However, in most modern architecture SIMD or SIMD-adjacent structures exist to be used.
Most modern languages have some form of ability to use assembly or SIMD instructions via FFI or inline assembly. Even JavaScript with Node.js and Python makes heavy use of this as well.
When it comes to the task, there are libraries that interop with the core system better than your hand written code as well. For instance, C#, go ahead and try to create your own list types with iteration capabilities and see if yours is faster than their implementation, chances are, your approach will be drastically slower.