Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.compilers > #502
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.iecc.com!nerds-end |
|---|---|
| From | glen herrmannsfeldt <gah@ugcs.caltech.edu> |
| Newsgroups | comp.compilers |
| Subject | Re: Have we reached the asymptotic plateau of innovation in programming la |
| Date | Wed, 14 Mar 2012 05:19:36 +0000 (UTC) |
| Organization | Aioe.org NNTP Server |
| Lines | 118 |
| Sender | news@iecc.com |
| Approved | comp.compilers@iecc.com |
| Message-ID | <12-03-035@comp.compilers> (permalink) |
| References | <12-03-012@comp.compilers> <12-03-014@comp.compilers> <12-03-022@comp.compilers> <12-03-027@comp.compilers> <12-03-030@comp.compilers> |
| NNTP-Posting-Host | news.iecc.com |
| X-Trace | leila.iecc.com 1331777438 98857 64.57.183.58 (15 Mar 2012 02:10:38 GMT) |
| X-Complaints-To | abuse@iecc.com |
| NNTP-Posting-Date | Thu, 15 Mar 2012 02:10:38 +0000 (UTC) |
| Keywords | design, history |
| Posted-Date | 14 Mar 2012 22:10:38 EDT |
| X-submission-address | compilers@iecc.com |
| X-moderator-address | compilers-request@iecc.com |
| X-FAQ-and-archives | http://compilers.iecc.com |
| Xref | csiph.com comp.compilers:502 |
Show key headers only | View raw
BGB <cr88192@hotmail.com> wrote: (snip) > in such a scenario, language convergence will have been so widespread > that people may have, by this point, ceased to clarify which language > they were using, since most would have become largely copy-paste > compatible anyways. Well, first there is the division between interpreted languages, such as Mathematica, Matlab, S/R, ..., and for that matter, Excel, that are good for quick one time problems, and compiled languages that are faster when you want to do something many times. It seems to me that division will stay, though the languages could still tend to converge. (snip) > what about a language which is more complex than JavaScript, maybe > roughly on-par with C or Java, and generally simpler than C++ and C# ? > what about a VM where the bytecode has 100s of unique operations? > ... The bytecode question should be independent of the language, and should be optimized, as RISC processors are, for compiler generated code instead of human written assembly code. > but, OTOH: > in a language like JavaScript you can type "a+b*c", and get the expected > precedence. > this is different than typing, say (in Scheme): > "(+ a (* b c))" > or (in Self): > "b * c + a" (noting that "a + b * c" will give a different answer). Well, first there are a number of precedence cases in C that many would have done differently. But also there is the question of which should be an operator and which a function. Note that C has the % operator and pow() function, where Fortran has mod() and **. > as I see it, the sorts of minimalism where one can't "afford" to have > things like operator precedence, or including conventional control-flow > mechanisms, is needless minimalism. Then there are funny little differences, where language designers try to force a programming style. Fortran added the ability to use floating point variables as DO loop variables in Fortran 77, then took it away again in Fortran 90. Another difference is the abilty to use array or structure expressions instead of explicit loops. > most real programmers have better things to do than sit around working > around awkward ways of expressing arithmetic, and figuring out how to > accomplish all of their control flow via recursion and if/else (and so > help you if you want something like sane file IO, or sockets, or > threads, ...). But each time you make something easier to use, something else usually gets at least slightly harder. You don't really want 200 different operators, with way too many precedence levels. It is just too hard for humans, not that it bothers compilers much at all. > (and, it is not necessarily a good sign when things like loops, file IO, > arrays, ... are supported by an implementation as... language > extensions...). Well, yes, but how many different loop constructs do you need? > but, many people hate on C and C++ and so on, claiming that languages > "should" have such minimalist syntax and semantics. however, such > minimalist languages have generally failed to gain widespread acceptance. > likewise, although a person can make an interpreter with a small number > of total opcodes, typically this means the program will need a larger > number of them to complete a task, and thus run slower. OK, but high-level language design should be toward making things easier for humans. Unless there is a big trend back toward assembly programming, instruction sets, including byte-code interpreters, should be designed for faster machine processing, and not for people. (It is useful in debugging if it isn't too hard for humans to read, but most of the time that shouldn't be needed.) > for example, a person could make an interpreter with roughly 3 opcodes > which fairly directly implements lambda calculus... but it will perform > like crap. > 10 or 15 is a bit better, then one probably at least has "the basics". Well, you can have the data tagged such that only one add instruction is needed to add any size or type (byte, short, int, long, float, double, etc.) or separate opcodes for each. It doesn't make a huge difference, but likely you could see the performance difference. > with several hundred opcodes, arguably a lot of them are "redundant", > being easily expressible in terms of "simpler" opcodes, but at the same > time, a single opcode can express what would otherwise require a chain > of simpler opcodes. The RISC vs. CISC argument in processor architecture. > like, "wow, there is this here 'lpostinc' opcode to load a value from a > variable and store an incremented version of the value back into the > variable". is this opcode justified vs, say: "load x; dup; push 1; > binary add; store x;"? I figure such cases are likely justified (they do > tend to show favorably in a benchmark). > OTOH, a person can go too far in the other direction as well. Like VAX. (snip) -- glen
Back to comp.compilers | Previous | Next — Previous in thread | Next in thread | Find similar
Have we reached the asymptotic plateau of innovation in programming language design? Rui Maciel <rui.maciel@gmail.com> - 2012-03-07 13:52 +0000
Re: Have we reached the asymptotic plateau of innovation in programming language design? Joshua Cranmer <Pidgeot18@verizon.invalid> - 2012-03-08 00:44 -0600
Re: Have we reached the asymptotic plateau of innovation in programming language design? torbenm@diku.dk (Torben Ægidius Mogensen) - 2012-03-14 09:51 +0100
Re: Have we reached the asymptotic plateau of innovation in programming language design? Gene Wirchenko <genew@ocis.net> - 2012-03-19 08:00 -0700
Re: Have we reached the asymptotic plateau of innovation in programming language design? torbenm@diku.dk (Torben Ægidius Mogensen) - 2012-03-21 11:53 +0100
Re: Have we reached the asymptotic plateau of innovation in programming language design? "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2012-03-22 21:17 +0100
Re: Have we reached the asymptotic plateau of innovation in programming language design? jgk@panix.com (Joe keane) - 2012-03-23 19:45 +0000
Re: Have we reached the asymptotic plateau of innovation in programming language design? eijkhout@tacc.utexas.edu (Victor Eijkhout) - 2012-03-19 15:42 -0600
Re: HPC and parallel programming, was Have we reached the asymptotic Marco van de Voort <marcov@toad.stack.nl> - 2012-03-21 10:28 +0000
Have we reached the asymptotic plateau of innovation in programming la SLK Systems <slkpg3@gmail.com> - 2012-03-08 10:21 -0500
Re: Have we reached the asymptotic plateau of innovation in programming la BGB <cr88192@hotmail.com> - 2012-03-09 18:16 -0700
Re: Have we reached the asymptotic plateau of innovation in programming la glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2012-03-12 07:42 +0000
Re: Have we reached the asymptotic plateau of innovation in programming la BGB <cr88192@hotmail.com> - 2012-03-13 02:27 -0700
Re: Have we reached the asymptotic plateau of innovation in programming la glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2012-03-14 05:19 +0000
Re: Have we reached the asymptotic plateau of innovation in programming la BGB <cr88192@hotmail.com> - 2012-03-15 00:06 -0700
Re: Have we reached the asymptotic plateau of innovation in programming la torbenm@diku.dk (Torben Ægidius Mogensen) - 2012-03-14 09:24 +0100
Re: Have we reached the asymptotic plateau of innovation in programming languages? "robin" <robin51@dodo.com.au> - 2012-03-11 21:09 +1100
Re: Have we reached the asymptotic plateau of innovation in programming languages Johann 'Myrkraverk' Oskarsson <johann@2ndquadrant.com> - 2012-06-06 17:38 +0000
Re: Have we reached the asymptotic plateau of innovation in programming languages glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2012-06-06 22:40 +0000
Re: Have we reached the asymptotic plateau of innovation in programming languages Joshua Cranmer <Pidgeot18@verizon.invalid> - 2012-06-07 08:00 -0400
Re: Have we reached the asymptotic plateau of innovation in programming languages Johann 'Myrkraverk' Oskarsson <johann@2ndquadrant.com> - 2012-06-07 17:21 +0000
Re: Have we reached the asymptotic plateau of innovation in programming languages glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2012-06-08 22:31 +0000
Re: Have we reached the asymptotic plateau of innovation in programming languages Martin Ward <martin@gkc.org.uk> - 2012-06-10 10:42 +0100
Re: Have we reached the asymptotic plateau of innovation in programming languages Alex McDonald <blog@rivadpm.com> - 2012-06-10 13:36 -0700
Re: Have we reached the asymptotic plateau of innovation in programming languages "robin" <robin51@dodo.com.au> - 2012-06-11 20:21 +1000
Re: Have we reached the asymptotic plateau of innovation in programming languages Hans-Peter Diettrich <DrDiettrich1@aol.com> - 2012-06-11 18:18 +0200
Re: Have we reached the asymptotic plateau of innovation in programming languages Georg Bauhaus <rm.dash-bauhaus@futureapps.de> - 2012-06-08 16:16 +0200
Re: Have we reached the asymptotic plateau of innovation in programming languages "BartC" <bc@freeuk.com> - 2012-06-07 14:20 +0100
Re: Have we reached the asymptotic plateau of innovation in programming languages Robert A Duff <bobduff@shell01.TheWorld.com> - 2012-06-07 16:06 -0400
Re: Have we reached the asymptotic plateau of innovation in programming languages glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2012-06-08 22:47 +0000
Re: Have we reached the asymptotic plateau of innovation in programming languages "robin" <robin51@dodo.com.au> - 2012-06-08 00:03 +1000
Re: Have we reached the asymptotic plateau of innovation in programming languages Johann 'Myrkraverk' Oskarsson <johann@2ndquadrant.com> - 2012-06-07 18:01 +0000
Re: Have we reached the asymptotic plateau of innovation in programming languages Lieven Marchand <mal@wyrd.be> - 2012-06-09 17:24 +0200
Re: Have we reached the asymptotic plateau of innovation in programming languages torbenm@diku.dk (Torben Ægidius Mogensen) - 2012-06-11 13:41 +0200
Re: Have we reached the asymptotic plateau of innovation in programming languages glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2012-06-11 22:13 +0000
Re: Have we reached the asymptotic plateau of innovation in programming languages "robin" <robin51@dodo.com.au> - 2012-06-13 01:16 +1000
Re: Have we reached the asymptotic plateau of innovation in programming language design? "Derek M. Jones" <derek@_NOSPAM_knosof.co.uk> - 2012-03-08 19:54 +0000
Re: Have we reached the asymptotic plateau of innovation in programming language design? George Neuner <gneuner2@comcast.net> - 2012-03-08 17:41 -0500
Re: Have we reached the asymptotic plateau of innovation in programming language design? Ian Lance Taylor <ian@airs.com> - 2012-03-08 17:02 -0800
Re: Have we reached the asymptotic plateau of innovation in programming language design? Cameron McInally <cameron.mcinally@nyu.edu> - 2012-03-08 23:40 -0500
Re: Have we reached the asymptotic plateau of innovation in programming language design? thomas.mertes@gmx.at - 2012-03-11 07:33 -0700
Re: Have we reached the asymptotic plateau of innovation in programming language design? Michael Dunlavey <mikedunlavey44@gmail.com> - 2012-03-09 16:07 -0500
Re: Have we reached the asymptotic plateau of innovation in programming language design? BGB <cr88192@hotmail.com> - 2012-03-09 21:14 -0700
Re: Have we reached the asymptotic plateau of innovation in programming language design? Rock Brentwood <federation2005@netzero.com> - 2012-03-17 12:31 -0700
Re: Have we reached the asymptotic plateau of innovation in programming language design? BGB <cr88192@hotmail.com> - 2012-03-18 02:35 -0700
Re: Have we reached the asymptotic plateau of innovation in programming language design? "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2012-03-18 20:35 +0100
csiph-web