Re:C Portability Lessons from Weird Machines
by romed on Thursday November 15, 2018 @11:19PM
(#18466363)
DSPs are pretty good discriminators for supposed-portable code. On SHARC for example everything is 32-bits wide (except long double, which is 64). Chars are 32 bits. Bytes are 32 bits. That is, int is 32 bits and sizeof(int) == 1. I imagine that porting Java, where byte is defined as an octet, to this architecture must be a chore.
[ Parent
| on HN ]
Re:C Portability Lessons from Weird Machines
by raverbashing on Friday November 16, 2018 @02:35AM
(#18467186)
Yeah, people won't port java to DSPs. There's no point in doing that
Re:C Portability Lessons from Weird Machines
by gpderetta on Friday November 16, 2018 @05:33AM
(#18467833)
Doens't Java runs pretty much everywhere, including smartcards?
Re:C Portability Lessons from Weird Machines
by wolf550e on Friday November 16, 2018 @09:03AM
(#18468767)
Not really Java: https://en.wikipedia.org/wiki/Java_Card#Design