Reply
Thread Tools
Posts: 607 | Thanked: 450 times | Joined on Sep 2009 @ Washington, DC
#31
Originally Posted by Fargus View Post
Eek - Formula Translation - aaagh. Ooh the nightmares of coding in that. Bloody fast and very efficient but i still bear the trauma from cross coding from DEC to PRIME! LOL

Pascal could be interesting though if you're an ALGOL guy then C/C++ or Java and Python shouldn't be too far away from where you feel comfy. C might be the closest though.
Actually, I haven't been an ALGOL (ALGOrithmic Language, since we're spelling things out for the kids) since Burroughs made mainframes. COBOL (COmmon Business Oriented Language) was my forte.
 
rm42's Avatar
Posts: 963 | Thanked: 626 times | Joined on Sep 2009 @ Connecticut, USA
#32
Its not how many languages you know that counts, but how many Maemo apps will you develop.
__________________
-- Worse than not knowing is not wanting to know! --

http://temporaryland.wordpress.com/
 

The Following User Says Thank You to rm42 For This Useful Post:
Fargus's Avatar
Posts: 1,217 | Thanked: 446 times | Joined on Oct 2009 @ Bedfordshire, UK
#33
Originally Posted by dormant View Post
Sorry for any ignorance, but isn't fortran now part of gcc, so maybe it already exists for the Nxx0 tablets?
Hey wouldn't say it was ignorant or not but be interesting to know - might be able to do some crunching at sensible speeds now (tablets are way faster than the junk I was working on! LOL).

Anyone know this situation?

Last edited by Fargus; 2009-11-09 at 21:16. Reason: typo
 
Den in USA's Avatar
Posts: 1,390 | Thanked: 642 times | Joined on Nov 2007 @ California USA
#34
Originally Posted by daperl View Post
Do you program in any other languages? If so, what? If not, why not?
Back in 1981, I was working in an engineering lab trained as an electronic tech. Since I was poor and could not afford an expensive HP programable calculator that the engineers had, I built what was later to be called the Timex Sinclair portable computer. At first, there were no apps for it so I learned basic so that I could run long engineering formulas. I still work in the Test Engineering section of that same company. A large Software Engineering sections writes all of our software in C++.
__________________
N800 / Diablo / 16gb int / 16gb ext / Globalsat BT-359 gps ..... Dell Streak 5 - Android 2.2.2
 

The Following User Says Thank You to Den in USA For This Useful Post:
Posts: 271 | Thanked: 220 times | Joined on Sep 2009
#35
Originally Posted by Fargus View Post
Hey wouldn't say it was ignorant or not but be interesting to know - might be able to do some crunching at sensible speeds now (tablets are way faster than the junk I was working on! LOL).

Anyone know this situation?
fortran's been in gcc main for a long time..dunno if the maemo port includes it though. And I've got a lot of hours logged in good ol' f77 too...I actually quite like the structured, "deterministic" feel of it. But I was an engineering student, not a computer science major...so it was usually about making a program to find out something we were actually interested in...ie a means to an end. Fortran was beautiful for that (after the punch card era was dead and buried, that is).

Last edited by texaslabrat; 2009-11-10 at 00:07.
 
dormant's Avatar
Posts: 332 | Thanked: 76 times | Joined on Oct 2007 @ St. Augustine, Trinidad and Tobago
#36
I spent my formattive years on FORTRAN. Also dropped an entire tray of cards with my program once. Wasted a lot of time getting FORTRAN IV to sort strings.
__________________
  • N900
  • N800
  • LD-3W
  • two magic OTG USB adapters
  • crossed fingers
 
PhilE's Avatar
Posts: 71 | Thanked: 65 times | Joined on Oct 2009 @ Brighton, UK
#37
isn't fortran now part of gcc
Looks like it is, at least on my Mandriva 2008.1 server:

Code:
$ [phile@caprica:/home/phile]
cat /etc/mandriva-release
Mandriva Linux release 2008.1 (Official) for i586
[phile@caprica:/home/phile]
$ urpmq -a fortran
gcc-gfortran
gcc4.3-gfortran
libgfortran2
libgfortran3
manbo-mandriva-files-gcc-gfortran
[phile@caprica:/home/phile]
$ urpmq -i gcc4.3-gfortran
Name        : gcc4.3-gfortran
Version     : 4.3.0
Release     : 3mdv2008.1
Group       : Development/Other
Size        : 12897024                     Architecture: i586
Source RPM  : gcc4.3-4.3.0-3mdv2008.1.src.rpm
URL         : http://gcc.gnu.org/
Summary     : Fortran 95 support for gcc
Description :
This package adds support for compiling Fortran 95 programs with the GNU
compiler.
Edit: In case anyone is remotely interested, /me is a confirmed Python fanboi. Had to learn it back in 2001 when I joined the ISP I currently work for. Hated it for about 6 weeks, then something just 'clicked' and I rarely use anything else nowadays.

Last edited by PhilE; 2009-11-10 at 00:55.
 

The Following 3 Users Say Thank You to PhilE For This Useful Post:
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#38
Originally Posted by Den in USA View Post
Back in 1981, I was working in an engineering lab trained as an electronic tech. Since I was poor and could not afford an expensive HP programable calculator that the engineers had, I built what was later to be called the Timex Sinclair portable computer. At first, there were no apps for it so I learned basic so that I could run long engineering formulas. I still work in the Test Engineering section of that same company. A large Software Engineering sections writes all of our software in C++.
Thanks for the background. I asked because if someone is comfortable with BASIC, then maybe they would be willing to take the next step to a more structured programming language. For someone with a Nokia internet tablet/computer, I would recommend Python.

In the meantime, I've attached an armel version of Yabasic. It's a more structured version of BASIC. The demo program I included seems to run okay on my n810. After you download it, here's what to do if you saved it to the /home/user/download directory:

open a fullscreen xterm and type the following:

cd
tar xzf /home/user/download/yabasic.tar.gz
cd yabasic
[don't type this; see paragraph below]
./yabasic demo.yab


In order for the demo to run you'll have to dismiss the virtual keyboard before you hit the last return (I think there's a return button on the default xterm toolbar. If not, we'll have to fix that with an xterm shortcut). Also, you might have to hit the "Zoom -" button if you continue to get the screen size error message. The demo is kind of brain dead; it needs a 78x18 character console. You can fix that of course; I've already taken the demo from 24 -> 18 lines. If in trouble, Control-C might be your friend.

Here's a link to the Yabasic manual.

Good luck. Let me know if you want or need any help.
Attached Files
File Type: gz yabasic.tar.gz (149.1 KB, 93 views)
__________________
N9: Go white or go home

Last edited by daperl; 2009-11-10 at 16:23. Reason: updated attachment
 

The Following 2 Users Say Thank You to daperl For This Useful Post:
lcuk's Avatar
Posts: 1,635 | Thanked: 1,816 times | Joined on Apr 2008 @ Manchester, England
#39
oh **** daperl.
i wonder.
i really do..

http://www.youtube.com/watch?v=7hGUKICDeok#t=0m32s
http://liqbase.net/liqbase_presentation_vb.png
__________________
liqbase sketching the future.
like what i say? hit the Thanks, thanks!
twitter.com/lcuk
 
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#40
Originally Posted by lcuk View Post
oh **** daperl.
i wonder.
i really do..

http://www.youtube.com/watch?v=7hGUKICDeok#t=0m32s
http://liqbase.net/liqbase_presentation_vb.png
Hey lcuk, what am I looking at with the 2nd link?
__________________
N9: Go white or go home
 
Reply


 
Forum Jump


All times are GMT. The time now is 14:00.