Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
10 crawler(s) on-line.
 130 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 pavlor:  15 mins ago
 matthey:  18 mins ago
 Rob:  34 mins ago
 kolla:  41 mins ago
 Birbo:  1 hr 4 mins ago
 Hypex:  1 hr 8 mins ago
 AmigaMac:  1 hr 21 mins ago
 amigakit:  1 hr 53 mins ago
 A1200:  3 hrs 1 min ago
 michalsc:  3 hrs 6 mins ago

/  Forum Index
   /  General Technology (No Console Threads)
      /  Computer Programming Languages
Register To Post

Goto page ( Previous Page 1 | 2 | 3 | 4 | 5 | 6 Next Page )
PosterThread
OneTimer1 
Re: Computer Programming Languages
Posted on 22-Mar-2019 12:50:51
#21 ]
Cult Member
Joined: 3-Aug-2015
Posts: 973
From: Unknown

@Trekiej

Quote:



I heard that Fortran has some parallel-ism built-in.



Some types of Fortran (especially for Supercomputers) have some kind of support for parallel computing.

Other languages like 'C/C++' will just give you the power to start parallel processes.

If you want to compare languages like Fortran, Cobol and Pascal, I would like to mention that most of them are outdated.

Pascal is the most modern of them all but it was designed as language for education, so its use was somewhat restricted. Turbo-Pascal had some improvements making it more useful.

Turbo-Pascal was developed into Delphi, a Pascal oriented language with OOP Elements and a powerful framework.

The success of actual computer languages depends on its frameworks and the support for 'important' OSes, this makes languages supported by Microsoft to be the most successful programming languages. This will stop newcomers from gaining more importance, keeping Microsoft the leading OS Provider.

Pascal (as a learning Language) was developed by Nicolaus Wirth (the Pascal Inventor) into Modula, Modula2 and later into Oberon. Oberon comes with some kind of OS and there where some computers that booted directly into the Oberon system, nothing that is supported by any common system today.

----

BTW.: There is an interesting Pascal (Delphi compatible?) system called Freepascal it is existing for different Platform including AOS4, MOS and AROS.
http://fpcamigawiki.alb42.de/index.php?title=Main_Page

Last edited by OneTimer1 on 22-Mar-2019 at 01:09 PM.
Last edited by OneTimer1 on 22-Mar-2019 at 01:07 PM.
Last edited by OneTimer1 on 22-Mar-2019 at 01:06 PM.

 Status: Offline
Profile     Report this post  
Lou 
Re: Computer Programming Languages
Posted on 22-Mar-2019 14:44:07
#22 ]
Elite Member
Joined: 2-Nov-2004
Posts: 4169
From: Rhode Island

I thought ADA was object-based Pascal...

 Status: Offline
Profile     Report this post  
Yssing 
Re: Computer Programming Languages
Posted on 22-Mar-2019 17:05:54
#23 ]
Super Member
Joined: 24-Apr-2003
Posts: 1084
From: Unknown

@OneTimer1

I personally use freepascal via Lazarus IDE for all my windows based apps. It compiles for windowsCE, linux, mac and many more from the same IDE.
Lazarus is also an excellent visual builder, so designing a good GUI is very easy.

_________________

 Status: Offline
Profile     Report this post  
Trekiej 
Re: Computer Programming Languages
Posted on 22-Mar-2019 19:41:47
#24 ]
Cult Member
Joined: 17-Oct-2006
Posts: 890
From: Unknown

@Thread


BASIC makes me feel like a Rocket Surgeon.

_________________
John 3:16

 Status: Offline
Profile     Report this post  
wajdy 
Re: Computer Programming Languages
Posted on 22-Mar-2019 23:40:33
#25 ]
Regular Member
Joined: 27-Oct-2006
Posts: 192
From: Amigania

@Trekiej

Why waste time on ancient languages!
You may want it for Amiga purpose, but TypeScript is number 1 language now, by Microsoft.

Dont shoot

Last edited by wajdy on 22-Mar-2019 at 11:41 PM.

 Status: Offline
Profile     Report this post  
gregthecanuck 
Re: Computer Programming Languages
Posted on 23-Mar-2019 0:27:47
#26 ]
Cult Member
Joined: 30-Dec-2003
Posts: 846
From: Vancouver, Canada

