Questions tagged [newspeak]

Newspeak is a highly dynamic and reflective language influenced by Smalltalk, Self, BETA, and others. It is class-based, dynamically typed, has no static state, nested classes.

Newspeak is a new programming language in the tradition of Self and Smalltalk. Newspeak is highly dynamic and reflective - but designed to support modularity and security. It supports both object-oriented and functional programming.

Newspeak

  • is message based, late bound (like Self)
  • has classes (like Smalltalk, unlike Self)
  • supports nested classes (like BETA)

With this design, features as modules, mixins, and object capability security fall out automatically.

There are plans to add pluggable types and actor-based concurrency.

Other resources:

6 questions
17
votes
3 answers

What is the difference between a Squeak/Pharo Trait and a Newspeak Mixin?

So Squeak/Pharo support Traits and Newspeak has Mixins. What is the difference? Traits have no instVars but Mixins have?
Richard Durr
  • 3,081
  • 3
  • 20
  • 26
10
votes
3 answers

Are there programming languages with no global variables?

Are there languages where the scope is defined in such a way that does not extend to the enclosed functions? In other words is there a language where a code like the following (Python-like syntax): >>> x = 3 >>> def fact(n): ... print x ... …
Muhammad Alkarouri
  • 23,884
  • 19
  • 66
  • 101
9
votes
3 answers

What's the difference of Squeak/Pharo/Newspeak Smalltalk VMs?

I saw 3 different VMs while learning about Smalltalk. They are Squeak/Pharo/Newspeak. What's the difference between them?
eonil
  • 83,476
  • 81
  • 317
  • 516
9
votes
2 answers

Getting started with Newspeak

What are the good resources for Newspeak programming language?
Chandra Patni
  • 17,347
  • 10
  • 55
  • 65
4
votes
1 answer

In Hopscotch, how do you find the senders of a message?

In Newspeak's IDE, Hopscotch, what is the equivalent to Smalltalk's alt-n, which shows you all senders of a message?
nes1983
  • 15,209
  • 4
  • 44
  • 64
2
votes
1 answer

newspeak mixin example

I've read the Newspeak on Squeak tutorial, but I could not find information or examples on mixins. It must be quite trivial, as any class is also a mixin, but could you give me an example? (or a link) The forum seems to be down at the moment, so I…
mrsteve
  • 4,082
  • 1
  • 26
  • 63