Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
0x07c0
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
0x07c0
11y ago
restrict is probably a better example! https://en.wikipedia.org/wiki/Restrict
32.
▲
by
0x07c0
11y ago
>And a good compiler doesn't only optimize for speed. It also optimizes for code size, memory usage. No they don't. Code size is rarely a problem (embedded probably cares..). Optimizations will in most cases lead to larger cod
33.
▲
by
0x07c0
11y ago
That number my have be true pre 2000, but with the move to parallel architectures it is grossly wrong. Optimization is not about saving a few cycles here and there. It is about using the whole machine, multiple chips, all with multiple core
34.
▲
by
0x07c0
11y ago
I really like Douglas McIlroy concept of negative code . Also, the varnish source is really nice! Pen kode ;) http://programmers.stackexchange.com/questions/103807/what-i...
35.
▲
by
0x07c0
11y ago
Cant a legal hack be to move core security development out of US jurisdiction, and let Apple USA lease tech from Apple Iceland/Switzerland/Ireland/etc, as is done with taxes today ? This would make Apple USA unable to fulfil
36.
▲
by
0x07c0
11y ago
Well the part about asm was obviously a joke, control structures are nice to have. My point was that in many domains goto's are useful, both for solving problems, getting performance and for code clarity.
37.
▲
by
0x07c0
11y ago
stdlib do have this: #include <setjmp.h> longjmp(BACK_TO_MAMA,1); Never used this though.
38.
▲
by
0x07c0
11y ago
They are not corner cases, it rely depend on what domain you work in. Currently working on "tooling" for HPC application, and use goto all the time. Any form of system programming in c will probably have lots of goto's. Err
39.
▲
by
0x07c0
11y ago
In my current project I use both. Direct coded lexer and a vm using gnu-c &&label.
40.
▲
by
0x07c0
11y ago
"..Turkish camps in Syria which the Turkmens are being trained, stating that it still takes place unofficially and in a secret way.[6][7] He added that Turkish Forces are training the Syrian Turks to protect their settlements and to jo
41.
▲
by
0x07c0
11y ago
They also hit one of the rescue helicopters with a missile . Shooting down the plane, killing of the pilots in the air (by Turkish assets), ambush of rescue party. This looks like a planed provocation to me. http://www.reuter
42.
▲
by
0x07c0
11y ago
Used it the remove the shareware block (Capitan something )..
43.
▲
by
0x07c0
11y ago
U can also use something like openMP (Newer versions has pragma's for SIMDs) to help the compiler expose parallelism in your code. (Hard fore a compiler to figure out the intent of the programmers. So be nice and give the the poor comp
44.
▲
by
0x07c0
11y ago
If they get larger file sizes then that probably means they are doing something wrong. Optimized a mpg encoder with SSE once. And larger file size was usually do to some lose of floating point precision. Going thorough the functions and com