home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: cix.compulink.co.uk!usenet
- From: jralph@cix.compulink.co.uk ("Jolyon Ralph")
- Subject: Re: E
- Message-ID: <DpJo8z.HrM@cix.compulink.co.uk>
- Organization: Compulink Information eXchange
- References: <19960407.E196AD0.2D7E@hydra.zrz.tu-berlin.de>
- Date: Mon, 8 Apr 1996 13:02:58 GMT
- X-News-Software: Ameol32
-
- > You may be right there..i'd like more additional, fancy features
- > also..this
- > begins with support for different CPUs, optimizing, FPU-support and this
- > and that and what do i know else...but this does not mean the language
- > is BAD now because some feature is missing....
-
- I agree, but support for different CPU's and FPU's is *vital* for a large
- commercial project like Photogenics (and my original argument was that E
- was not suitable for /commercial/ software, and as we're the only people
- who seem to have tried using it for that, I guess I may be right). E is a
- fine language for people to experiment with, to learn the basics of
- programming with (if they're scared of C) and for writing small
- utilities, etc. But it won't replace C (and I don't think Wouter ever
- intended that anyway), and if you're an experienced E programmer I'd
- suggest you take another look at C. Yes, the compiler is slower, but the
- end result code will, in many cases, be better. And as it's only you who
- compiles your code, and people will be running the end result (possibly)
- millions of times, it's better to have one person (the programmer)
- inconvenienced and have the majority (the users) save time in the long
- run with more optimal code.
-
- > I think you/we should
- > differ between the language as such (which is great work by wouter, it
- > makes sense and it's concept is great...) and how the compiler then
- > works...
-
- I don't think the actual E language is that wonderful (the expression
- parsing is poor, the lack of strong typecasting can cause no end of
- problems, etc, etc), but I do think that Wouter has done a good job with
- the compiler implementation - full credit for writing a new language and
- building a whole compiler to go with it, it's not easy doing all that on
- your own. I don't like the language very much myself, but that doesn't
- mean I don't respect the amount of work and effort Wouter's put into the
- project.
-
-
-
- > What ya mean ? "The compiler"...or "The language" ?! I must admit
- > besides
- > of (forced) compiling of some C-sources i have never (thank god) done
- > much
- > programming in C....that's because i do not like this much steps of
- > linking,
-
- With SAS c, you edit mycode.c and type
-
- sc link mycode.c
-
- That generates a complete executable for you, one easy step. (and why
- Lattice couldn't have done that years ago I'll never know :-)
-
- But there are times you need the power of the linker, especially for
- larger projects.
-
- SAS c is a better compiler than EC. Regardless of my reservations about
- the language itself, EC doesn't produce as good code, for a reasonably
- written piece of E/C. This is no bad reflection on Wouter - it's simply
- that SAS has been developed over many years by many people - EC has been
- developed over less years by one person.
-
- > assembling and general work most C-compilers need for doin' the same
- > what
- > is just a keypress in my CygnusED ;) The EC is f***g fast..the
-
- EC is f***ing fast, but it's not my prime concern when writing code.
- Unless i learn how to type 6000 times faster, writing the code will
- always be the slowest part of my programming day. E makes it MORE
- dificult for me by slowing down this process (I don't like being forced
- to use uppercase for this, lower case for that, etc.) - I admit this is
- because I'm used to C and won't be the case if you're used to E to begin
- with.
-
- But speed isn't everything. I'd much rather use a slow compiler with
- better output any day... I guess if you're still using a 68000 computer
- (a500 etc) then SAS may be unbearably slow, but most of us are using
- reasonably fast Amigas by now I'd guess...
-
- > Some nice C-example:
- >
- > for(s;e;u) {
- > t;
- > };
- >
- > Look at the brackets/syntax and when expressions here get
- > executed how often....and explain me the logic behind that ;)
-
- C isn't the best language in the world (C++ even more so), but they're
- standard. Any computer language has certain oddities that need getting
- used to (if it doesn't it's invariably a very inflexible language). E has
- oddities, such as the expression parsing, the upper/lower case letter
- requirement of library functions - so KPrintF in E becomes KprintF,
- etc...)
-
- But once you've learnt C, you won't need to bother learning a new
- language for a long time, so it's worth the effort :-)
-
- Jolyon
-