iDevGames Forums
Re-introduction of low level languages? - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Programming Languages & Scripting (/forum-8.html)
+--- Thread: Re-introduction of low level languages? (/thread-2971.html)



Re-introduction of low level languages? - Duane - Oct 29, 2007 06:05 PM

I've been flipping through various low-level languages as of late (egad—you caught me!), like assembly (minor interest), c, etc. But the language that caught my eye was Forth.
I love the simplicity of it; it seems to echo the way I think, and the simplicity of it (only a few commands) allows you to write pretty nifty programs.

For example, the first thirty fibonacci numbers:

Code:
: FIB DUP 2 < IF DROP 1 ELSE DUP 1 - RECURSE SWAP 2 - RECURSE + THEN ;
: FIB-LOOP 0 DO I FIB . LOOP ;
30 FIB-LOOP



Re-introduction of low level languages? - OneSadCookie - Oct 29, 2007 06:15 PM

And of course, http://desudesudesu.net/#FORTH__gforth_

Forth isn't my idea of a low-level language though, given that it's reflective and not statically typed... "simple" != "low-level". Pascal, C, C++, etc. are low-level.


Re-introduction of low level languages? - Duane - Oct 29, 2007 06:35 PM

Well, it is low level even if it doesn't use all the features one can get in Pascal/c*. But, if one really wants to, one can use assembly (I think, I just started forth a few days ago).


Re-introduction of low level languages? - unknown - Oct 30, 2007 03:00 AM

Forth is low level and C is high level Rasp


Re-introduction of low level languages? - OneSadCookie - Oct 30, 2007 03:10 AM

Clearly you two and I are unable to have a meaningful conversation about this until you adjust your definition of "low-level" to meet the norm Rasp