---------------------------------------------------------------------------- The Florida SunFlash SunProgrammer Newsletter Vol 1 #1 (1 of 3) SunFLASH Vol 45 #9 September 1992 ---------------------------------------------------------------------------- This is the text from the SunPro newsletter, SunProgrammer. I divided it into three parts because of the limitations of some mail processing programs. 309 Part 1 571 Part 2 564 Part 3 1444 total lines Enjoy! -johnj ---------------------------------------------------------------------------- ********************************************************************** * * * COPYRIGHT NOTICE * * * * The copyright for this publication is held by Sun Microystems * * Inc. All rights reserved. No part of this publication can be * * reprinted, modified, or otherwise reproduced without permission * * from the publisher (David.Reim@Sun.Com). However, you are free * * to forward unmodified sections via Email as long as you also * * include this copyright notice. * * * * * ********************************************************************** SunProgrammer "The Newsletter for Professional Software Engineers" Winter 1992 Volume 1, Number 1 --------------------------------------------------------------------- CONTENTS ARTICLES Cover Story An exclusive look at SPARCworks 2.0, the next generation software development environment from SunPro. Introducing SunPro SunPro is a new business dedicated to providing products for professional programmers. Here's the SunPro strategy. OOP Languages Here's what you need to know to choose the right object-oriented programming language for your project. Performance Tuning Typical problems and their cures. FEATURES News Briefs Quality Matters: Code Reviews Suggested guidelines on implementing code reviews. The Friday Hack Qrgfwi-ing your workstation! Puzzle Dangling Pointers Anonymous Observations. ---------------------------------------------------------------------- SunProgrammer SunProgrammer is published quarterly by SunPro, a Sun Microsystems business. Editor: David Reim 2550 Garcia Avenue, MS 12-03 Mountain View, CA 94043 (415) 336-3151 david.reim@Eng.Sun.Com Contributing Editor: John Boutelle Design/Production: Laser Works, Inc. ---------------------------------------------------------------------- Dear Professional Software Developer: Welcome to the first issue of the SunProgrammer newsletter! Created by the staff of SunPro, a new Sun Microsystems, Inc. business, the goal of this newsletter mirrors our business strategy: to focus on the needs and concerns of the professional software developer. The SunProgrammer newsletter is one of several new ways we've developed to provide you with timely, pertinent and detailed information about products and issues facing today's professional programmers. If you'd like to continue to receive SunProgrammer free of charge, please send back the attached reply card and take advantage of this limited-time offer. In this premiere issue you can find out more about SunPro and its current product line -- which includes the SPARCompiler(TM) family of optimizing compilers and the SPARCworks(TM) family of integrated development tools for building applications in the Solaris(R) environment. Also in this issue you'll find a survey of object-oriented languages, along with tips from SunPro developers on how to create better applications. In addition, we'll give you an exclusive preview of our new SPARCworks Professional(TM) series of tools and compilers. We've even thrown in some fun and games. In the future you can expect to see more in-depth information about SunPro products and how best to use them, as well as news and technical information from our SunPro Partners. We'll also keep you abreast of the latest developments in the Solaris and SPARC(R) arenas. We plan to publish SunProgrammer quarterly and would greatly appreciate your feedback on this and all upcoming issues. We also welcome your ideas for future articles. Please mail back the attached card so we can continue to send you SunProgrammer, and feel free to contact me or our editorial staff with your comments. Enjoy! Jon Kannegaard Vice President and SunPro General Manager jon.kannegaard@eng.sun.com ------------------------------------------------------------------------- NEWS IN BRIEF "Sun Launches SunPro" On July 1, 1991, Sun Microsystems, Inc. formed SunPro, a new business focusing exclusively on the needs of professional programmers. SunPro develops, markets, and supports software products that are crucial to the development of computer applications. "Because of its inheritance from Sun Microsystems, SunPro is already the leading vendor of UNIX(R) development tools in the industry," said Scott McNealy, president and CEO of Sun Microsystems, Inc. For complete details on the formation and strategy of SunPro, see our feature article, "Introducing SunPro," on page 8. ---------------------------------------------------------------------- "Fast Delivery from SunExpress" Sun Microsystems has set up a new telemarketing channel, SunExpress(TM), to provide a fast, easy way to order Sun products. When you order through SunExpress, you can receive any of more than 500 products -- including the SunPro line of SPARCompilers and SPARCworks -- in five days or less. SunExpress offers convenient payment methods, including your company's purchase order, Visa, MasterCard, or American Express. Your company's pre-established corporate discount will be honored. To order your next compiler or programmer productivity tool quickly and conveniently, call SunExpress at 1-800-USA-4SUN. ------------------------------------------------------------------------ "SunPro to Port Developer Tools and Compilers to Intel" SunPro announced on September 23, 1991 that it will port versions of its SPARCompiler family of optimizing compilers and SPARCworks family of integrated development tools to Intel(R) 32-bit 80X86 platforms supporting the Solaris 2.0 distributed computing solution. As a result, a common development environment will be available on SPARC, the most popular workstation processor, and on Intel 80X86 platforms, the leading processors for personal computers. SunPro's announcement follows a similar announcement by SunSoft(R), a Sun subsidiary, for Solaris 2.0. "We've already solved many of the problems that PC-based tool vendors have only just begun to consider," said Jon Kannegaard, SunPro general manager. -------------------------------------------------------------------------- "New Runtime Library Policy Announced" This summer SunPro announced royalty-free distribution rights for the runtime libraries of their SPARCompiler C, C++, FORTRAN, and Pascal compilers. The new licensing terms for these products enable developers to ship the relevant runtime libraries free with their applications. This means that a developer does not have to rely on the assumed presence of libraries on the target machine. Instead the developer can place these libraries on their product's distribution tape -- for no additional cost. Each product's license lists the libraries that are eligible for runtime distribution. The new license agreement is being distributed in the SPARCompiler packaging or can be obtained by contacting your local SunPro distributor. ---------------------------------------------------------------------------- "Partners Program Initiates Charter Members SPARCworks Professional Series Endorsed by Key ISVs" SunPro has announced broad industry support of its newly-unveiled SPARCworks Professional series of software development products. Key ISVs have endorsed the products and become charter members of the SunPro Partners Program, which focuses on the development and delivery of complete solutions for the software developer. Developers who cover the range of CASE lifecycle solutions, including front-end design and analysis, implementation, testing and maintenance will work to integrate their products with the SPARCworks and SPARCompiler product families. These companies include Cadre, CaseWare, Interactive Development Environments (IDE), ProCASE, Saber, SunSoft, and Softool. "The support by these CASE ISVs will make it possible for a software developer to have a configurable, customer development solution for the entire software development lifecycle," said Paul Henderson, director of marketing for SunPro. ----------------------------------------------------------------------- "The SunPro Product Line: Tools to Make Your Life Easier" At SunPro, we speak your language, and we have some great tools to make your job simpler. SPARCompilers SPARCompilers, our suite of compilers that are optimized for SPARC, include language products to suit all your development needs. The SPARCompiler family includes: SPARCompiler C 1.1 -- Implements one of the most widely used languages on SPARC workstations. Fully compatible with the ANSI C language standard, SPARCompiler C offers you the best of both K&R and ANSI C. If you are still using the C compiler that came bundled with SunOS, it's time to upgrade to SPARCompiler C. SPARCompiler C++ 2.1 -- Brings the most popular object-oriented programming language to the SPARC platform. Based on the latest version of the AT&T standard, SPARCompiler C++ includes ANSI C facilities, debugging support including name demangling, and free class libraries. SPARCompiler FORTRAN 1.4 -- The choice for many scientific and engineering applications. SPARCompiler FORTRAN combines an ANSI FORTRAN 77 system with VAX/VMS and Cray FORTRAN extensions. This portability, combined with 10-15 percent performance improvement with each release, makes SPARCompiler FORTRAN one of our most popular compilers. SPARCompiler Ada 1.0 -- Complies with the ANSI/MIL-STD-1815A standard and has been validated by the Ada Joint Program Office. Features include SPARC optimization, fast compilation, and seamless integration with SPARCworks/Ada to provide the best ADA development platform. SPARCompiler COBOL 1.0 -- Brings the power of mainframe-level COBOL to the SPARC environment. Based on a distributed record- handling system, SPARCompiler COBOL takes advantage of the strengths of the workstation environment. Offering compatibility with more than 10 dialects, SPARCompiler COBOL makes it easy to port your code to a SPARC platform. SPARCompiler Pascal 2.1 -- An optimizing, feature-rich compiler for the widely-used Pascal structured language. In addition to conforming to the ISO Pascal standard, SPARCompiler Pascal offers language extensions compatible with many Pascal compilers, including HP/Apollo DOMAIN Pascal. SPARCworks SunPro recognizes the need for an integrated programming environment, so SPARCompiler products are supported by a premier set of programming tools to help you debug and analyze applications. SPARCworks -- A set of OPEN LOOK tools for SPARCompiler C, C++, FORTRAN, and Pascal. SPARCworks includes dbxtool, a symbolic debugger, and SourceBrowser, a tool for statically analyzing source code and program structure. SPARCworks Ada -- Provides a set of OPEN LOOK tools for the Ada developer. Includes a module and library manager, a syntax- sensitive editor, a symbolic debugger, and on-line documentation. SunPro ANIMATOR and FORMS-2 -- Allows interactive control, execution, and forms generation for the COBOL programmer. "At Your Door in Five Days!" SunExpress, the Sun telemarketing business, carries the complete line of SunPro products. You can order with a company purchase order or a major credit card. Your purchase will be delivered to your door in less than five days. To purchase a SunPro product or product upgrade, call SunExpress at 1-800-USA-4SUN. -----------------------------------------------------------------------