This link has been bookmarked by 50 people . It was first bookmarked on 02 Nov 2006, by a77ila.
-
18 Jun 17
kevinoempty
-
10 Jan 12
vvrbancIdući put kada čujete izjavu "ako treba biti brzo, mora biti pisano u C-u", možete dotičnoj osobi tutnuti pod nos ovaj link.
Ideja je da C nije inherentno brz već je samo "close to hardware", što je super kad pišeš svoj kernel scheduler ili driver za mrežnu.
S druge strane, C kompajler je kompleksan sustav no bez obzira na svu svoju pamet je glup u usporedbi s čovjekom jer ne zna dobro optimizirati neke slučajeve bez da mu se to eksplicitno kaže. U nekim drugim jezicima je te eksplicitne napomene mnogo lakše izreći, tj. implementirati algoritam kojeg će kompajler znati dobro optimizirati. -
09 Jan 12
-
They're good at things that need to get very close to the hardware - not in the efficiency sense
-
C and C++ suck rocks as languages for numerical computing.
-
Fortran
-
-
31 May 11
-
12 May 11
-
17 Nov 10
-
17 Dec 09
endolith -Here's the problem. C and C++ suck rocks as languages for numerical computing. They are not the fastest, not by a longshot. In fact, the fundamental design of them makes it pretty much impossible to make really good, efficient code in C/C++. There's a goo
-
20 May 09
-
08 May 09
-
07 May 09
-
06 May 09
-
05 May 09
-
04 May 09
-
23 Oct 08
-
The real semantics of almost anything interesting end up involving pretty much unrestricted pointers.
-
alias detection. Alias detection is identifying when two variables might be referencing the same location. Alias detection becomes a horrific mess in the presence of unrestricted pointers.
-
- C: 0.8 seconds.
- C++: 2.3 seconds.
- OCaml: 0.6 seconds interpreted, 0.3 seconds fully compiled.
- Java: 1 minute 20 seconds.
- Python: over 5 minutes.
-
-
11 Mar 08
-
30 Nov 07
-
18 Nov 07
-
27 Oct 07
-
18 May 07
-
27 Nov 06
-
07 Nov 06
-
06 Nov 06
-
03 Nov 06
Jim LeousArticle debunking some beliefs I've had concerning C. I think most people would tell you that it's not really for hardcore number crunching, but some of the Java JIT stuff will have me rethinking that.
C comparison computing java performance language programming
-
cjliseOn computer language efficiency
-
02 Nov 06
-
Here's the problem. C and C++ suck rocks as languages for numerical computing. They are not the fastest, not by a longshot. In fact, the fundamental design of them makes it pretty much impossible to make really good, efficient code in C/C++.
-
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.