Discuss Looking for a compiled programming language in the Dev Shed Lounge forum on Dev Shed. Looking for a compiled programming language Dev Shed Lounge forum discussing anything that doesn't fit into the other forums. This is a place to relax, talk, and even have some friendly debate. Walk softly and carry a big wiffle bat.
The ASP Free website provides in-depth information on the latest developer tools available from Microsoft. Our cadre of writers, highly experienced industry experts, reveals the best ways to use established technologies as well as new and emerging technologies. Our coverage of Microsoft's development and administration technologies is among the most respected in the IT industry today.
ASP Free and Iron Speed Designer are giving away $5,500+ in FREE licenses. Iron Speed's RAD CASE toolset can save up to 80% of your coding time. One free license per week, one perpetual license per month! Download and Activate to enter!
Intel® Graphics Performance Analyzers is a powerful tool suite for analyzing and optimizing your games, media, and graphics-intensive applications. Used by some of the best developers on the planet, Intel GPA lets you maximize your app’s performance.
Posts: 10
Time spent in forums: < 1 sec
Reputation Power: 0
Looking for a compiled programming language
Most of the languages I know are scripting languages, such as Perl and PHP, but I don't have a lot of knowledge of compiled languages, such as C or C++. I am looking to find out which language I should start learning. Ease of use and availability of help are my primary concerns.
Posts: 190
Time spent in forums: 4 h 57 m 52 sec
Reputation Power: 11
I would recommend you learn psuedo(sp?) code because the best thing to do is to learn how to program. If you know how to program then you simply need to learn the syntax of a language.
If you want to just 'cut your teeth', then I would recommend something like Pascal to learn programming. If you want to more powerful stuff then go for C, C++, or Java.
Posts: 1,430
Time spent in forums: 17 m 46 sec
Reputation Power: 12
Compiled languages are not necessarily extremely different from interpreted languages. If you have some experience in programming (regardless of the language), check out C - get a good book (not about MFC programming) and if you don't have a compiler yet, download a copy of gcc for your platform. The language is brutal but does not lack a certain beauty:
Code:
#define BITCOUNT(x) (((BX_(x)+(BX_(x)>>4)) & 0x0F0F0F0F) % 255)
#define BX_(x) ((x) - (((x)>>1)&0x77777777) \
- (((x)>>2)&0x33333333) \
- (((x)>>3)&0x11111111))
/* C code that counts the set bits in a word
stolen from my fortune cookie program's database */
Posts: 1,516
Time spent in forums: < 1 sec
Reputation Power: 12
I'd say C is very easy to learn, it's very small and many other languages are derived from C, so you'll probably recognize many elements. The thing about C is that you need to be fairly familiar with the hardware level, and you have access to very low-level things.
And of course, getting yourself acquainted with all the available libraries might be a bit of a job...
Posts: 5,966
Time spent in forums: 1 Month 2 Days 52 m 24 sec
Reputation Power: 188
Hey, nowhereman, he wants some advice for getting into programming, not to scare him like hell. this is really hard bread. it took me quite some time despite >10yrs of programming exp. to figure out what these lines do!!!
andnaess, yes, this is exactly why nowhereman´s lines are so hard to understand. it´s the low-level thing.
doing bitshifting nibble-wise, And´ing and modulo to find out how many 1´s in a number there are... this looks like some 2nd year university level stuff! i have no idea how this can work
to gamblor:
easier (but probably slower) solution:
int onebits=0;
for (i=0;i<32;i++) if (x & power(2,i)) onebits++;
(is there a power function in ansi c? if not, i remember it being something like i*exp(ln(2)) or similar... which i can´t explain either - i hate mathematics)
Posts: 1,430
Time spent in forums: 17 m 46 sec
Reputation Power: 12
Quote:
Originally posted by M.Hirsch
Hey, nowhereman, he wants some advice for getting into programming,
Gamblor said:
Quote:
Most of the languages I know are scripting languages, such as Perl and PHP
So, "most of the languages" and "such as". That makes at least three, of which one is unknown (and compiled) and the two others are definitely quite tough. Gamblor has definitely got into programming already.
Posts: 29
Time spent in forums: < 1 sec
Reputation Power: 0
Java is a pretty good language to learn, since it teachers Object Orienated stuff, and you spend more time learning how to program, instead of worrying about memory allocation and doing things in destructors, etc.
C/C++ generally gets better impressions for making real programs, but I recommand Java for learning. It doesn't take much to learn another language if you know how to program anyway.
Posts: 55
Time spent in forums: < 1 sec
Reputation Power: 10
Re: Looking for a compiled programming language
Quote:
Originally posted by Gamblor Most of the languages I know are scripting languages, such as Perl and PHP, but I don't have a lot of knowledge of compiled languages, such as C or C++. I am looking to find out which language I should start learning. Ease of use and availability of help are my primary concerns.
Sorry to burst your bubble, but you already know two compilable languages: Perl and PHP. Perl is compiled the first time it is run, and the compiled version stays in memory for the next execution. PHP can be compiled using the Zend tools, although you have to buy them.
As to what language(s) you should learn, it all depends on what you want to do.
Why the idea that you must learn a "compiled" language?? Is it "just because" or do you have a particular project in mind?? Is this to bolster your resume, for work?? Why??
You have to answer those, and questions like them, beforehand.
__________________
Linux is for those who hate Windows.
FreeBSD is for those who love UNIX.
-------
Have you read The Handbook yet?
How about The FAQ?
Have you searched the mailing lists?
Or read any of the man pages?
Have you searched the web for BSD resources?
In short, have you done your homework yet?