Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Forth > advantages of f...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 81 Topic 3560 of 4325
Post > Topic >>

advantages of forth over other languages

by Andreas Klimas <klimas@[EMAIL PROTECTED] > Oct 3, 2007 at 12:09 AM

hi,

probably my statements are obvious to the most of you. but
after a long time of struggle with different languages it
seems that forth is most best suited for my needs.

I have a couple of years (20+) experience in software
development with Smalltalk, C, C++, Java and a little Lisp.
I never have been working with embedded stuff.
I'm working in the area of Bank, Insurance, Chemistry and others.

there always have been things which disturbing me.

*) I want to execute functions on compiletime, C preprocessor
    is a shame, by far too less powerfull. so I wrote C
    codegenerator (and even Smalltalk Code generator)
    which also was not that perfect. Makefile has become more
    complex then.

*) statically typing is more a problem than help. I think
    it's more a feature to sup****t optimizing code generation.
    in forth you are free to use a number as integer, pointer
    or what ever. no more casting - yep.

*) syntax of C is complex with all that funny rules that
    one has to know. (priority of operators, left to right
    or right to left - or implementation dependent).
    Forth does not have any syntax.

*) not even gcc does have anonymous functions. no problem for
    Forth. I can switch from compile to interpret on the
    fly - which language sup****t this.

*) I can't simply work with anonymous arguments and dispatch
    those to other anonymous functions. a mechanismus like printf's
    formatstring is needed to collect stackdata with va_arg.
    (expect with Smalltalk and Lisp, of course)
    to have an explict datastack like Forth is quite exciting

*) I can't (simply) compile code at runtime. Smalltalk vendors
    even strip out the compiler while building the deployment.

*) GarbageCollection is not needed. I even gave up (since 4
    years now) using malloc/free to implement the needed data
    structures. there are always other/simpler ways.

*) to inspect my running code it must be compiled, linked, started
    in an debugger environment. setting breakpoints and starting
    the application. singlestep to the place in question (not
    debugging, simply showing if it does what I expect) and
    might see a wrong thing. okay, leave debugger, start editor
    change text - compile, link ... and so on.
    to have an interactive language like Forth where I could
    check things quickly is the most striking feature, for me.
    interactivity in Forth is even better than in Smalltalk.


there are many more small deficiencies which of corse are manageable,
but I'm no longer willing to buy that.

Forth does solve all those problems. one would expect that
such a great tool have to have some megs in size, but it's
the smallest one anyway.


as with every unfamiliar paradigma, practice is needed to grasp
the advantages. it's better not to use the old habits.
one must be willing to master all those _different_ concepts.

well, what I'm doing anyway. most of my work is writing web
applications for many customers in the Unix environment.

I started 20 years ago with C, then C++ then came Smalltalk then
Java, then back to C and now (2 years) with Forth (C as Backend).

hope this text will help some people to decicde to give forth
a shot.

best wishes
Andreas Klimas
 




 81 Posts in Topic:
