Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
faragon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
241.
▲
by
faragon
9y ago
It was irony: "new paradigm" is a well known euphemism for "bubble".
242.
▲
by
faragon
9y ago
Now people is panicking, so it is likely that the sooner you sell, the better.
243.
▲
by
faragon
9y ago
Is there any reason for the Bitcoin being worth anything? Even in North Korea or Cuba it is easier to hold USD than Bitcoin. I'm sorry for the late investors, but people was warned since long ago.
244.
▲
by
faragon
9y ago
Sure, it is not a bubble, but a new paradigm... Oh, wait.
245.
▲
by
faragon
9y ago
TL;DR: Bitcoin is popping, and Ethereum is going to be the new bubble.
246.
▲
by
faragon
9y ago
Rust has yet to prove that.
247.
▲
by
faragon
9y ago
Do you know any big code base without bugs? That's not exclusive of C, e.g. check any big Java code base. Regarding Rust, I would like to see the kind od bugs that would arise in big code bases (thread contention, performance issues, e
248.
▲
by
faragon
9y ago
Sure. And the best "insurance" is having competent programmers.
249.
▲
by
faragon
9y ago
Yet another subtle pro-Rust rant against C. Programming is hard, and writing safe code requires knowledge, not just in C, but in every single language. Even in formal-validable languages you can make mistakes: may be you'll not make er
250.
▲
by
faragon
9y ago
C++ sort is faster than qsort mainly because it uses radix sort for integer data in most implementations. You can use radix sort in C, too, e.g. some benchmarks [1] [1] https://github.com/faragon/libsrt/blob/m
251.
▲
by
faragon
9y ago
I find Rust an ugly and overengineered language. C++ is getting ugly, too, but not that much. In my opinion, C is the simplest and the better for systems programming.
252.
▲
by
faragon
9y ago
TL;DR: yet another pro-Rust rant.
253.
▲
by
faragon
9y ago
It was until the 19th century, when it was somewhat normalized (census, etc.). Since the 20th century naming in Spain is pretty the same as Mexico and other Spanish speaking countries. All my known relatives names/surnames are without
254.
▲
by
faragon
9y ago
It was a common practice in Spain until the XIX th century. E.g. Miguel de Cervantes y Saavedra (1547-1616), the author of the book "Don Quixote" used the same pattern (in modern texts is often referenced without the "y"
255.
▲
by
faragon
9y ago
Before that, in 1930, the Spanish philosopher José Ortega y Gasset (two surnames) published "The Revolt of the Masses" book [1], going even further. [1] https://en.wikipedia.org/wiki/The_Revolt_of_the_Masses
256.
▲
by
faragon
9y ago
Memory fragmentation can be avoided by construction, e.g. using trees allocated in linear storage (e.g. like std::map is implemented, or the maps in libsrt [1]). For strings a binary tree (or a B/B+ could be faster), and it would not r
257.
▲
by
faragon
9y ago
Accessing unaligned 64 bit data in 32 bit ARM mode can generate exceptions, even in ARM v8 CPUs when running code in 32 bit mode. Full unaligned memory access for 16/32/64/128 bits is only guaranteed in AArch64 mode, if I rec
258.
▲
by
faragon
9y ago
PowerPC (and POWER) has reasonable hardware support for unaligned memory access, at least for 32-bit data, and if the data is in the data cache. Depending on the processor, the exceptions that reach the OS can be more or less frequent. ARM
259.
▲
by
faragon
9y ago
My point was explicitly about C, not C++. All these points are solved in C, decades ago.
260.
▲
by
faragon
9y ago
E.g. ABI compatibility, multi-platform support, tools, open source code base, community, etc.
261.
▲
by
faragon
9y ago
In my opinion, there are more reasons to rewrite Rust code in C.
262.
▲
by
faragon
9y ago
Why the OS don't prioritize UI threads on one or two cores?
263.
▲
by
faragon
9y ago
Are you sure C++ is the only thing to blame, and not how you use it?
264.
▲
by
faragon
9y ago
Super-resolution [1] using the Game Boy Camera: any taker? [1] https://en.wikipedia.org/wiki/Super-resolution_imaging
265.
▲
by
faragon
9y ago
With libsrt C library [1][2] using one thread on Intel Core i5 3330 (maps based on Red-Black tree, not hash tables, i.e. no rehash required): * libsrt i64-i64 map (equivalent to std::map <int64_t, int64_t>: > 10M QPS * libsrt strin
266.
▲
by
faragon
9y ago
The filesystem itself is a risk: per-user default permissions so any application launched by one user can trash all his files is scary. Even applications being able to access other installed applications is dangerous. I hope the industry fi
267.
▲
by
faragon
9y ago
May be the US is doing a wiser thing. I live in Spain, where high speed train was pushed in the era of the housing bubble, and in my opinion is not that big deal, except for communicating the two bigger cities of Spain (Madrid and Barcelona
268.
▲
by
faragon
9y ago
AMD strategy is very ambitious: attack on desktop, workstation, and server. Can't wait for buying a Ryzen Threadripper (workstation CPU) with up to 16 cores (32 threads), DDR4 quad-channel, and huge L3 cache.
269.
▲
by
faragon
9y ago
Can't wait for someone claiming the universe is made of Rust (the programming language), and how much better is than being made of C.
270.
▲
by
faragon
9y ago
Tests are good for detecting code that is not working as expected, using them as a investment/insurance, based on a budget . However, in my opinion, TDD is often more about an obsesive-compulsive religion built on wishful thinking on
More ›