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
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
This weekend's hack: How long does it take to brute force a cryptographic key? https://t.co/GCk0swNBjw
0
0
1
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
So far I like https://t.co/tACZ49mr8N - Free European Git hosting, with a familiar interface. #git #codeberg #foss
0
0
0
Smile of the day: Every error message should start with "dear friend". 🙂 Courtesy of https://t.co/qgnx4tnHGw
0
0
0
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
https://t.co/tc5lwaEoqQ
medium.com
A few weeks ago, I got a bit miffed reading yet another article that was too dismissive about memory safety, basically being mostly…
0
1
4
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
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
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
Convert binary data to source code, at ludicrous speed!
1
1
9
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
@transmutrix Cniles will literally create this abomination rather then just using a language with OOP support
2
5
73
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
gitlab.com
An advanced build cache for speeding up build processes
0
0
0
wow! stop everything else now and look this amazing page about concurrency programming in C! 🙀 https://t.co/J65ZbHw9e3 thanks leo! 🍕
tontinton.com
Wait, but how does async even work? (Animated)
0
4
24
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
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++
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
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.
gitlab.com
A 32-bit microcontroller ISA with 16-bit fixed width instructions and vector operations
4
2
13