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

m

@m_bitsnbites

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

Pinned

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

m_bitsnbites's tweet image. 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
m_bitsnbites's tweet image. 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
m_bitsnbites's tweet image. 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
m_bitsnbites's tweet image. 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

This weekend's hack: How long does it take to brute force a cryptographic key? bruteforce.bitsnbites.eu


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. 🤔


So far I like codeberg.org - Free European Git hosting, with a familiar interface. #git #codeberg #foss


Smile of the day: Every error message should start with "dear friend". 🙂 Courtesy of codeberg.org/kenneth_staile…

m_bitsnbites's tweet image. Smile of the day: Every error message should start with "dear friend". 🙂

Courtesy of codeberg.org/kenneth_staile…

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-…


m reposted

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

ForrestTheWoods's tweet image. 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

m reposted

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…

Cniles will literally create this abomination rather then just using a language with OOP support



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/b… #rustlang @mozilla @firefox


m reposted

White house, Jensen Huang ... where are we going ?

BrunoLevy01's tweet image. White house, Jensen Huang ... where are we going ?

m reposted

wow! stop everything else now and look this amazing page about concurrency programming in C! 🙀 tontinton.com/posts/scheduli… thanks leo! 🍕


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.

m_bitsnbites's tweet image. 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.

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

m_bitsnbites's tweet image. 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

m reposted

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.



m reposted

wow! this is really gold! 🥇 bitsnbites.eu/three-fundamen…


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.


m reposted

#fpgafriday I do not have new FPGA hacks this week, but wrote a paper on @risc_v for @Blog_Binaire (in French), here: lemonde.fr/blog/binaire/2…


Loading...

Something went wrong.


Something went wrong.