Newspeak (programming language)
|Designed by||Gilad Bracha|
|Developer||Gilad Bracha, Peter von der Ahé, Vassili Bykov, Yaron Kashai, Ryan Macnak, William Maddox, Eliot Miranda|
Prototype / February 2013
|Typing discipline||dynamic, optional|
|Smalltalk, Self, BETA, Nineteen Eighty-Four|
Newspeak is a programming language and platform in the tradition of Smalltalk and Self being developed by a team led by Gilad Bracha. The platform includes an IDE, a GUI library, and standard libraries. Starting in 2006, Cadence Design Systems funded its development and employed the main contributors, but ceased funding in January 2009.
Newspeak is a class based language. Classes may be nested, as in BETA. This is one of the key differences between Newspeak and Smalltalk. All names in Newspeak are late-bound, and are interpreted as message sends, as in Self.
Newspeak is distinguished by its unusual approach to modularity. The language has no global namespace. Top level classes act as module declarations. Module declarations are first class values (i.e., they may be stored in variables, passed as parameters, returned from methods, etc.) and are stateless.
The name "Newspeak" is inspired by George Orwell's newspeak appearing in the novel Nineteen Eighty-Four. The heading on the programming language's website says "It's doubleplusgood". The motivation for the name is that Orwell's Newspeak language grew smaller with every revision; Bracha views this as a desirable goal for a programming language.
The language icon is supposed to be Big Brother's eye, as seen in page 3 of the documentation.
It should not be confused with the safety critical programming language of the same name designed by Ian Currie of RSRE in 1984 for use with the VIPER microprocessor. Its principal characteristic was that all exceptional behaviour in programs must be dealt with at compile time.
"Hello World" example
Here is the classic Hello world program :
HelloBraveNewWorld usingPlatform: platform = ( platform Transcript open show: 'Hello, Oh Brave new world'. )
- Gilad Bracha, Peter Ahe, Vassil Bykov, Yaron Kashai and Eliot Miranda. The Newspeak Programming Platform.
- Bracha, Gilad (2008-11-24). "Room 101: We have Good news, and we have Bad news". Room 101: A place to be (re)educated in Newspeak. Google Blogger. Retrieved 2009-09-21.
- Gilad Bracha, Peter Ahe, Vassili Bykov, Yaron Kashai, William Maddox and Eliot Miranda. Modules as Objects in Newspeak. In the Proceedings of the 24th European Conference on Object Oriented Programming, Maribor, Slovenia, June 21–25, 2010.
- Software Engineering Radio Episode 140: Newspeak and Pluggable Types With Gilad Bracha/
- Currie, I.F. (July 1986). "NewSpeak: an unexceptional language". Software Engineering Journal. 1 (4): 170–176. ISSN 0268-6961. Retrieved 24 June 2017.
- "VLSI Specification, Verification and Synthesis, p.16".
|This programming-language-related article is a stub. You can help Wikipedia by expanding it.|