@Trekiej

I know this is slightly off-topic but I think the time for programming the Amiga in C is done. C just causes so many problems.

Something like Google's Go looks attractive to me. There is even support for it in gcc so in theory it shouldn't be a lot of work to get Go working at a very basic level. The fun is exposing all the Amiga API to go.

https://en.wikipedia.org/wiki/Go_(programming_language)

 Status: Offline
Profile     Report this post  
hth313 
Re: Computer Programming Languages
Posted on 23-Mar-2019 0:50:32
#27 ]
Regular Member
Joined: 29-May-2018
Posts: 159
From: Delta, Canada

Quote:

wajdy wrote:
@Trekiej

Why waste time on ancient languages!
You may want it for Amiga purpose, but TypeScript is number 1 language now, by Microsoft.

Dont shoot


I shoot PureScript at you!

 Status: Offline
Profile     Report this post  
bison 
Re: Computer Programming Languages
Posted on 23-Mar-2019 4:23:06
#28 ]
Elite Member
Joined: 18-Dec-2007
Posts: 2112
From: N-Space

@gregthecanuck

Quote:
Something like Google's Go looks attractive to me.

It looked good to me too, until I actually starting using it. The (famous) people who created it made some surprising design decisions. For example, identifiers that begin with an upper-case letter are exported, and that do not are not. So if you decide well into a project that something needs to be exported, you have to rename the identifier in every file that references it. There are other things as well. Golang is in the collection of languages that I will only use if I'm getting paid.

Last edited by bison on 23-Mar-2019 at 04:25 AM.

_________________
"Unix is supposed to fix that." -- Jay Miner

 Status: Offline
Profile     Report this post  
OlafS25 
Re: Computer Programming Languages
Posted on 23-Mar-2019 11:57:48
#29 ]
Elite Member
Joined: 12-May-2010
Posts: 6338
From: Unknown

@Trekiej

It depends on what you want to do

is your question general or amiga specific?

general who uses Fortran and Cobol today?

Pascal is still usable (and I like it) with modern implementations (object pascal and free pascal included in lazarus)

In outside world people use lots of different languages like C#, Java, C, C++, Java Script and so on

if you want to do something on amiga you can use basic (AMOS and Blitzbasic) or Amiga-E or C/C++ or Freepascal who are well or very well supporting amiga or hollywood

Last edited by OlafS25 on 23-Mar-2019 at 11:58 AM.

 Status: Offline
Profile     Report this post  
cdimauro 
Re: Computer Programming Languages
Posted on 23-Mar-2019 12:09:00
#30 ]
Elite Member
Joined: 29-Oct-2012
Posts: 3650
From: Germany

@Chain-Q Quote:
Chain-Q wrote:

- safe and very advanced string handling
[...]
- the language is very compatible with itself all the way back, no breaking of syntax between revisions like Python. there are various dialects, like ISO, Extended, Borland, Delphi, Mac Pascal, etc. with slight differences, but Free Pascal supports compiling any code written in any dialect into the same project

Nevertheless, you have to specify which dialect you want to support, so the syntax IS different between them.

