Best compiled language?
- La historia me absolverá
- Posts: 2228
- Joined: 2008.09.19 (14:27)
- NUMA Profile: http://nmaps.net/user/maestro
- MBTI Type: INTP
- Location: Beijing
- Contact:
- Global Mod
- Posts: 1416
- Joined: 2008.09.26 (05:35)
- NUMA Profile: http://nmaps.net/user/scythe33
- MBTI Type: ENTP
- Location: 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
As for easy languages, D is a lot easier, but it's a huge mess with more features than documentation and basically no compiler support, plus it's not as fast. Common Lisp, in the form of SBCL or some other CMUCL derivative, is compiled but slightly slower though a lot more flexible than D and simpler than Haskell or OCaml. Ada, the infamous military language, is faster than all the other options and very simple, but incredibly verbose. It might actually be your best choice here but I have no experience and I've never met anyone who uses it very often. Go, Google's language, is compiled and may well fit your requirements, but it's a good deal slower and is beaten by the faster VM languages (Java, Scala, Lua, and C#); it's also new and I don't know what library support looks like, especially on Windows (I don't even know if you can write Windows GUIs with it yet).
I'd say either Haskell or Ada, depending on how you feel about functional shit. For what it's worth, Suki hated Haskell.
Oh, and J is compiled.
- Average Time to Take Breakfast in Equador
- Posts: 640
- Joined: 2008.09.27 (03:11)
- NUMA Profile: http://nmaps.net/user/geti
- MBTI Type: ENFJ
- Contact:
Why do you want to stay away from C/++?
"I'd be happy for a lion if it hunted me down and ate me, but not so happy for it if it locked up me and my family, then forced us to breed so it may devour our offspring." - entwilight <3
How do you know that God didn't intend for humans to be the animals' caretakers? He might be appalled that He gave us these animals to use and we're fucking eating them. - Tsukatu
4th - DDA Speedrunning Contest.
One Hundred Percent Vegetarian
- La historia me absolverá
- Posts: 2228
- Joined: 2008.09.19 (14:27)
- NUMA Profile: http://nmaps.net/user/maestro
- MBTI Type: INTP
- Location: Beijing
- Contact:
Curiosity, basically, since I already know C /C++ (and BASIC for that matter).Geti wrote:lol I'd say actionscript but it would be a massive joke. It is compiled though. You could go for BASIC actually, it's not quite the scumbucket everyone who codes in C like a machine makes it out to be.
Why do you want to stay away from C/++?
I've never touched a functional language before, so I'll have a look at some of those. Haskell looks an interesting challenge.
- Average Time to Take Breakfast in Equador
- Posts: 640
- Joined: 2008.09.27 (03:11)
- NUMA Profile: http://nmaps.net/user/geti
- MBTI Type: ENFJ
- Contact:
Oh, well, that changes the context a fair bit. Be sure to give us a look at the results then :)triplesec wrote:Curiosity, basically, since I already know C /C++ (and BASIC for that matter).
"I'd be happy for a lion if it hunted me down and ate me, but not so happy for it if it locked up me and my family, then forced us to breed so it may devour our offspring." - entwilight <3
How do you know that God didn't intend for humans to be the animals' caretakers? He might be appalled that He gave us these animals to use and we're fucking eating them. - Tsukatu
4th - DDA Speedrunning Contest.
One Hundred Percent Vegetarian
- Retrofuturist
- Posts: 3131
- Joined: 2008.09.19 (06:55)
- MBTI Type: ENTP
- Location: California, USA
- Contact:
For a number of Project Euler problems, once I found the solution, I rewrote the code I used to find the solution in Ruby and compiled Common Lisp for comparison. C almost always blows everything else out of the water.
But seriously, if you're not familiar with GLib for C, you're really not doing yourself many favors. GLib has tried-and-true implementations for hash tables, sets, array variants, regular expressions, etc., etc. It's all the stuff you wish you'd saved from your Data Structures classes, except written and tested to death by professional C ninjas. It's like Boost for C++, except that C isn't a bloated, schizophrenic trannie.
Although the shell was surprisingly fast at finding a shit-ton of primes. I guess it might have something to do with the efficiency of pipes, so that the whole process is as parallelized as possible.
Here, for example, is GNU coreutils used to generate all primes (except 2) less than 10 million:
- Depressing
- Posts: 1977
- Joined: 2008.09.26 (06:46)
- NUMA Profile: http://nmaps.net/user/rennaT
- MBTI Type: ISTJ
- Location: Trenton, Ontario, Canada
- Contact:
'rret donc d'niaser 'vec mon sirop d'erable, calis, si j't'r'vois icitte j'pellerais la police, tu l'veras l'criss de poutine de cul t'auras en prison, tabarnak
- Retrofuturist
- Posts: 3131
- Joined: 2008.09.19 (06:55)
- MBTI Type: ENTP
- Location: California, USA
- Contact:
Improving your UNIX skills and having a love life have really proven to be mutually exclusive. After attempting in vain to juggle them for a bit, I decided on a full sprint into the former, with a glimmer of hope in the distance that I'd end up writing an AI sophisticated enough that I could confuse it for a friend. ;_;hairscapades wrote:I think you need a girlfriend but can't decide if maybe you deserve ten of them for that post.
- Lifer
- Posts: 1099
- Joined: 2008.09.26 (21:35)
- NUMA Profile: http://nmaps.net/user/smartalco
- MBTI Type: INTJ
Don't ask me how but I read that as 'an AI sociopathic enough', and still thought it fit for you.Tsukatu wrote: with a glimmer of hope in the distance that I'd end up writing an AI sophisticated enough that I could confuse it for a friend. ;_;
Tycho: "I don't know why people ever, ever try to stop nerds from doing things. It's really the most incredible waste of time."
Adam Savage: "I reject your reality and substitute my own!"
-
- Plus (Size) Member
- Posts: 42
- Joined: 2008.09.27 (02:56)
Well hello there, GLaDOS. You're looking mighty modular today...smartalco wrote:Don't ask me how but I read that as 'an AI sociopathic enough', and still thought it fit for you.Tsukatu wrote: with a glimmer of hope in the distance that I'd end up writing an AI sophisticated enough that I could confuse it for a friend. ;_;
Who is online
Users browsing this forum: No registered users and 1 guest