Re: Formal Semantics of the Java "new" Operator
From: Kent Paul Dolan (xanthian_at_well.com)
Date: 04/30/04
- Next message: Gregory L. Hansen: "Re: Are there any non-gifted scientists?!?!?"
- Previous message: Kent Paul Dolan: "Re: Are there any non-gifted scientists?!?!?"
- Next in thread: Lauri Alanko: "Re: Formal Semantics of the Java "new" Operator"
- Maybe reply: Lauri Alanko: "Re: Formal Semantics of the Java "new" Operator"
- Maybe reply: Paul E. Black: "Re: Formal Semantics of the Java "new" Operator"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 30 Apr 2004 00:52:52 +0000 (UTC)
"Mattias Wikstr?m" <mattias_wikst71@hotmail.com> wrote:
> I am interested in approaches to formally describing what the Java
> "new" operator does. I have not been able to find any books that cover
> this subject, though I am sure there must be.
> What has caught my attention about the "new" operator is that it
> returns a new object each time it is called. I do not see how to model
> this, because mathematics is static -- at least by the traditional
> conception -- and has no room for the creation of new things.
You have some things really muddled in your mind.
Math returns _lots_ of new things; 4 = 2 + 2 returns a new thing, a
sum, given two old things, an augend and an addend.
The Java _new_ operator is an implementation detail of computer
memory storage management, completely independent of mathematics.
Math doesn't _have_ issues of storage mangement, because math
isn't a physical science that stores things.
Math _is_ used in _analyzing_ issues in physical sciences that have
requirements for managing units of storage correctly and efficiently.
xanthian.
-- Posted via Mailgate.ORG Server - http://www.Mailgate.ORG
- Next message: Gregory L. Hansen: "Re: Are there any non-gifted scientists?!?!?"
- Previous message: Kent Paul Dolan: "Re: Are there any non-gifted scientists?!?!?"
- Next in thread: Lauri Alanko: "Re: Formal Semantics of the Java "new" Operator"
- Maybe reply: Lauri Alanko: "Re: Formal Semantics of the Java "new" Operator"
- Maybe reply: Paul E. Black: "Re: Formal Semantics of the Java "new" Operator"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|