advantages of forth over other languages
Andreas Klimas <klimas  2007-10-03 00:09:20 
Re: advantages of forth over other languages
"Celime" <cm  2007-10-03 16:59:11 
Re: advantages of forth over other languages
John Passaniti <nntp@[  2007-10-03 17:35:37 
Re: advantages of forth over other languages
Andreas Klimas <klimas  2007-10-03 23:41:47 
Re: advantages of forth over other languages
John Doty <jpd@[EMAIL   2007-10-03 21:31:42 
Re: advantages of forth over other languages
John Passaniti <nntp@[  2007-10-05 00:11:14 
Re: advantages of forth over other languages
John Doty <jpd@[EMAIL   2007-10-04 18:54:59 
Re: advantages of forth over other languages
Elizabeth D Rather <er  2007-10-04 15:54:29 
Re: advantages of forth over other languages
John Doty <jpd@[EMAIL   2007-10-04 20:42:38 
Re: advantages of forth over other languages
Elizabeth D Rather <er  2007-10-04 17:38:16 
Re: advantages of forth over other languages
Nils-Arne Dahlberg <ni  2007-10-05 12:45:52 
Re: advantages of forth over other languages
John Doty <jpd@[EMAIL   2007-10-05 12:03:05 
Re: advantages of forth over other languages
kenney@[EMAIL PROTECTED]   2007-10-05 06:01:01 
Re: advantages of forth over other languages
Bernd Paysan <bernd.pa  2007-10-05 14:35:14 
Re: advantages of forth over other languages
kenney@[EMAIL PROTECTED]   2007-10-05 13:41:05 
Re: advantages of forth over other languages
Bernd Paysan <bernd.pa  2007-10-06 14:01:19 
Re: advantages of forth over other languages
"Celime" <cm  2007-10-05 14:41:36 
Re: advantages of forth over other languages
kenney@[EMAIL PROTECTED]   2007-10-05 13:41:05 
Re: advantages of forth over other languages
"Celime" <cm  2007-10-05 14:32:52 
Re: advantages of forth over other languages
John Doty <jpd@[EMAIL   2007-10-03 12:15:17 
Re: advantages of forth over other languages
"Celime" <cm  2007-10-05 14:36:07 
Re: advantages of forth over other languages
Jason Damisch <jasonda  2007-10-03 10:50:17 
Re: advantages of forth over other languages
John Passaniti <nntp@[  2007-10-03 18:13:48 
Re: advantages of forth over other languages
helmwo@[EMAIL PROTECTED]   2007-10-03 17:50:41 
Re: advantages of forth over other languages
John Passaniti <nntp@[  2007-10-03 19:42:57 
Re: advantages of forth over other languages
John Doty <jpd@[EMAIL   2007-10-04 06:40:55 
Re: advantages of forth over other languages
Andreas Klimas <klimas  2008-04-23 00:56:57 
Re: advantages of forth over other languages
John Passaniti <nntp@[  2008-04-23 22:21:34 
Re: advantages of forth over other languages
Richard Owlett <rowlet  2008-04-23 20:56:47 
Re: advantages of forth over other languages
John Passaniti <put-my  2008-04-23 23:55:14 
Re: advantages of forth over other languages
Aleksej Saushev <asau@  2008-04-26 11:16:29 
Re: advantages of forth over other languages
Clever Monkey <spamtra  2008-04-30 12:54:44 
Re: advantages of forth over other languages
Albert van der Horst <  2008-05-01 14:28:07 
Re: advantages of forth over other languages
Clever Monkey <spamtra  2008-05-01 12:45:08 
Re: advantages of forth over other languages
John Doty <jpd@[EMAIL   2008-05-01 21:58:50 
Re: advantages of forth over other languages
Clever Monkey <spamtra  2008-05-02 13:11:16 
Re: advantages of forth over other languages
John Doty <jpd@[EMAIL   2008-05-02 12:15:13 
Re: advantages of forth over other languages
John Passaniti <nntp@[  2008-05-02 20:58:26 
Re: advantages of forth over other languages
John Doty <jpd@[EMAIL   2008-05-02 18:28:21 
Re: advantages of forth over other languages
John Passaniti <my-fir  2008-05-03 03:25:24 
Re: advantages of forth over other languages
John Doty <jpd@[EMAIL   2008-05-03 11:43:40 
Re: advantages of forth over other languages
John Passaniti <put-my  2008-05-04 04:54:23 
Re: advantages of forth over other languages
Bernd Paysan <bernd.pa  2008-05-04 00:30:45 
Re: advantages of forth over other languages
Alex McDonald <blog@[E  2008-05-03 13:06:45 
Re: advantages of forth over other languages
Clever Monkey <spamtra  2008-05-07 16:12:07 
Re: advantages of forth over other languages
Bruce McFarling <agila  2008-05-04 19:45:37 
Re: advantages of forth over other languages
John Passaniti <my-fir  2008-05-06 04:11:01 
Re: advantages of forth over other languages
Bruce McFarling <agila  2008-05-06 12:35:30 
Re: advantages of forth over other languages
John Passaniti <nntp@[  2008-05-07 18:29:17 
Re: advantages of forth over other languages
Bruce McFarling <agila  2008-05-07 13:14:51 
Re: advantages of forth over other languages
John Passaniti <nntp@[  2008-05-07 20:45:17 
Re: advantages of forth over other languages
Bruce McFarling <agila  2008-05-07 13:21:16 
Re: advantages of forth over other languages
John Passaniti <nntp@[  2008-05-07 20:49:41 
Re: advantages of forth over other languages
Bruce McFarling <agila  2008-05-07 15:36:51 
Re: advantages of forth over other languages
Brad Eckert <nospaambr  2008-05-08 08:08:13 
Re: advantages of forth over other languages
Robert Spykerman <robe  2008-05-11 20:06:29 
Re: advantages of forth over other languages
dhoffman@[EMAIL PROTECTED  2008-05-11 23:48:50 
Re: advantages of forth over other languages
Jerry Avins <jya@[EMAI  2008-05-12 18:43:20 
Re: advantages of forth over other languages
John Passaniti <nntp@[  2008-05-13 19:52:50 
Re: advantages of forth over other languages
Alex McDonald <blog@[E  2008-05-12 02:07:34 
Re: advantages of forth over other languages
mhx@[EMAIL PROTECTED] (M  2007-10-03 21:51:07 
Re: advantages of forth over other languages
helmwo@[EMAIL PROTECTED]   2007-10-03 20:00:21 
Re: advantages of forth over other languages
Andreas Klimas <klimas  2007-10-03 23:52:19 
Re: advantages of forth over other languages
helmwo@[EMAIL PROTECTED]   2007-10-03 20:04:29 
Re: advantages of forth over other languages
"slava@[EMAIL PROTEC  2007-10-03 16:52:26 
Re: advantages of forth over other languages
Andreas Klimas <klimas  2007-10-04 00:34:18 
Re: advantages of forth over other languages
Andreas Klimas <klimas  2007-10-04 01:12:50 
Re: advantages of forth over other languages
"slava@[EMAIL PROTEC  2007-10-03 16:54:14 
Re: advantages of forth over other languages
Andreas Klimas <klimas  2007-10-04 00:12:13 
Re: advantages of forth over other languages
stephenXXX@[EMAIL PROTECT  2007-10-04 10:40:23 
Re: advantages of forth over other languages
John Doty <jpd@[EMAIL   2007-10-04 05:51:23 
Re: advantages of forth over other languages
Bernd Paysan <bernd.pa  2007-10-04 15:03:58 
Re: advantages of forth over other languages
John Passaniti <nntp@[  2007-10-05 01:21:18 
Re: advantages of forth over other languages
Elizabeth D Rather <er  2007-10-04 15:44:56 
Re: advantages of forth over other languages
mhx@[EMAIL PROTECTED] (M  2007-10-04 21:59:13 
Re: advantages of forth over other languages
znmeb <zznmeb@[EMAIL P  2007-10-06 22:09:23 
Re: advantages of forth over other languages
David Thompson <dave.t  2007-10-14 23:03:24 
Re: advantages of forth over other languages
=?iso-8859-1?q?Jean-Fran=  2007-11-01 18:14:30 
Re: advantages of forth over other languages
John Passaniti <put-my  2007-11-01 22:02:13 
Re: advantages of forth over other languages
gavino <gavcomedy@[EMA  2007-11-08 16:13:55 
Re: advantages of forth over other languages
Jonah Thomas <jethomas  2008-05-06 07:15:05 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 13:38:48 CST 2008.