@phaedo777 Profile picture

phædo (e/macs)

@phaedo777

premature optimization is the root of all evil

Joined May 2024
Pinned

Many of you asked for Windows support for my emulator project, so I've spent the last couple of hours setting it up. Emulator now verifiably runs on Windows, MacOS, and Linux. Installation instructions are in the replies for anyone interested.

Tweet Image 1

Perfectionism: is it good or bad?


This is what programming for work and as a hobby feels like. "Tired of working on bad program, can't wait to get home and work on good program."

Tweet Image 1

Figured out disassembly of NES ROMs, I'm doing it in two passes: first pass resolves instruction attributes (opcode vs operand, addressing mode, etc.), second pass generates text. This allows me to generate labels for jump/branch instructions. No way to do that if the…

Tweet Image 1

Shout out to all my Eurobros, this Thanksgiving we're all on government-mandated data preprocessing duty

Tweet Image 1

What is it about dynamically typed, high-level, low performance programming languages that makes them so popular?


phædo (e/macs) Reposted

Implemented a *simplest* UDP-based Chatroom in just <400 lines of C++ codes. As we can see, multi-users can sign up, sign in with auth and post messages, and sign out. The status management was done by connection contexts. Here TCP was not used. Code: github.com/zhenrong-wang/…

Tweet Image 2
Tweet Image 3
Tweet Image 4

no unit tests in C. if it compiles, it works.


Nintendo Power Line employee answers a caller's question on the Legend of Zelda, 1990. "I was wondering how you go about getting the white sword?"


What is bank switching? Bank switching was used in older systems when small address ranges prohibited all circuits from being accessed simultaneously. Bank switching allowed games like Zelda to access additional memory by dynamically selecting which memory circuit to use.


Anyone know what the bottleneck to Manim rendering is? I'd love to see something like the Manim library written in Haskell (the Python version is very close to being functional already), but I'm wondering whether it would actually have any noticeable benefit.


What is stack overflow? Made a video explaining stack overflow with an example implementation in x86 assembly. Stack overflow is a runtime error caused by excessive use of the call stack, typically from infinite recursion or allocating too much stack memory.


You mean like this?

Tweet Image 1

please use types in the backend



A monad in X is just a monoid in the category of endofunctors of X, with product × replaced by composition of endofunctors and unit set by the identity endofunctor. What’s the problem?

What to know as beginner in coding pls



United States Trends
Loading...

Something went wrong.


Something went wrong.