Welcome, Guest. Please login or register.

Author Topic: Programming Software  (Read 4527 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Andeda

  • Hero Member
  • *****
  • Join Date: Jan 2006
  • Posts: 594
    • Show only replies by Andeda
Re: Programming Software
« Reply #14 on: February 12, 2008, 12:16:20 PM »
What Amiga C compilers are you guys using these days?
Amiga: A computer for the creative mind.

Sam440ep 667Mhz + OS4.1
Minimig (Home made)
A1200/030
A2000/030
A500 * 3
CD32
 

Offline Caius

  • Sr. Member
  • ****
  • Join Date: Nov 2007
  • Posts: 294
    • Show only replies by Caius
Re: Programming Software
« Reply #15 on: February 12, 2008, 12:40:18 PM »
I use StormC4, which is basically a pretty integrated environment on top of GCC 2.95.3. It's not just pretty though, it's also highly useful and enjoyable to work with.
Theology is just a debate over who to frame for creating reality.
 

Offline Caius

  • Sr. Member
  • ****
  • Join Date: Nov 2007
  • Posts: 294
    • Show only replies by Caius
Re: Programming Software
« Reply #16 on: February 12, 2008, 12:47:01 PM »
A note on StormC4. It requires lots of memory. If you have less than 32MB Fast RAM you need not bother (you CAN get by with 16MB, but I wouldn't recommend it). In that case you could look into SAS/C (which you can't purchase anywhere these days), or GCC. The latest GCC for classic Amiga is 2.95.3, though there was a 3.4 update, but I can't seem to find the link right now.
Theology is just a debate over who to frame for creating reality.
 

Offline StormLord

  • Full Member
  • ***
  • Join Date: Oct 2003
  • Posts: 233
    • Show only replies by StormLord
    • http://www.amimac.gr
Re: Programming Software
« Reply #17 on: February 12, 2008, 12:56:03 PM »
@Braddo

As I see from your writting you are a nooby here...
I can understand that because you don't know to whom are you talking..
I don't want to say that piru is a magician or whatever, but if you were familiar with amiga community you would know that he has done a lot of programming for the platform and for sure he actually HAS IDEA of what is he talking about.
bytheway what have you produced for the amiga community?? because you talk like a guru, so I think that maybe I am misteken about your knowledges...care to point out some programms or routines you made?
I don't want to be sounded like I want to attack you personaly..
But I realy feel that one reason that the amiga platform is starving from developers is because we act as ***** by only critisizing (not constructive but insulting) all people that are trying to create something, and all that critisism is come from people that never created anything.
You know.. when a programmer doesn't like a program that someone else did , they just go and create the same program in a different way. but no {bleep}ing..
Well.. Sometimes piru is a little arrogand but at least he knows of what is he talking about.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Programming Software
« Reply #18 on: February 12, 2008, 01:06:05 PM »
@Braddo
Quote
Yes it is.

C is very low level language:
"C is an imperative (procedural) systems implementation language. Its design goals were for it to be compiled using a relatively straightforward compiler, provide low-level access to memory, provide language constructs that map efficiently to machine instructions, and require minimal run-time support. C was therefore useful for many applications that had formerly been coded in assembly language."

Quote
The possibilities of what you can do when you are able to hit the hardware directly are almost endless

You can hit hardware with C just fine.

Quote
I suggest you take a look at the hardware registers. Not to mention the speed benefits.

You can access the hardware registers from C just fine. In most cases when poking hardware C is equally fast as assembly (the hardware is actually bogging the access down).

Quote
However saying you will be learning wrong things 99.9% of time?

When coding in assembly you will be writing the initialization, cleanup and other support code most of the time, rather than actually concentrating on the actual important bits. This is very tedious work, and often this support/init/cleanup code is executed only once. There is no need to write it in assembly. It generally is a good idea to write your code in C or C++, and later on identify locations that need speed up. If even after algorithm level optimization the code is too slow, only then you should consider rewriting that bit in assembly. Even then you only want to optimize the critical bits (innerloops and such).

Quote
You obviously have no idea what you are talking about.

I think I am quite qualified to talk about both assembly and C coding.

Some stuff:
http://www.iki.fi/sintonen/sw/
http://www.iki.fi/sintonen/src/

Quote
As for removing the link, I won't be doing that.

Fair enough. The moderating policy has become more lax recently, and that was just a suggestion. I just thought it would be nice to support he remaining amiga dealers.
 

Offline McVenco

  • Hero Member
  • *****
  • Join Date: Feb 2006
  • Posts: 1428
    • Show only replies by McVenco
    • http://www.amigascene.nl
Re: Programming Software
« Reply #19 on: February 12, 2008, 01:07:45 PM »
Quote
You obviously have no idea what you are talking about.


And you say that to Piru? :lol:

Quote
As for removing the link, I won't be doing that. If a moderator feels the need to do so then they can feel free.


It's against amiga.org's forum posting policies to post links to warez. You have agreed to these terms when you signed up, so leaving that link as it is doesn't make you look any better in here...

And yeah, I'm curious too as to what you have made for the Amiga, being this asm-guru and all :-)
| A4000 | CS-MK3 060@50 | Picasso IV |
| Member of Team Amiga (tm) | FidoNet 2:286/414.18 (long ago) |
| SysOp The Missing Channel BBS | Member of AGA BBS Intl. |
 

Offline A6000

  • Sr. Member
  • ****
  • Join Date: Nov 2007
  • Posts: 443
    • Show only replies by A6000
Re: Programming Software
« Reply #20 on: February 12, 2008, 01:35:39 PM »
Real men program in machine code using LED's and switches. :-)
 

Offline Caius

  • Sr. Member
  • ****
  • Join Date: Nov 2007
  • Posts: 294
    • Show only replies by Caius
Re: Programming Software
« Reply #21 on: February 12, 2008, 01:39:03 PM »
@thread
Can we please move on from this pissing contest over which programming language is faster/better/etc and actually try answering the original poster's questions as adults? All this thread needs now is 1337 speak. Jeez.
Theology is just a debate over who to frame for creating reality.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Programming Software
« Reply #22 on: February 12, 2008, 01:44:00 PM »
@ThePieman

programming language: C
compiler: SAS/C (if you can find & afford it), if you can't: gcc (or if you must have IDE, StormC4 or CubicIDE [thanks Hans_!])

If you need to use assembly for some bits: PhxAss, PhxLnk

Must have programming references and stuff: Amiga Developer CD v2.1 (this is easily available from Amigakit for example).

For advanced amiga hacking: The Amiga Guru Book
 

Offline chiark

  • Sr. Member
  • ****
  • Join Date: Jul 2004
  • Posts: 308
    • Show only replies by chiark
    • http://www.chiark.com
Re: Programming Software
« Reply #23 on: February 12, 2008, 01:51:13 PM »
For what it's worth, I still like DICE C.  I think it's the only compiler that'll run off floppy (if you're that masochistic) so it doesn't exactly have huge requirements.

