Archives
 
 
 
  Special
 
 
 
  About Us
 
 
 

Newsletter
Free E-mail Newsletter from BYTE.com

 
    
           
Visit the home page Browse the four-year online archive Download platform-neutral CPU/FPU benchmarks Find information for advertisers, authors, vendors, subscribers Request free information on products written about or advertised in BYTE Submit a press release, or scan recent announcements Talk with BYTE's staff and readers about products and technologies

Articles64 Bits of BASIC


July 1995 / News & Views / 64 Bits of BASIC
Rick Grehan

Years ago, as the C programming language gained momentum on microcomputers, I'd have sworn that BASIC would be swept aside. I have never been more wrong; the success of Visual Basic has seen to that. Now comes XBasic, from Basmark (Cleveland, OH (216) 871-8855; fax, (216) 871-9011).

XBasic is a cross-platform compiler with a full-blown graphical integrated development environment (editor, debugger, and GUI-builder) that boasts -- among other things -- of being a 32/64-bit implementation of BASIC. It claims "64-bit-ness" thanks to its GIANT and XLONG data types. The former is a true 64-bit integer. The latter is a "machine-dependent" 64-bit integer (e.g., XLONGs are 32 bits on 32-bit machines, and 64 bits on 64-bit machines). Currently, XBasic runs on Intel CPUs only. Basmark claims future releases for PowerPC, RS6000, SPARC, and Alpha versions, where 64-bit data types can be handled natively will be released later in 1995.

XBasic's platform independence is obvious, even with a casual glance. I experimented with XBasic on Windows for Workgroups 3.11 (Basmark has versions for Window 95, Window NT, OS/2 Warp, and 386 Unix), and none of the buttons, scroll bars, and fonts looked like Windows components. Still, I had no trouble navigating the development environment.

XBasic's GUI Designer is as good as any visual development tool I've seen. Click on a toolbar and up pops an empty window. With a few clicks and drags, you populate the window with buttons and scroll bars; then click another toolbar button, and XBasic pours into your program the source code template for initializing and drawing your window. This code amounts to a callback function, and it includes empty CASE statements corresponding to the window's widgets, including buttons, scroll bars, and others. Flesh out the CASE statements with code, and you can have a working program up and running in a matter of minutes.

Though XBasic is a compiler, the system's rapid compile cycles and integrated debugger give you all the benefits of an interpreted environment. You can build stand-alone executables, and as proof of this the engineers at Basmark told me that XBasic is--get this--written in itself.

I won't kid you: XBasic still has some rattles that need tightening. The latest release notes admit that there are "memory leaks" in the Windows version of the package. (Basmark says a version that fixes the memory leak should be available by mid-1995.) If you keep XBasic open too long, you have to shut down Windows and restart to get the memory back. XBasic doesn't currently support OLE controls or 16-bit VBXes. However, company officials say the ability to host OLE controls may be added later this year.

Still, XBasic brims over with potential. The Professional Edition (which I tested) is $249 for one user. If working with the GUI Designer is any indicat ion of XBasic's capabilities, this should make for a powerful programming package.


XBasic Accessory Goes with Everything

screen_link (58 Kbytes)

Basmark's XBasic support for 64-bit integers and potential portability to CPUs other than x86-compatible processors is intriguing, but the Windows version needs fine tuning.


Up to the News & Views section contentsGo to previous article: Best Of Comdex FinalistsGo to next article: One Step Back for IntegrationSearchSend a comment on this articleSubscribe to BYTE or BYTE on CD-ROM  
Flexible C++
Matthew Wilson
My approach to software engineering is far more pragmatic than it is theoretical--and no language better exemplifies this than C++.

more...

BYTE Digest

BYTE Digest editors every month analyze and evaluate the best articles from Information Week, EE Times, Dr. Dobb's Journal, Network Computing, Sys Admin, and dozens of other CMP publications—bringing you critical news and information about wireless communication, computer security, software development, embedded systems, and more!

Find out more

BYTE.com Store

BYTE CD-ROM
NOW, on one CD-ROM, you can instantly access more than 8 years of BYTE.
 
The Best of BYTE Volume 1: Programming Languages
The Best of BYTE
Volume 1: Programming Languages
In this issue of Best of BYTE, we bring together some of the leading programming language designers and implementors...

Copyright © 2005 CMP Media LLC, Privacy Policy, Your California Privacy rights, Terms of Service
Site comments: webmaster@byte.com
SDMG Web Sites: BYTE.com, C/C++ Users Journal, Dr. Dobb's Journal, MSDN Magazine, New Architect, SD Expo, SD Magazine, Sys Admin, The Perl Journal, UnixReview.com, Windows Developer Network