Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
faragon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
45 ms
·
601.
▲
by
faragon
10y ago
Thank you! :-D
602.
▲
by
faragon
10y ago
It is almost perfect. I would love real 4 core i7 with 8MB L3 cache CPU for laptops, instead of the 2 core (4 threads) with 4MB. Edit: 6th generation of mobile Intel CPUs have models with 4 cores and 8MB of L3 cache (i7-6970HQ), using 45W [
603.
▲
by
faragon
10y ago
Please, KISS, professor Stroustrup.
604.
▲
by
faragon
10y ago
Opus/sort.c implements Merge Sort, limited to 16383 records.
605.
▲
by
faragon
10y ago
I'm aware that SMW is a SNES game, newer than SMB3 (NES). My point was that SMW is focused in playability and fun, and not in color count nor overloaded graphics (e.g. the SNES is able to show 32768 colors, while SMW color count is way
606.
▲
by
faragon
10y ago
SMW was released in 1990... in Japan. In Europe it was released in 1992, and I was 16 years old then, with knowledge about software (I started programming at 12). Anyway, in both 1990 and 1992 there were much better looking video games (ric
607.
▲
by
faragon
10y ago
E.g. compare C++ std::map vs std::unordered_map on strings. You can find some benchmarks here: https://github.com/faragon/libsrt/blob/master/doc/benchmarks... (for 16 and 64 byte strings: cxx_map_s1
608.
▲
by
faragon
10y ago
Super Mario games are way better than what they look at first glance, in my opinion. E.g. even the 16-bit SNES Super Mario World, with its modest looking by its time, has a huge amount of work below everything: the games are so good because
609.
▲
by
faragon
10y ago
Depending on element size, maps implemented with binary trees instead of hash tables could give even faster results, with guaranteed O(log n), and without requiring rehashing.
610.
▲
by
faragon
10y ago
There are more systems than POSIX and Windows. Also, even in popular Linux systems Rust is not even installable in a straightforward way (e.g. Ubuntu 15.10, my system), so go figure. Regarding Rust bloat, I don't know if has got any be
611.
▲
by
faragon
10y ago
Author forgets some inconvenients of Rust: massive bloat, multi-platform issues, etc.
612.
▲
by
faragon
10y ago
On times with CPUs with so many cores, and with amazing single thread performance even at 3 GHz, overclocking is not what is used to be. E.g. in times when from a 33 MHz CPU you could get 21% speed-up running at 40MHz, or from 300 to 450 MH
613.
▲
by
faragon
10y ago
Well, C is simple in comparison to its alternatives. By a long shot, in my opinion :-)
614.
▲
by
faragon
10y ago
Theoretically, yes. In practice, you'll get "Frankensteins" with multi-platform compatibility issues.
615.
▲
by
faragon
10y ago
Also, there is the risk of re-doing everything and getting worse results: e.g. executable/library bloat, code harder to read/understand, interoperability/binding issues, etc.
616.
▲
by
faragon
10y ago
C is not going away because is useful, simple, beautiful, and has no problems on dynamic linking on most OSs.
617.
▲
by
faragon
10y ago
Please add "(2013)" to the title. TCC is an amazing project, and very useful, as there are few multiplatorm "C99 enough" compliant compilers. Also, it is suitable for using C as scripting language (!) P.S. Fabrice Bellar
618.
▲
by
faragon
10y ago
I was tempted to work for a company of Dubai in 2005, and discarded it because of the legal stuff involved. Scary.
619.
▲
by
faragon
10y ago
It is easier being egotistical when someone is able to live alone with enough comfort. I guess that it could be somehow "solved" with tax discounts by having kids, by sharing home with elder people, or even by sharing home in gen
620.
▲
by
faragon
10y ago
In my opinion, the problem is not intelligence per se, but intelligence willing to change everything in a totalitarian/idealist way. No matter if it is "artificial" or "natural".
621.
▲
by
faragon
10y ago
TL;DR: correlation vs causation.
622.
▲
by
faragon
10y ago
My last 3 discrete GPUs for PC were AMD, and while AMD keep reasonable prices, Linux Kernel support, and supporting standards on Linux (OpenGL, OpenCL), I'll continue buying from them.
623.
▲
by
faragon
10y ago
Fabrice Bellard is a genius.
624.
▲
by
faragon
10y ago
In my opinion, the way for ARM to succeed in the server space is: 1) One quarter the price for equivalent performance for server task (e.g. 500 USD for 48-core Qualcomm vs 2000 USD for 16-core (32-thread) Intel). E.g. the problem of 48-core
625.
▲
by
faragon
10y ago
Why is not the FBI actively targeting those criminals?
626.
▲
by
faragon
10y ago
Good news. I never imagined to buy a "Windows Phone", but if they do that, and provide a good "restore" system (i.e. easy recover of a non-booting phone via USB), I would be glad of using one, so I can avoid traveling wi
627.
▲
by
faragon
10y ago
Sure. I was arguing against "religion" ("put unit tests everywhere, for every single thing"), not as "anti tests". There are many kind of tests.
628.
▲
by
faragon
10y ago
I do. My point is that not all code is of same kind. E.g. for the case you point, I do extensive unit testing for synchronous code with inputs and output/s that does significant stuff, in order to avoid breaking past things with new ch
629.
▲
by
faragon
10y ago
I'm glad to read that. In my opinion, the problem starts when tests become a religion, e.g. forcing to put unit tests everywhere, no matter if it makes sense or not: just put tests, in order to justify that if whatever goes wrong, you
630.
▲
by
faragon
10y ago
Could be that the reason of the 6502 being, clock per clock, faster than the Z80? P.S. please consider adding "(2013)" to the title
More ›