Friday, December 4, 2015

Digest for comp.lang.c++@googlegroups.com - 2 updates in 2 topics

David Brown <david.brown@hesbynett.no>: Dec 04 10:39AM +0100

On 03/12/15 22:45, Vir Campestris wrote:
 
> We've got some little chips, so Thumb (Thumb2) is firmly on the radar.
> I've never had to decode it though. Jazelle I hadn't heard of, and I
> guess has been killed by precompiling the Java.
 
Thumb and Thumb2 are significantly different. Thumb supported only
16-bit instructions, with a number of serious limitations - on ARM's
with Thumb, you regularly had to switch between Thumb mode (for compact
code) to ARM mode (for fast code, interrupts, or more features).
 
Thumb2 has most common instructions in 16-bit format (with a fair
overlap with Thumb, but also plenty of differences), and 32-bit format
for other instructions. This means you get very close to full 32-bit
ARM ISA speed, but reduce code size by about a third. Newer devices
(Cortex) support Thumb2 - Thumb only exists on older devices. And
Cortex-M microcontrollers support /only/ Thumb2 - there is no "ARM" mode.
 
As for Jazelle, it was for accelerating Java, and was only marginally
successful. It has been dropped now - Cortex A devices have an
alternative ThumbEE mode. This is very like Thumb2, but with a few
instructions dropped (to free up instruction code space) and
instructions to support range checking, null pointer checks, etc. In
theory, this mode could be used in normal compilation too, but it is
primarily targeted at JIT execution environments (not just Java, but
also Python, dotnet, etc.)
Chris in Makati <mail@nospam.com>: Dec 04 11:22AM +0800

On Thu, 3 Dec 2015 09:16:32 +0000 (UTC), Juha Nieminen
>If they determine that it wasn't your fault, they will not punish the
>innocent.
 
>Besides, how would they even know what's in your computer?
 
If you do a Google search for <child porn arrested> you will find
literally thousands of cases where raids have taken place and people
have been found with this material on their computers.
 
In many of these cases the authorities have traced the IP addresses of
people whose computers have made connections to known sites that host
child porn. It's no use trying to claim that a bot you weren't aware
of downloaded it without your knowledge. If you could get off the hook
that easily everybody who was interested in the stuff would
deliberately install such a bot and use that as an excuse.
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to comp.lang.c+++unsubscribe@googlegroups.com.

No comments: