Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
renox
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
45 ms
·
571.
▲
by
renox
6y ago
Sure but in practice Rust is as performant as C/C++ in benchmarks, so IMHO 'integer overflow is UB' should be scrapped..
572.
▲
by
renox
6y ago
> I've seen highly correlated failures on regular hard-drives too. Yes, very mysterious too, until you discover that when someone made a big hole in the wall of the room containing the HDD storage bay and that the HDDs are covered b
573.
▲
by
renox
6y ago
Bah MI was given a bad reputation by Java fans but their arguments weren't very persuasive.. The diamond issue? As shown in the article, it isn't really an issue, Eiffel actually use this solution.
574.
▲
by
renox
6y ago
Yep but DasBetterC isn't ten year old..
575.
▲
by
renox
6y ago
No, they don't provide alignment but they provide a way to write code once whatever the size of the implementation's vector registers. As for block copy instruction AFAIK there's no such things in RISC-V for example.
576.
▲
by
renox
6y ago
>why the hell isn't there an instruction in every processor to efficiently copy from arbitrary source to arbitrary destination with maximum bus efficiency? Uh, you're not an hardware designer and it shows.. What if there's
577.
▲
by
renox
6y ago
Well I love the Beatles but when I see (old) videos of women shouting so much that they cannot possibly hear the music and doing it for a loooonng time, I admit I don't understand their behaviour..
578.
▲
by
renox
6y ago
You've not used enough Ada: its variable length string is so clunky that fixed sized text is used instead..
579.
▲
by
renox
6y ago
Interesting workflow, the main issue I have with all this is that I use several worktree and sometimes I have to switch to a different worktree.. So I'd need something which stores relative path..
580.
▲
by
renox
6y ago
IMO it's simple: with undo you want to 'go back in time' so you want to remove the commit and get the exact same list of staged/modified files that you had before (especially useful when you made a git commit -a which ad
581.
▲
by
renox
6y ago
The second step isn't easy to parallelize while avoiding two CPUs writing to the same cache line..
582.
▲
by
renox
6y ago
Yep, I had two classes about network the first was 'top to bottom' and let me really confused, the second was 'bottom to top' and I understood the whole lesson without difficulty.. That said, it could be me: I was never
583.
▲
by
renox
6y ago
Except that by having fewer instructions in the ISA you may have to increase the number of instruction executed by the CPU which is what matters for performance/efficiency. Has RISC-V made the good tradeoffs? We'll have to wait a
584.
▲
by
renox
6y ago
I know you're joking but I still don't understand why (+ x y) is a good idea: clearly the first argument has a different meaning than the other, IMHO +(x y) show better the difference between the operation a d the arguments..
585.
▲
by
renox
6y ago
Threads easy to understand? Hmm, even the termination part? With all these old school network APIs?
586.
▲
by
renox
6y ago
I remember the talk where two different users measured different performance due to the username length..
587.
▲
by
renox
6y ago
Sigh, <> isn't the only way, D (as usual) has a very simple and clever solution f!(types)(parameter)
588.
▲
by
renox
6y ago
My previous manager was non technical, my current manager is an ex-developer, it makes things a bit simpler to have an ex-developer as manager but it isn't 'that' different, it just meant that before I had to simplify the des
589.
▲
by
renox
6y ago
> (most of us) will tell you that it doesn't really make much of a difference in practice. I disagree, I had to slice bitfields in Ethernet packets in Lua and I hated 1-based indexing very much! IMHO languages should either have 0-b
590.
▲
by
renox
6y ago
I have not yet finished reading the doc but the Introduction shows that its syntax is really clear, definitely not a classic Lisp
591.
▲
by
renox
6y ago
As these 'interpretations' provide no new prediction, I think that Occam's razor apply here..
592.
▲
by
renox
6y ago
I find strange talking about this kind of vector ISA without mentioning ARM SVE/SVE2 which is/will be similar..
593.
▲
by
renox
6y ago
Strong assertions.. I think that you'd better study the EPR paradox (E as in Einstein), Bell's inequality https://en.wikipedia.org/wiki/Bell%27s_theorem and the Alan Aspect (and other) experiments. To summari
594.
▲
by
renox
6y ago
That's funny: your post talk has exactly the same problems as string theory: untestable predictions. How are you going to do experiments which test whether 'consciouness is fundamental' or not?
595.
▲
by
renox
6y ago
> Java is another dominant language that you might not use for a new project. Same with C I would very much consider using Java for a new project, same with C(1) if the project is in "real time" (I think that C++ hides too much
596.
▲
by
renox
6y ago
Given that if you are starting a new project now, you'd almost never even consider using Cobol, that would be a very weird definition of 'dominant'..
597.
▲
by
renox
6y ago
>if anything the high performance aarch64 designs like Apple's M1 are more similar to x86_64 designs than previous generations. And? If an 'exotic ISA' can really offer some improvement, it must be able to compete with &#x
598.
▲
by
renox
6y ago
> it didn't win out. It didn't win because 1) making a top performing CPU is very expensive 2) you can only only recoup your investment by selling a lot of CPUs. So you need to be very efficient with the installed base of s
599.
▲
by
renox
6y ago
> One problem, particularly in the US, is that portion sizes are so large. This is true for every food in the US.. (I'm an overweight French guy who eat too much but in the US even the "small" portions were far too much fo
600.
▲
by
renox
6y ago
Thanks! I know quite a few gdb tricks but I didn't know about this one, which seems quite useful if you need to debug an interactive console program.
More ›