In fact, Pascal not even had a standard string type ( https://www.standardpascal.com/The_Programming_Language_Pascal_1973.pdf ), and this was added only by subsequent extensions, which were also incompatible each other.

So, the situation was and is even worse compared to the single (and planned) breaking of syntax happened with Python. In Python you have versions = 3 (again, backward compatible down to 3.0). So, only two Python "major versions", and from 2.7 to 3.0 there were only few and limited incompatibilities.


@bison Quote:
bison wrote:
@Trekiej

Well, since we have moved well beyond the original Fortran/Cobol/Pascal premise, I'll throw in my 2 cents: C and Python are the Dynamic Duo (Batman and Robin). Those two languages together span everything from low-level systems programming to one-off scripts.

This.

I've to say that I really don't like C & similar languages (I loved a lot Pascal & derivatives), but unfortunately it has so much support, and in some fields there's essentially no realistic alternative.

For the rest, Python is my primary programming language: clean and simple syntax, with a very high productivity.

 Status: Offline
Profile     Report this post  
_ThEcRoW 
Re: Computer Programming Languages
Posted on 23-Mar-2019 14:27:18
#31 ]
Cult Member
Joined: 12-Jan-2005
Posts: 834
From: Murcia (Spain)

As samuraicrow posted above, i think rust is the way to go into low level without the pointer nightmare. Also is a newer language.

_________________
Amiga 1200 desktop. Apollo 030/50 Mhz 8mb ram + ClassicWB + Wb 3.1
Amiga 500 + ACA500plus 8mb + 30gb CF
Raspberry Pi 3b+ and Amibian 1.4
Mac Mini G4 1GB Ram with the butterfly!!

 Status: Offline
Profile     Report this post  
bison 
Re: Computer Programming Languages
Posted on 23-Mar-2019 14:40:09
#32 ]
Elite Member
Joined: 18-Dec-2007
Posts: 2112
From: N-Space

@cdimauro

Quote:
I've to say that I really don't like C & similar languages (I loved a lot Pascal & derivatives), but unfortunately it has so much support, and in some fields there's essentially no realistic alternative.

I made peace with C a long time ago, but I'd still rather use D, which can be linked to C.

https://dlang.org/comparison.html

_________________
"Unix is supposed to fix that." -- Jay Miner

 Status: Offline
Profile     Report this post  
bison 
Re: Computer Programming Languages
Posted on 23-Mar-2019 14:48:46
#33 ]
Elite Member
Joined: 18-Dec-2007
Posts: 2112
From: N-Space

@_ThEcRoW

It's become a bit of a meme the last few years to say that everything would be better rewritten in Rust. I started the tutorial a few years ago and didn't get far -- the language was incomplete at the time and difficult to use for anything useful. I should take another run at it, if for no other reason than to see if all the hype is justified.

_________________
"Unix is supposed to fix that." -- Jay Miner

 Status: Offline
Profile     Report this post  
OneTimer1 
Re: Computer Programming Languages
Posted on 23-Mar-2019 14:56:29
#34 ]
Cult Member
Joined: 3-Aug-2015
Posts: 973
From: Unknown

@cdimauro

Quote:



In fact, Pascal not even had a standard string type



Pascal has an 'Array of Char' as string type.

Unfortunately the Pascal 'Strings' are not equal to zero terminated C-Strings that are used by most operating systems today.

 Status: Offline
Profile     Report this post  
Snorg 
Re: Computer Programming Languages
Posted on 23-Mar-2019 15:12:51
#35 ]
Regular Member
Joined: 1-Feb-2018
Posts: 117
From: Unknown

Well, by way of rounding things out, and tying in with the several considerations hth313 pointed out, if you want to exploit some of the benefits of functional programming, avail yourself of type and memory safety, and you want language support for concurrency, I suggest you have a look at Rust.

I really like it, but for now I'm putting up with the quirks of C++. Don't get me wrong, I really like C++, but some of the recent language 'advances', coupled with the exception-specification fiasco, have me looking elsewhere, too.

 Status: Offline
Profile     Report this post  
OneTimer1 
Re: Computer Programming Languages
Posted on 23-Mar-2019 15:19:18
#36 ]
Cult Member
Joined: 3-Aug-2015
Posts: 973
From: Unknown

@Yssing

Quote:

Yssing wrote:
@OneTimer1

I personally use freepascal via Lazarus IDE for all my windows based apps. It compiles for windowsCE, linux, mac and many more from the same IDE.
Lazarus is also an excellent visual builder, so designing a good GUI is very easy.


I did some programming with Delphi under Windows Embedded for a medical device.

The GUI Builder was excellent. AFAIK Lazarus is a reprogrammed open source version of Delphi.

The Meaning of Delphi as a programming language, is limited by the strange marketing decicions of the company that owns it.

It went from Borland to a company which name sound like 'Embargo', so many people believe it doesn't exist any more.

Last edited by OneTimer1 on 23-Mar-2019 at 03:21 PM.

 Status: Offline
Profile     Report this post  
Snorg 
Re: Computer Programming Languages
Posted on 23-Mar-2019 15:48:31
#37 ]
Regular Member
Joined: 1-Feb-2018
Posts: 117
From: Unknown

@OneTimer1

Embarcadero - although the Borland acquisitions remain under the CodeGear division. Yep, Delphi still exists ... for a premium.

 Status: Offline
Profile     Report this post  
OlafS25 
Re: Computer Programming Languages
Posted on 23-Mar-2019 16:07:37
#38 ]
Elite Member
Joined: 12-May-2010
Posts: 6338
From: Unknown

@OneTimer1

I still use Delphi 7 because I licensed lots of additional components for it. The only disadvantage is that it is 32bit but the software still runs everywhere

Lazarus also supports 64bit and different platforms so I looked at it already but for now Delphi 7 is sufficient to me.

 Status: Offline
Profile     Report this post  
Yssing 
Re: Computer Programming Languages
Posted on 23-Mar-2019 22:56:30
#39 ]
Super Member
Joined: 24-Apr-2003
Posts: 1084
From: Unknown

Delphi is still being actively developed.
Lazarus is based on Free Pascal and not Borlands Delphi. It can however import Delphi code.

http://www.lazarus-ide.org/index.php?page=about
Quote:
So just what is Lazarus? Lazarus is a Delphi compatible cross-platform IDE for Free Pascal. It includes LCL which is more or less compatible with Delphi's VCL. Free Pascal is a GPL'ed compiler that runs on Linux, Win32, OS/2, 68K and more. Free Pascal is designed to be able to understand and compile Delphi syntax, which is OOP. Lazarus is the part of the missing puzzle that will allow you to develop Delphi like programs in all of the above platforms. Unlike Java which strives to be a write once run anywhere, Lazarus and Free Pascal strives for write once compile anywhere. Since the exact same compiler is available on all of the above platforms it means you don't need to do any recoding to produce identical products for different platforms.


I have, so far not found anything, that I could not do in Lazarus. I use it extensively for making software that interfaces with various arduino setups, it works like a charm.
I used it, professionaly, for WindowsCE RFID scanners, used for inventory and sales.

Is it as powerfull as other languages, maybe not, but it is very approachable and easy to use, extremely portable and there is a large community supporting it.

FWIW, I find it's handling of pointers and arrays very elegant, but that is just my opinion..

I am not saying you should dump, what ever kind of language, for Pascal, but you can code almost anything using Pascal, even webpages (as CGI-BIN)

_________________

 Status: Offline
Profile     Report this post  
cdimauro 
Re: Computer Programming Languages
Posted on 24-Mar-2019 6:59:12
#40 ]
Elite Member
Joined: 29-Oct-2012
Posts: 3650
From: Germany

@bison Quote:
bison wrote:
@cdimauro

Quote:
I've to say that I really don't like C & similar languages (I loved a lot Pascal & derivatives), but unfortunately it has so much support, and in some fields there's essentially no realistic alternative.

I made peace with C a long time ago, but I'd still rather use D, which can be linked to C.

https://dlang.org/comparison.html

I know D, but I don't like C-like languages at all.

Another thing: creating projects mixing different languages has it's own problems. If I wanted to use a mixed-languages approach, then I would have preferred a combination of FreePascal (for my primary code) & C/C++ (when I need to interface to some libraries and/or includes). Certainly and definitely not another C-like language.


@bison Quote:
bison wrote:
@_ThEcRoW

It's become a bit of a meme the last few years to say that everything would be better rewritten in Rust. I started the tutorial a few years ago and didn't get far -- the language was incomplete at the time and difficult to use for anything useful. I should take another run at it, if for no other reason than to see if all the hype is justified.

Personally I found Rust syntax awkward. They lost the opportunity to create a language which was robust AND readable, creating another monster...


@OneTimer1 Quote:
OneTimer1 wrote:
@cdimauro
Quote:
In fact, Pascal not even had a standard string type

Pascal has an 'Array of Char' as string type.

Yes, in the past it was used a packed array of char to emulate strings.

Anyway, the problem is that "string" types were later introduced by different extensions in different modes, contributing to the general confusion.
Quote:
Unfortunately the Pascal 'Strings' are not equal to zero terminated C-Strings that are used by most operating systems today.

For me it was unfortunate that o.ses used (and essentially imposed) one of the worst string design ever: C strings.

 Status: Offline
Profile     Report this post  
Goto page ( Previous Page 1 | 2 | 3 | 4 | 5 | 6 Next Page )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle