I can see some use of void* arithmetic for malloc/free or when you’re doing your own allocation for various object types, where a size of 1 would be handy.
I wonder what a FarC would like! > On May 15, 2022, at 11:27 PM, Skip Tavakkolian <skip.tavakkol...@gmail.com> > wrote: > > > If void can have a size, why not 4, 8 or 16? > > P.S. I discovered Gholami Rudi's work a little while ago. I was especially > intrigued by Farsi support in neatroff (intro in Farsi produced by Neatroff > and Neatpost: https://litcave.rudi.ir/neatfarsi.pdf > <https://litcave.rudi.ir/neatfarsi.pdf>) Cool stuff. > > > On Sun, May 15, 2022, 9:09 AM adr <a...@sdf.org <mailto:a...@sdf.org>> wrote: > In case someone is asking why this guy is suddenly so thoughtful > about void pointers, it is because I'm porting Ali Gholami Rudi's > neatroof, and he uses a lot of arithmetics with void* in neatmkfn. > I got rid of ape, and this troff looks really easy to port and has > a lot of features. I'll share it when it's working in case someone > is interested. > > ------------------------------------------ > 9fans: 9fans > Permalink: > https://9fans.topicbox.com/groups/9fans/Tecaea3b9ec8e7066-M683ed8fb049de7a5d4457cbf > > <https://9fans.topicbox.com/groups/9fans/Tecaea3b9ec8e7066-M683ed8fb049de7a5d4457cbf> > Delivery options: https://9fans.topicbox.com/groups/9fans/subscription > <https://9fans.topicbox.com/groups/9fans/subscription> > 9fans <https://9fans.topicbox.com/latest> / 9fans / see discussions > <https://9fans.topicbox.com/groups/9fans> + participants > <https://9fans.topicbox.com/groups/9fans/members> + delivery options > <https://9fans.topicbox.com/groups/9fans/subscription>Permalink > <https://9fans.topicbox.com/groups/9fans/Tecaea3b9ec8e7066-M9e20019333d1d1dbde3a2c3d> ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tecaea3b9ec8e7066-M5831ffd0a329bdcb8294ee6b Delivery options: https://9fans.topicbox.com/groups/9fans/subscription