Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Fastest prototyping language?

Name: Anonymous 2007-07-15 13:37 ID:kBIa13sy

I want to write programs as fast as I can. Which language should I learn?

Using program length as a rough indicator, Forth is the choice. Samples I've seen like web servers, operating systems, database managers, etc. are significantly shorter in Forth.

But I've seen some really short Perl and Haskell routines too.

And Lisp is supposed to allow you to work at such high levels of abstraction that it should also make short applications.

Ruby gets a lot of comments about short line counts compared to Perl and Python.

Assuming
   -identical toolset library functionality,
   -maximum expertise in all the candidate languages
   -no concern of readability, "transparent" design, or 
    execution speed
which language syntax will allow you to write your program fastest?

In b4 machine code.


Name: Anonymous 2007-07-16 10:44 ID:/Gbnttbz

>>4 [low bugs]
>>6 [large, growing, organized library]
>>11 [news to me. I'll look.]
>>12 [confirm my suspicion. Big learning curve is OK for pros.]
>>14 [Perl is domain-specific. Extraction and Report Language. Yep.]
>>15 [add Prolog to the list]
>>16 [good-looking documentation and samples, likely good intro to Forth]

Thanks for those replies.

>>20
Because many (not all) projects need the final, production version to be compiled to native code with an optimizing compiler tuned to the local CPU. So I distinguish the protoyping stage from the optimizing stage; the first stage goal is fast development, the second stage goal is fast execution. I know the leading byte code compilers are pretty quick, but if your customers will use your product hours every day for years, every second you can save them counts. Think of that every time your computer keeps you waiting.


Forth is stil at the top of my list, but post #6 reminded me of the value of CPAN: tons of code gathered in one place and indexed. That could outweigh everything else in terms of saving time.

Regarding high level abstraction, I've seen this mentioned a lot, but I haven't found good examples of it in full-size applications. However, I HAVE found good examples of Forth factoring in applications. I'm sure I'm just looking in the wrong places. Anyone know some LISP applications that use good abstraction principles?



Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List