m_bitsnbites Profile Banner
m Profile
m

@m_bitsnbites

Followers
627
Following
1K
Media
142
Statuses
2K

Software/hardware developer (3D graphics, compression, audio/music, signal processing...). Creator of GLFW, BuildCache and MRISC32.

Sweden
Joined May 2011
Don't wanna be here? Send us removal request.
@m_bitsnbites
m
6 years
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). https://t.co/BfExWMPWSB #MRISC32 #CPU #VHDL #opensource
2
5
24
@m_bitsnbites
m
5 months
This weekend's hack: How long does it take to brute force a cryptographic key? https://t.co/GCk0swNBjw
0
0
1
@m_bitsnbites
m
2 years
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. 🤔
0
0
4
@m_bitsnbites
m
2 years
So far I like https://t.co/tACZ49mr8N - Free European Git hosting, with a familiar interface. #git #codeberg #foss
0
0
0
@m_bitsnbites
m
2 years
Smile of the day: Every error message should start with "dear friend". 🙂 Courtesy of https://t.co/qgnx4tnHGw
0
0
0
@ForrestTheWoods
Forrest Smith
2 years
One of the arguments against immediate mode UI is that it will drain your battery. I think that's bollocks! Here is my "proof of life" test to measure power draw. Preliminary result is that Dear ImGui consumes less power than YouTube. That feels like a fairbar to compare against
11
7
70
@m_bitsnbites
m
2 years
Fun fact: Even when compiled for MRISC32 and running in my (quite slow) CPU simulator, lsb2s is *STILL* faster at generating source code than xxd -include (running natively).
0
0
3
@m_bitsnbites
m
2 years
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!
Tweet card summary image
gitlab.com
Convert binary data to source code, at ludicrous speed!
1
1
9
@transmutrix
transmutrix
2 years
I am making the mistake of responding to this in earnest and, as a disclaimer, Twitter communication is hard, and it's easy to misread things. I assume the tweet is lighthearted, and I appreciate that. Nevertheless, in case it's sincere, I want to address it sincerely: Like most
@NoctreSharp
Noctre
2 years
@transmutrix Cniles will literally create this abomination rather then just using a language with OOP support
2
5
73
@m_bitsnbites
m
2 years
BuildCache just gained support for caching Rust builds 🥳 Contribution by Firefox developer @__farre__ 🙏 Get v0.29 and speed up your Rust builds: https://t.co/cjF8TEr1WP #rustlang @mozilla @firefox
Tweet card summary image
gitlab.com
An advanced build cache for speeding up build processes
0
0
0
@m_bitsnbites
m
2 years
@romero (BTW, it runs Quake too) https://t.co/aot7zFZpCx
1
3
25
@m_bitsnbites
m
2 years
Want to run #DOOM. Need something to run it on. ✔️ Develop new CPU ISA. ✔️ Write new GCC backend. ✔️ Implement CPU and VGA gfx in FPGA. ✔️ Write a minimal OS. ✔️ Port DOOM to the new CPU & platform. ✔️ Optimize rendering code. Now I can run DOOM 🤘 @romero #MRISC32 #FPGA
22
87
541
@samsoniuk
Marcelo Samsoniuk
2 years
wow! stop everything else now and look this amazing page about concurrency programming in C! 🙀 https://t.co/J65ZbHw9e3 thanks leo! 🍕
Tweet card summary image
tontinton.com
Wait, but how does async even work? (Animated)
0
4
24
@m_bitsnbites
m
2 years
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
0
3
@m_bitsnbites
m
2 years
The first V16 program in the world! Hand-assembled in a hex editor, disassembled with binutils, nothing to run it on, and it's a pretty meaningless program (the prologue/epilogue isn't even needed), but still 🥳 Forgot how cute 16-bit instructions look 😅 #CPU #ISA
0
3
28
@lemire
Daniel Lemire
2 years
Your operating system, your browser, your database engine, your web server, git, your JavaScript engine, your Python interpreter… all of these are likely written in C/C++. I repeatedly encourage people to learn many programming languages. I do not (at all) think that C or C++
@bmcnett
bmcnett
2 years
people here talking about how C/C++ is unsafe, no good, don't learn it Your browser was written in C. Your OS was written in C. AAA games are in C. game engines are in C. "safe" languages are (or were) in C. Your art tools, written in C. Audio tools, C.
94
225
3K
@samsoniuk
Marcelo Samsoniuk
2 years
wow! this is really gold! 🥇 https://t.co/1yWVhXphPZ
0
5
8
@m_bitsnbites
m
2 years
Trying a new ISA targeting the very low end (think AVR, Cortex M), but with a twist. Only at the concept level right now: https://t.co/X1NDWCBXOb Still not convinced about the 16-bit instruction encoding, but I'm fairly confident about the vector functionality.
Tweet card summary image
gitlab.com
A 32-bit microcontroller ISA with 16-bit fixed width instructions and vector operations
4
2
13