Jump to content

Talk:Oak (programming language)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Integer values four bytes

[edit]

I have removed the following statement:

Integer values were always stored on 4 bytes, regardless of the type. This changed in Java 1.4.

It has always been the case that the Java int type is 4 bytes in size, and long is 8 bytes. Java 1.4 didn't change this. If there is a grain of truth in the statement, I don't know what it is and it was poorly expressed.

Paul Foxworthy (talk) 03:37, 5 November 2009 (UTC)[reply]

I think it was about the short and byte types. I changed to text to reflect that. Hervegirod (talk) 15:46, 2 October 2010 (UTC)[reply]
It is a very long time ago, but I just stumbled on the Oak spec (it's in the ps at the end of the article for example) which says: "A variable’s type does not directly affect its storage allocation. Type only determines the variable’s arithmetic properties and legal range of values. If a value is assigned to a variable that is outside the legal range of the variable, the value is reduced modulo the range". But probably the storage versus the data type was changed since the beginning of Java 1.0, and not for 1.4? What is funny is that the group which developed Java was in a Sun subsidiary called "First Person Inc." It might be interesting to put this information in the Java_(software_platform)#History article. Hervegirod (talk) 22:32, 30 May 2020 (UTC)[reply]
[edit]

Hello fellow Wikipedians,

I have just added archive links to one external link on Oak (programming language). Please take a moment to review my edit. You may add {{cbignore}} after the link to keep me from modifying it, if I keep adding bad data, but formatting bugs should be reported instead. Alternatively, you can add {{nobots|deny=InternetArchiveBot}} to keep me off the page altogether, but should be used as a last resort. I made the following changes:

When you have finished reviewing my changes, please set the checked parameter below to true or failed to let others know (documentation at {{Sourcecheck}}).

This message was posted before February 2018. After February 2018, "External links modified" talk page sections are no longer generated or monitored by InternetArchiveBot. No special action is required regarding these talk page notices, other than regular verification using the archive tool instructions below. Editors have permission to delete these "External links modified" talk page sections if they want to de-clutter talk pages, but see the RfC before doing mass systematic removals. This message is updated dynamically through the template {{source check}} (last update: 5 June 2024).

  • If you have discovered URLs which were erroneously considered dead by the bot, you can report them with this tool.
  • If you found an error with any archives or the URLs themselves, you can fix them with this tool.

Cheers.—cyberbot IITalk to my owner:Online 03:13, 31 March 2016 (UTC)[reply]