Re: How does forth' productivity compare to the scripting languages?



casioculture@xxxxxxxxx wrote:

I was looking at the gforth benchmarks against ruby, python etc and
it's much much faster, it uses less memory, but what about programmer's
productivity? how would that compare? Say someone with 5-10 years of
experience in gforth compared to someone with 5-10 of years experience
in a scripting language (ruby, python... etc), both used in a
comparable domain to ease the comparison.


I can only speak from my personal experience. I programmed exclusively
in FORTRAN for about 12 years, then learned Basic (because it was like
FORTRAN and was the language of the HP-2000 time-shared computers we
had around then). The interactive Basic was more productive than FOR-
TRAN in the sense that I could get programs working much faster. But
this was because FORTRAN ran in batch mode, Basic in time-shared. When
we got a time-shared FORTRAN (VAX-750, IIRC) I was about as productive
in either. However, when I started to program in Forth in 1985 or so,
it did not take long before I could get programs debugged about 5x
faster than in either FORTRAN or Basic, despite my being expert in
both of those and only a novice in Forth.

At some point I stopped using other languages except when forced to.
For example, I had to learn some C in order to teach a numerical
methods course effectively. I found programming in C like slogging
uphill through treacle in midwinter. And I was using Turbo C so it
was nearly interactive. Perhaps it would have become easier as I
became more fluent, but I don't see how I could have programmed C
faster than I did Basic. And Basic was, for me, much slower to pro-
gram in than Forth.

--
Julian V. Noble
Professor Emeritus of Physics
University of Virginia
.



Relevant Pages

  • Re: How does forth productivity compare to the scripting languages?
    ... python... ... FORTRAN and was the language of the HP-2000 time-shared computers we ... if a more formal study was not yet conducted to compare the ...
    (comp.lang.forth)
  • Re: Any libraries for vector mask and vector population count?
    ... mask and vector popcount to compare two 2-bit encoded ... The MERGE intrinsic might be slightly faster, ... The Fortran 2003 C interoperability facility is supported reasonably ... fast way to do vector population count using logical operators ...
    (comp.lang.fortran)
  • Re: Fortran to VB.net
    ... Had already gotten Open in VB.NET --> Fileopen(#, filename, etc..) ... At the end I'd like to see what the Fortran was and what the VB became to compare alongside. ... While there are other things like Format$() being a pita as compared to Fortran FORMAT statements, overall there's a very direct comparison in most parts of the language. ...
    (comp.lang.fortran)
  • Re: Joel Spolsky on languages for web programmingr
    ... You can't compare .net and Rails. ... contribute absolutely nothing to the productivity of a web developer. ... contstruction company makes the architect more productive. ...
    (comp.lang.ruby)
  • Re: Numerical Accuracy
    ... Fortran group. ... you can of course define or use the "ulps" parameter in any style or way ... IF(Compare(x,y,ulps)) THEN ... END FUNCTION Compare ...
    (comp.programming)

Loading