Re: C to Java Byte Code
Gerry Quinn wrote:
[color=blue]
> In article <10npbpmkjaqdqa 3@corp.supernew s.com>, nospam@nosite.z zz
> says...[color=green]
>> Mohd Hanafiah Abdullah wrote:[/color]
>[color=green][color=darkred]
>> >>> Also, old programs (with some tweaking) could be re-compiled and
>> >>> ported to the JVM.
>> >>
>> >>That's certainly an interesting idea.[/color]
>>
>> And it's false. If, as has been revealed, C programs that use byte
>> indexing and addressing have to be substantially rewritten to accommodate
>> this product, how does the above "tweaking" remark accurately describe
>> this requirement?[/color]
>
> As I understand it, this issue only affects incompetent programmers who
> write code that assumes that bytes have eight bits.[/color]
No, the original prohibition to which I refer was provided by Mr. Abdullah,
who said:
<cl7gbh$7th$1@h ood.uits.indian a.edu>
*************** *************** *************** ********
" ... programs that assume a byte-addressable architecture will need to be
modified to suit the one used by MPC."
*************** *************** *************** ********
Care to retract your argument now, or later?
[color=blue]
> The sort of
> programmers in whose code unions are "ubiquitous ".[/color]
If you think unions are the work of the devil, why not argue for their
removal in some other thread? But *not* *here*, it is not the topic.
Since unions are not supported in the product being discussed, their
ubiquity is not the issue, and your argument is just that, nothing more.
Also, the only "union" supported in the product is to make two or more
references to the same integer-sized variable (language provided by Mr.
Abdullah). Therefore, in point of fact, the product cannot map two
distinct, same-size entities onto one another, which is what a "union"
should be capable of doing. This means that Mr. Abdullah's claims in this
specific regard are, like so many others, not correct.
In any case, your argument fails because, no matter what misconceptions a
prorgammer brings to the table, and according to Mr. Abdullah as quoted
above, none of them will work on this product unless "byte" is strictly
defined as having the same size as a Java native integer, which violates
the same rule you are trying to use as an argument -- bytes can have many
different sizes. In this product this requirement is not met.
If you intend to argue without thinking, don't bother to post.
--
Paul Lutus
Gerry Quinn wrote:
[color=blue]
> In article <10npbpmkjaqdqa 3@corp.supernew s.com>, nospam@nosite.z zz
> says...[color=green]
>> Mohd Hanafiah Abdullah wrote:[/color]
>[color=green][color=darkred]
>> >>> Also, old programs (with some tweaking) could be re-compiled and
>> >>> ported to the JVM.
>> >>
>> >>That's certainly an interesting idea.[/color]
>>
>> And it's false. If, as has been revealed, C programs that use byte
>> indexing and addressing have to be substantially rewritten to accommodate
>> this product, how does the above "tweaking" remark accurately describe
>> this requirement?[/color]
>
> As I understand it, this issue only affects incompetent programmers who
> write code that assumes that bytes have eight bits.[/color]
No, the original prohibition to which I refer was provided by Mr. Abdullah,
who said:
<cl7gbh$7th$1@h ood.uits.indian a.edu>
*************** *************** *************** ********
" ... programs that assume a byte-addressable architecture will need to be
modified to suit the one used by MPC."
*************** *************** *************** ********
Care to retract your argument now, or later?
[color=blue]
> The sort of
> programmers in whose code unions are "ubiquitous ".[/color]
If you think unions are the work of the devil, why not argue for their
removal in some other thread? But *not* *here*, it is not the topic.
Since unions are not supported in the product being discussed, their
ubiquity is not the issue, and your argument is just that, nothing more.
Also, the only "union" supported in the product is to make two or more
references to the same integer-sized variable (language provided by Mr.
Abdullah). Therefore, in point of fact, the product cannot map two
distinct, same-size entities onto one another, which is what a "union"
should be capable of doing. This means that Mr. Abdullah's claims in this
specific regard are, like so many others, not correct.
In any case, your argument fails because, no matter what misconceptions a
prorgammer brings to the table, and according to Mr. Abdullah as quoted
above, none of them will work on this product unless "byte" is strictly
defined as having the same size as a Java native integer, which violates
the same rule you are trying to use as an argument -- bytes can have many
different sizes. In this product this requirement is not met.
If you intend to argue without thinking, don't bother to post.
--
Paul Lutus
Comment