View all newsletters
Receive our newsletter - data, insights and analysis delivered to you
  1. Technology
March 11, 1987

BORLAND CLAIMS FASTEST, SMALLEST OBJECT CODE FOR ITS TURBO C COMPILER

By CBR Staff Writer

The product is regrettably yet another piece of Borland vapourware with no firm delivery date yet set, but Borland International Inc reckons that its new Turbo C will be worth the wait (CI No 607). It claims that its high-speed Turbo C is the only optimising C compiler for microcomputers that provides end users with a choice of using either the integrated environment complete with built-in editor, compiler and linker; or a conventional-style command line interface. Turbo C provides a one-pass compiler, control of memory models and code optimisations. In benchmark tests, Borland claims that Turbo C generates the fastest, smallest object code of any C compiler. The compiler has a built-in Turbo Linker, also provided as a stand-alone program for use in the command line mode, and is a single-pass compiler that generates intermediate data structures in memory. In contrast, most C compilers are four- or five-pass compilers that compile using temporary files on disk. It compiles to memory at fast raw compile times exceeding 7,000 lines per minute on a 6MHz IBM AT and it supports six memory models: tiny, small, compact, medium, large, huge. Near pointers and far pointers are used as well as a fast linker like that implemented in Turbo Prolog. The Turbo linker is compatible with the PC-DOS linker and links approximately two to 10 times faster than the PC-DOS one, while it is about one-fifth the size. Turbo C features a built-in LINT for error checking for development and debugging, with support of ANSI prototypes. A range of compiler options are provided including inline assembler; multiple optimisation levels; generation of 80186/80286/8087 instructions; warning suppression; and multiple memory models. The Scotts Valley, California company claims that compiler optimisations include automatic register assignment and common sub-expression elimination. Turbo C implements the forthcoming ANSI C standard as far as it is defined, and delivers full support of Kernighan and Ritchie C. Special extensions for the Personal include the six memory models and extensions for mixed-language, mixed-model programming. The run operation within the integrated environment will recompile all necessary files, generate the executable code and run the program, then return back to the user interface. The editor window and the message window can be invoked within the editor; and the user can toggle between these windows. In the editor window, a full screen editor is provided with insert/overwrite, auto-indent, and block copy, move, read, write and delete along with other functions. In the message window, warnings and compiler error messages can be turned off selectively at different levels. Turbo C steps through multiple errors, and the interactive editor automatically positions the cursor in the source code at the point of error. Benchmarks quoted by Borland suggest that on a 6MHz AT, Turbo C is over four times as fast compiling, over three times as fast compiling and linking, and nearly twice as fast executing, as Microsoft’s C 4.0, while producing object code 7.7% more compact. Turbo C will cost $100.

Content from our partners
An evolving cybersecurity landscape calls for multi-layered defence strategies
Powering AI’s potential: turning promise into reality
Unlocking growth through hybrid cloud: 5 key takeaways

Websites in our network
Select and enter your corporate email address Tech Monitor's research, insight and analysis examines the frontiers of digital transformation to help tech leaders navigate the future. Our Changelog newsletter delivers our best work to your inbox every week.
  • CIO
  • CTO
  • CISO
  • CSO
  • CFO
  • CDO
  • CEO
  • Architect Founder
  • MD
  • Director
  • Manager
  • Other
Visit our privacy policy for more information about our services, how Progressive Media Investments may use, process and share your personal data, including information on your rights in respect of your personal data and how you can unsubscribe from future marketing communications. Our services are intended for corporate subscribers and you warrant that the email address submitted is your corporate email address.
THANK YOU