It's now available free from OIC - http://www.obviously.com , as is the complete source to DICE, which is nice.


Celebrating 21... no, make that 27... years of Amiga use
 

Offline Hans_

Re: Programming Software
« Reply #24 on: February 12, 2008, 01:54:54 PM »
Quote

Piru wrote:
@ThePieman

programming language: C
compiler: SAS/C (if you can find & afford it), if you can't: gcc (or if you must have IDE, StormC4)


He could also buy CubicIDE.

I second the call to use C. GCC is also a C++ compiler so you could even use C++ if you wanted to. You just have to be careful how you use it in order to obtain speed. Assembler should only be used to optimize routines when absolutely necessary. That's done after you use a profiler to find the bottlenecks in the program. In some cases C code is as fast as assembly (depending on the compiler), and in others it's pretty close.

Hans
Join the Kea Campus - upgrade your skills; support my work; enjoy the Amiga corner.
https://keasigmadelta.com/ - see more of my work
 

Offline ThePiemanTopic starter

  • Newbie
  • *
  • Join Date: Feb 2008
  • Posts: 36
    • Show only replies by ThePieman
Re: Programming Software
« Reply #25 on: February 13, 2008, 05:33:56 PM »
Thanks for all your comments. I didn't realise there was still so much competition between programming languges.

I think my best starting point will be to start with C and C++ as this is what I am more use to using. Although I may be interesting and a learning curve to look at some of the other programming languges mentioned.

Thanks
ThePieman
 

Offline Andeda

  • Hero Member
  • *****
  • Join Date: Jan 2006
  • Posts: 594
    • Show only replies by Andeda
Re: Programming Software
« Reply #26 on: February 13, 2008, 05:56:57 PM »
How about hisoft c++, is that compiler any good? can i use it with c ?
Amiga: A computer for the creative mind.

Sam440ep 667Mhz + OS4.1
Minimig (Home made)
A1200/030
A2000/030
A500 * 3
CD32
 

Offline Caius

  • Sr. Member
  • ****
  • Join Date: Nov 2007
  • Posts: 294
    • Show only replies by Caius
Re: Programming Software
« Reply #27 on: February 13, 2008, 06:03:24 PM »
Quote
ThePieman wrote:
Thanks for all your comments. I didn't realise there was still so much competition between programming languges.

If you enjoy reading flamefests on the topic just visit slashdot and watch the fray  :destroy:
Theology is just a debate over who to frame for creating reality.
 

Offline Caius

  • Sr. Member
  • ****
  • Join Date: Nov 2007
  • Posts: 294
    • Show only replies by Caius
Re: Programming Software
« Reply #28 on: February 13, 2008, 06:08:23 PM »
Quote
Andeda wrote:
How about hisoft c++, is that compiler any good? can i use it with c ?

Yes, HiSoft C++ is quite nice. And yes, you can use it for C. All C++ environments I've ever heard of comes with a C compiler.

For serious C++ you'll want the Standard Template Library (STL). On the Amiga that means either GCC 3.4, or you can attempt to adapt STLport for your choice compiler.
Theology is just a debate over who to frame for creating reality.
 

Offline Andeda

  • Hero Member
  • *****
  • Join Date: Jan 2006
  • Posts: 594
    • Show only replies by Andeda
Re: Programming Software
« Reply #29 from previous page: February 13, 2008, 06:16:55 PM »
Ok thanks, i have never been much of a coder but it would be nice to do some easy programs in C again  :-)
Amiga: A computer for the creative mind.

Sam440ep 667Mhz + OS4.1
Minimig (Home made)
A1200/030
A2000/030
A500 * 3
CD32