Software/hardware developer (3D graphics, compression, audio/music, signal processing...). Creator of GLFW, BuildCache and MRISC32.
Sweden
Joined May 2011
- Tweets1.8K
- Following90
- Followers603
- Likes1.2K
Pinned Tweet
Happily running the MC1 #FPGA computer @ 120 MHz, after patching my broken DE0-CV board with a new oscillator via GPIO pins (off screen, wires to the right).
github.com/mrisc32/mc1
#MRISC32 #CPU #VHDL #opensource
Created another tool: Remote V4L recording (for Linux).
I needed to capture a video stream from my PS3, but the laptop that I could connect to the HDMI was too weak, so I had to stream the raw video+audio data over LAN to a more powerful computer.
codeberg.org/mbitsnbites/vid…
3
252
Latest hack: A spatial domain variable block size luma dependent chroma compression algorithm
bitsnbites.eu/a-spatial-doma…
#image #compression
4
196
This weekend's hack: How long does it take to brute force a cryptographic key?
bruteforce.bitsnbites.eu/
1
111
Why not change the Unix epoch to the big bang?
The number of seconds since the big bang fits comfortably in an unsigned 64-bit integer (only 59 bits are required, so far).
Caveat: All we have to do is to define the age of the universe with sub-second accuracy. 🤔
4
279
So far I like codeberg.org - Free European Git hosting, with a familiar interface.
#git #codeberg #foss
165
Smile of the day: Every error message should start with "dear friend". 🙂
Courtesy of codeberg.org/kenneth_stailey…
158
A very lengthy read about the state of memory safety in C/C++, but also very balanced and interesting, by John Viega:
#c #cplusplus #rust #memorysafety
medium.com/@john_25313/c-isn…
4
767
In anticipation of the C23 standard #embed, I couldn't help revisiting the age old covert-binary-data-to-source-code problem.
I came up with a ludicrous speed conversion tool (2 GB/s binary data conversion rate). Light speed is too slow!
Check it out! gitlab.com/mbitsnbites/lsb2s
BuildCache just gained support for caching Rust builds 🥳
Contribution by Firefox developer @__farre__ 🙏
Get v0.29 and speed up your Rust builds: gitlab.com/bits-n-bites/buil…
#rustlang @mozilla @firefox
214
(BTW, it runs Quake too)
vimeo.com/901506667
Came up with a working set of instructions for PC-relative calls and address calculations for my V16 ISA. +/-2MB range w two instructions (32 bits of code), and full 4GB range w three instructions. Also perfectly fusable. Struggling somewhat w aligned relocs in binutils/bfd.
1
3
417
Trying a new ISA targeting the very low end (think AVR, Cortex M), but with a twist. Only at the concept level right now: gitlab.com/mbitsnbites/v16
Still not convinced about the 16-bit instruction encoding, but I'm fairly confident about the vector functionality.
TIL: There's a browser called Ladybird - written entirely from scratch. Something I didn't think was possible (given the complexity of a browser).
Granted, it isn't feature complete and there are bugs, but IT WORKS! It's an astonishing feat! 🤯
awesomekling.github.io/Ladyb…
1
6
376
So FemtoRV by @BrunoLevy01 and SERV by @OlofKindgren are head to head for the "smallest RISC-V core", at 0.029mm2 in 65nm tech.
Those are seriously tiny cores🧐
Great work and article by @BitlogIT
bitlog.it/20220118_asic_roun…
Making some progress with porting Quake II to MC1.
First step was to refactor the build system & code to support static linking of the game & rendering modules. ✅
Next remove dependencies on SDL, mmap & network. ✅
Todo: MC1 gfx & input and a null sound driver. ⏳
4
864









