The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Moving to ObjectStudio 8

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
Moving to ObjectStudio 8 Posted: Dec 5, 2006 2:03 PM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Moving to ObjectStudio 8
Feed Title: Cincom Smalltalk Blog - Smalltalk with Rants
Feed URL: http://www.cincomsmalltalk.com/rssBlog/rssBlogView.xml
Feed Description: James Robertson comments on Cincom Smalltalk, the Smalltalk development community, and IT trends and issues in general.
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Cincom Smalltalk Blog - Smalltalk with Rants

Advertisement

This is Andreas Hiltner and Mark Grinnell going over how you approach a migration from OST classic to ObjectStudio 8. Some limitations:

  • ObjectStudio allows "- 500" as a message - that's not supported
  • For backwards compatibility, method parameters can be overwritten. VW typically does not allow that.
  • Global Variables are now SharedVariables defined in the ObjectStudio namespace.
  • The ObjectStudio 8 compiler does not allow duplicate names between instance and class instance variables
  • Immutability: literals cannot be changed at runtime (however note: in the Parcels directory, there's a backwards compatibility parcel).
  • All loaded ObjectStudio code will end up in the ObjectStudio namespace (and, you need to descend from those classes in order to get the ObjectStudio Smalltalk compiler)
  • If you subclass collections, you need to implement the instance method #copyEmpty: in order to copy any new instance variables you want to preserve.
  • Note the #at: and #at:put: have different return semantics between OS and VW. The OS semantics have been preserved in the OS8 classes.
  • Note that #whileTrue: now returns nil, and #whileFalse: also returns nil. In classic OS, they had returned true and false (respectively)
  • The new Date class only allows valid dates (it raises an exception on errors). Also, month names are now case sensitive.
  • Processes: Classic OS uses native threads for Smalltalk processes. In OS 8, these are all green threads (eliminates a host of synchronization issues). The ThreadBrowser has been replaced by the ProcessMonitor.
  • SendHooks don't exist - MethodWrappers are the VW version of that.
  • Breakpoints do not have much overhead any longer.
  • User written primitives: you may well have to make some modifications to these - we provide an example makefile showing what you need to do.
  • Nil (with the capital) is now a special instance of OPTR. Any pointer should be checked against Nil, not NULL or 0 (zero)
  • SQL Server: The old db-lib interface has been deprecated - the interface now uses ODBC.

Read: Moving to ObjectStudio 8

Topic: TDD course, seats left Previous Topic   Next Topic Topic: DSL talk video

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use