News for hackers. Stuff that matters.
Re:C++ proposal: There are 8 bits in a byte by MaulingMonkey on Thursday October 17, 2024 @07:50PM (#41874997)
Some people are still dealing with DSPs.

https://thephd.dev/conformance-should-mean-something-fputc-a...

Me? I just dabble with documenting an unimplemented "50% more bits per byte than the competition!" 12-bit fantasy console of my own invention - replete with inventions such as "UTF-12" - for shits and giggles.

Re:C++ proposal: There are 8 bits in a byte by PaulDavisThe1st on Thursday October 17, 2024 @08:13PM (#41875142)
no doubt you've got your brainfuck compiler hard at work on this ...
Re:C++ proposal: There are 8 bits in a byte by defrost on Thursday October 17, 2024 @10:05PM (#41875767)
TI DSP Assembler is pretty high level, it's "almost C" already.

Writing geophysical | military signal and image processing applications on custom DSP clusters is suprisingly straightforward and doesn't need C++.

It's a RISC architecture optimised for DSP | FFT | Array processing with the basic simplification that char text is for hosts, integers and floats are at least 32 bit and 32 bits (or 64) is the smallest addressable unit.

Fantastic architecture to work with for numerics, deep computational pipelines, once "primed" you push in raw aquisition samples in chunks every clock cycle and extract processed moving window data chunks every clock cycle.

A single ASM instruction in a cycle can accumulate totals from vector multiplication and modulo update indexes on three vectors (two inputs and and out).

Not your mama's brainfuck.

Re:C++ proposal: There are 8 bits in a byte by jeffbee on Thursday October 17, 2024 @07:54PM (#41875020)
They can just target C++23 or earlier, right? I have a small collection of SHARCs but I am not going to go crying to the committee if they make C++30 (or whatever) not support CHAR_BIT=32
Re:C++ proposal: There are 8 bits in a byte by jfbastien on Thursday October 17, 2024 @10:30PM (#41875875)
Yes, I'm trying to figure out which are still relevant and whether they target a modern C++, or intend to. I've been asking for a few years and haven't gotten positive answers. The only one that been brought up is TI, I added info in the updated draft: https://isocpp.org/files/papers/D3477R1.html
Re:C++ proposal: There are 8 bits in a byte by ndesaulniers on Friday October 18, 2024 @12:44AM (#41876413)
> and would benefit from C23’s _BigInt

s/_BigInt/_BitInt/

Re:C++ proposal: There are 8 bits in a byte by jfbastien on Friday October 18, 2024 @01:01AM (#41876489)
Dang, will fix when I get home! Thanks Nick, and hi!
Re:C++ proposal: There are 8 bits in a byte by ndesaulniers on Friday October 18, 2024 @09:12PM (#41884856)
Re:C++ proposal: There are 8 bits in a byte by Narishma on Sunday October 20, 2024 @12:09AM (#41892796)
Didn't the PDP-8 have 12-bit bytes?