Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
As for the cpu thing, I think it's because of my dependency on pixels/wgpu. This line blocks for 16ms (60Hz) on Mac even though v-sync is disabled in the code, which causes some keyboard events to be missed and the emulator clock cycle to become much slower than 500Hz. I haven't found a related issue on GitHub for this, so it's entirely possible I'm just missing something here. On Windows it runs fine, but I was hoping I could get it working on my Mac also.
I did the same thing last year! It was a fun project. I run mine on a Mac, and I haven't seen the CPU problems you mentioned; at least, I don't think I have. Here's my code, if you want to take a look, and see if anything jumps out at you. https://github.com/joeygibson/chip-8
Related posts
- Ask HN: Any tool for managing large and variable command lines?
- Show HN: I made a project template generator/loader
- Skipdb: Embedded, in-memory, zero-copy, ACID, serializable database engine
- Faer-rs: Linear algebra foundation for the Rust programming language
- Boost Your Code's Efficiency: Introducing Semantic Cache with Qdrant