Technology for the Long Term
On June 23 we celebrate the30th anniversary of the launchofMathematica.Most software from 30 years ago is now long gone.But not Mathematica.In fact,it feels in many ways like even after 30 years,we're really just getting started.Our missionhas always been a big one: to make the world as computable as possible,and to add a layer of 金宝博188投注computational intelligence to everything.
Our first big application area was math (hence the name "Mathematica").And we've kept pushing the frontiers of what's possible with math.But over the past 30 years,we've been able to build on the framework that we defined inMathematica 1.0to create the whole edifice of 金宝博188投注computational capabilities that we now call theWolfram Language—and that corresponds to Mathematica as it is today.
From when I first began to design Mathematica,my goal was to create a system that would stand the test of time,and would provide the foundation to fill out my vision for the future of computation.It's exciting to see how well it's all worked out.My originalcore concepts of language designcontinue to infuse everything we do.And over the years we've been able to just keep building and building on what's already there,to create a taller and taller tower of carefully integrated capabilities.
It's fun today to launch Mathematica 1.0 on an old computer,and compare it with today:
Yes,even in Version 1,there's a recognizableWolfram Notebookto be seen.But what about the Mathematica code (or,as we would call it today,Wolfram Languagecode)?好吧,the code that ran in 1988 just runs today,exactly the same!And,actually,I routinely take code I wrote at any time over the past 30 years and just run it.
Of course,it's taken a lot of long-term discipline in language design to make this work.And without the strength and clarity of the original design it would never have been possible.But it's nice to see thatall that daily effortI've put into leadership and consistent language design has paid off so well in long-term stability over the course of 30 years.
It's Grown So Much
Back in 1988,Mathematica was a big step forwardin high-level computing,and people were amazed at how much it could do.But it's absolutely nothing compared to what Mathematica and the Wolfram Language can do today.And as one way to see this,here's how thedifferent major areas of functionalityhave "lit up"between 1988 and today:
There were551 built-in functions in 1988;there are now more than 5100.And the expectations for each function have vastly increased too.The concept of "superfunctions"that automate a swath of algorithmic capability already existed in 1988—but their capabilities pale in comparison to our modern superfunctions.
Back in 1988 the core ideas of symbolic expressions and symbolic programming were already there,working essentially as they do today.And there were also all sorts of functions related to mathematical computation,as well as to things like basic visualization.But in subsequent years we were able to conquer area after area.
Partly it's been the growth of raw computer power that's made new areas possible.And partly it's been our ability to understand what could conceivably be done.But the most important thing has been that—through the integrated design of our system—we've been able to progressively build on what we've already done to reach one new area after another,at an accelerating pace.(Here's a plot of function count by version.)
I recently found a to-do list I wrote in 1991—and I'm happy to say that now,in 2018,essentially everything on it has been successfully completed.But in many cases it took building a whole tower of capabilities—over a large number of years—to be able to achieve what I wanted.
From the very beginning—and even fromprojects of mine that preceded Mathematica—I had the goal of building as much knowledge as possible into the system.At the beginning the knowledge was mostly algorithmic,and formal.But as soon we could routinely expect network connectivity to central servers,we started building in earnest what's now ourimmense knowledgebaseof computable data about the real world.
Back in 1988,I could document pretty much everything about Mathematica in the750-page book I wrote.Today if we were to print out theonline documentationit would take perhaps 36,000 pages.The core concepts of the system remain as simple and clear as they ever were,though—so it's still perfectly possible to capture them even in asmall book.
How the World Has Changed
Thirty years is basically half the complete history of modern digital computing.And it's remarkable—and very satisfying—that Mathematica and the Wolfram Language have had the strength not only to persist,but to retain their whole form and structure,across all that time.
Thirty years ago Mathematica (all 2.2 megabytes of it) came in boxes available at "neighborhood software stores",and was distributed on collections of floppy disks (or,for larger computers,on various kinds of magnetic tapes).Today one just downloads it anytime (about 4 gigabytes),accessing its knowledgebase (many terabytes) online—or one just runs the whole system directly in theWolfram Cloud,through a web browser.(In a curious footnote to history,the web was actually invented back in 1989 on a collection of NeXT computers that had been bought to run Mathematica.)
Thirty years ago there were "workstation class computers"that ran Mathematica,but were pretty much only owned by institutions.In 1988,PCs used MS-DOS,and were limited to 640K of working memory—which wasn't enough to run Mathematica.The Mac could run Mathematica,but it was always a tight fit ("2.5 megabytes of memory required;4 megabytes recommended")—and in the footer of every notebook was a memory gauge that showed you how close you were to running out of memory.Oh,yes,and there were two versions of Mathematica,depending on whether or not your machine had a "numeric coprocessor"(which let it do floating-point arithmetic in hardware rather than in software).
Back in 1988,I had got my first cellphone—which was the size of a shoe.And the idea that something like Mathematica could "run on a phone"would have seemed preposterous.But here we are today with theWolfram Cloud appon phones,和Wolfram Player running natively on iPads(and,yes,they don't have virtual memory,so our tradition of tight memory management from back in the old days comes in very handy).
In 1988,computers that ran Mathematica were always things you plugged into a power outlet to use.And the notion of,for example,using Mathematica on a plane was basically inconceivable (well,OK,even in 1981 when I lugged my Osborne 1 computer running CP/M onto a plane,I did find one power outlet for it at the very back of a 747).It wasn't until 1991 that I first proudly held up at a talk a Compaq laptop that was (creakily) running Mathematica off batteries—and it wasn't routine to run Mathematica portably for perhaps another decade.
For years I used to use1989^1989as my test computation when I tried Mathematica on a new machine.And in 1989 I would usually be counting the seconds waiting for the computation to be finished.(1988^1988was usually too slow to be useful back in 1988: it could take minutes to return.) Today,of course,the same computation is instantaneous.(Actually,a few years ago,I did the computation again on the firstRaspberry Pi computer—and it again took several seconds.But that was a $25 computer.And now even it runs the computation very fast.)
The increase in computer speed over the years has had not only quantitative but also qualitative effects on what we've been able to do.Back in 1988 one basically did a computation and then looked at the result.We talked about being able to interact with a Mathematica computation in real time (and there was actually a demo on the NeXT computer that did a simple case of this even in 1989).But it basically took 18 years before computers were routinely fast enough that we could implementManipulate和Dynamic—with "Mathematica in the loop".
I considered graphics and visualization an important feature of Mathematica from the very beginning.Back then there were "paint"(bitmap) programs,and there were "draw"(vector) programs.We made the decision to use the then-new PostScript language to represent all our graphics output resolution-independently.
We had all sorts of 金宝博188投注computational geometry challenges (think of all those little shattered polygons),but even back in 1988 we were able to generate resolution-independent 3D graphics,and in preparing for the original launch of Mathematica we found the "most complicated 3D graphic we could easily generate",and ended up with the original icosahedral "spikey"—which has evolved today into ourrhombic hexecontahedron logo:
In a sign of a bygone software era,the original Spikey also graced the elegant,but whimsical,Mathematica startup screen on the Mac:
Back in 1988,there were command-line interfaces (like the Unix shell),and there were word processors (like WordPerfect).But it was a new idea to have "notebooks"(as we called them) that mixed text,input and output—as well as graphics,which more usually were generated in a separate window or even on a separate screen.
Even in Mathematica 1.0,many of the familiar features of today's Wolfram Notebooks were already present: cells,cell groups,style mechanisms,and more.There was even the same doubled-cell-bracket evaluation indicator—though in those days longer rendering times meant there needed to be more "entertainment",which Mathematica provided in the form of a bouncing-string-figure wait cursor that was computed in real time during the vertical retrace interrupt associated with refreshing the CRT display.
In what would now be standard good software architecture,Mathematica from the very beginning was always divided into two parts: a kernel doing computations,and a front end supporting the notebook interface.The two parts communicated through the MathLink protocol (still used today,but now calledWSTP) that in a very modern way basically sent symbolic expressions back and forth.
Back in 1988—with computers like Macs straining to run Mathematica—it was common to run the front end on a local desktop machine,and then have a "remote kernel"on a heftier machine.Sometimes that machine would be connected through Ethernet,or rarely through the internet.More often one would use a dialup connection,and,yes,there was a whole mechanism in Version 1.0 to support modems and phone dialing.
When we first built the notebook front end,we thought of it as a fairly thin wrapper around the kernel—that we'd be able to "dash off"for the different user interfaces of different computer systems.We built the front end first for the Mac,then (partly in parallel) for the NeXT.Within a couple of years we'd built separate codebases for the then-new Microsoft Windows,and for X Windows.
But as we polished the notebook front end it became more and more sophisticated.And so it was a great relief in 1996 when we managed to create a merged codebase that ran on all platforms.
And for more than 15 years this was how things worked.But then along came the cloud,and mobile.And now,out of necessity,we again have multiple notebook front end codebases.Maybe in a few years we'll be able to merge them again.But it's funny how the same issues keep cycling around as the decades go by.
Unlike the front end,we designed the kernel from the beginning to be as robustly portable as possible.And over the years it's been ported to an amazing range of computers—very often as the first serious piece of application software that a new kind of computer runs.
From the earliest days of Mathematica development,there was always a raw command-line interface to the kernel.And it's still there today.And what's amazing to me is how often—in some new and unfamiliar situation—it's really nice to have that raw interface available.Back in 1988,it could even make graphics—as ASCII art—but that's not exactly in so much demand today.But still,the raw kernel interface is what for examplewolframscriptuses to provide programmatic access to the Wolfram Language.
There's much of the earlier history of computing that's disappearing.And it's not so easy in practice to still run Mathematica 1.0.But after going through a few early Macs,I finally found one that still seemed to run well enough.We loaded up Mathematica 1.0 from its distribution floppies,是的,it launched! (I guess the distribution floppies were made the week before the actual release on June 23,1988;I vaguely remember a scramble to get the final disks copied.)
Needless to say,when I wanted to livestream this,the Mac stopped working,showing only a strange zebra pattern on its screen.Whacking the side of the computer (a typical 1980s remedy) didn't do anything.But just as I was about to give up,the machine suddenly came to life,and there I was,about to run Mathematica 1.0 again.
I tried all sorts of things,creating a fairly long notebook.But then I wondered: just how compatible is this?So I saved the notebook on a floppy,and put it in a floppy drive (yes,you can still get those) on a modern computer.At first,the modern operating system didn't know what to do with the notebook file.
But then I added our old ".ma"file extension,and opened it.And… oh my gosh… it just worked!The latest version of the Wolfram Language successfully read the 1988 notebook file format,and rendered the live notebook (and also created a nice,modern ".nb"version):
There's a bit of funny spacing around the graphics,reflecting the old way that graphics had to be handled back in 1988.But if one just selects the cells in the notebook,and pressesShift+Enter,up comes a completely modern version,now with color outputs too!
The Path Ahead
Before Mathematica,sophisticated technical computing was at best the purview of a small "priesthood"of technical computing experts.But as soon as Mathematica appeared on the scene,this all changed—and suddenly a typical working scientist or mathematician could realistically expect to do serious computation with their own hands (and then to save or publish the results in notebooks).
在过去的30年里,we've worked very hard to open progressively more areas to immediate computation.Often there's great technical sophistication inside.But our goal is to be able to let people translate high-level 金宝博188投注computational thinking as directly and automatically as possible into actual computations.
The result has been incredibly powerful.And it's a source of great satisfaction to see how much has been invented and discovered with Mathematica over the years—and how many of the world's most productive innovators use Mathematica and the Wolfram Language.
But amazingly,even after all these years,I think the greatest strengths of Mathematica and the Wolfram Language are only just now beginning to become broadly evident.
Part of it has to do with the emerging realization of how important it is to systematically and coherently build knowledge into a system.And,yes,the Wolfram Language has been unique in all these years in doing this.And what this now means is that we have a huge tower of 金宝博188投注computational intelligence that can be immediately applied to anything.
To be fair,for many of the past 30 years,Mathematica and the Wolfram Language were primarily deployed as desktop software.But particularly with the increasing sophistication of the general computing ecosystem,we've been able in the past 5–10 years to build out extremelystrong deployment channelsthat have now allowed Mathematica and the Wolfram Language to be used in an increasing range of important enterprise settings.
Mathematica and the Wolfram Language have long been standards in research,education and fields like quantitative finance.But now they're in a position to bring the tower of 金宝博188投注computational intelligence that they embody to any area where computation is used.
Since the very beginning of Mathematica,we've been involved with what's now called artificial intelligence (and in recent times we've been leaders in supportingmodern machine learning).We've also been very deeply involved with data in all forms,and with what'snow called data science.
But what's becoming clearer only now is just how critical the breadth of Mathematica and the Wolfram Language is to allowing data science and artificial intelligence to achieve their potential.And of course it's satisfying to see that all those capabilities that we've built over the past 30 years—and all the design coherence that we've worked so hard to maintain—are now so important in areas like these.
The concept of computation is surely the single most important intellectual development of the past century.And it's been my goal with Mathematica and the Wolfram Language to provide the best possible vehicle to infuse high-level computation into every conceivable domain.
For pretty much every field X (from art to zoology) there either is now,or soon will be,a "金宝博188投注computational X"that defines the future of the field by using the paradigm of computation.And it's exciting to see how much the unique features of the Wolfram Language are allowing it to help drive this process,and become the "language of 金宝博188投注computational X".
Traditional non-knowledge-based computer languages are fundamentally set up as a way to tell computers what to do—typically at a fairly low level.But one of the aspects of the Wolfram Language that's only now beginning to be recognized is that it's not just intended to be for telling computers what to do;it's intended to be a true金宝博188投注computational communication language,that provides a way of expressing 金宝博188投注computational thinking that's meaningful both to computers and to humans.
In the past,it was basically just computers that were supposed to "read code".But like a vast generalization of the idea of mathematical notation,the goal with the Wolfram Language is to have something that humans can readily read,and use to represent and understand 金宝博188投注computational ideas.
Combining this with the idea of notebooks brings us the notion of金宝博188投注computational essays—which I think are destined to become a key communication tool for the future,uniquely made possible by the Wolfram Language,with its 30-year history.
Thirty years ago it was exciting to see so many scientists and mathematicians "discover computers"through Mathematica.Today it's exciting to see so many new areas of "金宝博188投注computational X"being opened up.But it's also exciting to see that—with the level of automation we've achieved in the Wolfram Language—we've managed tobring sophisticated computation to the point where it's accessible to essentially anyone.And it's been particularly satisfying tosee all sorts of kids—atmiddle-school levelor even below—start to get fluent in the Wolfram Language and the high-level 金宝博188投注computational ideas it provides access to.
If one looks at the history of computing,it's in many ways a story of successive layers of capability being added,and becoming ubiquitous.First came the early languages.Then operating systems.Later,around the time Mathematica came on the scene,user interfaces began to become ubiquitous.A little later came networking and then large-scale interconnected systems like the web and the cloud.
But now what the Wolfram Language provides is a new layer: a layer of 金宝博188投注computational intelligence—that makes it possible to take for granted a high level of built-in knowledge about computation and about the world,and an ability to automate its application.
Over the past 30 years many people have used Mathematica and the Wolfram Language,and many more have been exposed to their capabilities,through systems likeWolfram|Alphabuilt with them.But what's possible now is to let the Wolfram Language provide a truly ubiquitous layer of 金宝博188投注computational intelligence across the computing world.It's taken decades to build a tower of technology and capabilities that I believe are worthy of this—but now we are there,and it's time to make this happen.
But the story of Mathematica and the Wolfram Language is not just a story of technology.It's also a story of the remarkable community of individuals who've chosen to make Mathematica and the Wolfram Language part of their work and lives.And now,as we go forward to realize the potential for the Wolfram Language in the world of the future,we need this community to help explain and implement the paradigm that the Wolfram Language defines.
Needless to say,injecting new paradigms into the world is never easy.But doing so is ultimately what moves forward our civilization,and defines the trajectory of history.And today we're at a remarkable moment in the ability to bring ubiquitous 金宝博188投注computational intelligence to the world.
But for me,as I look back at the 30 years since Mathematica was launched,I am thankful for everything that's allowed me to single-mindedly pursue the path that's brought us to the Mathematica and Wolfram Language of today.And I look forward to our collective effort to move forward from this point,and to contribute to what I think will ultimately be seen as a crucial element in the development of technology and our world.
To comment,please visit the copy of this post at theWolfram Blog »