Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
renox
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
82 ms
·
601.
▲
by
renox
6y ago
Good for you, but at work I’m not so lucky (large C++ project == CLion is so slow to be only usable if you’re a zen master). For debugging, gdb -tui works for me (once I’ve learned to refresh the display after an output). For coding, VSCode
602.
▲
by
renox
6y ago
The thing is sometimes it's faster to goes to the shell use a grep -r/ag than to wait that 'jump to definition' does its job.. Depends of course the language and the project, but it's true for me at my work big C++
603.
▲
by
renox
6y ago
I wonder why they created their own language over creating a tool over Go for example.
604.
▲
by
renox
6y ago
Walter Bright (D's author) said something like: who's going to check the error returned by the log functions? I would add if you want to be correct then the addition signature should be (IntX, IntX) -> Either<IntX,Error>.
605.
▲
by
renox
6y ago
You should only use raw block number instead of filesystems this way you would get even better performance /S
606.
▲
by
renox
6y ago
Uh? While Rust provide memory safety it doesn't prevent memory leaks..
607.
▲
by
renox
6y ago
There's a similar explanation for Linux's success on servers: Linus is very strict on backward compatibility for the kernel. But for Linux on desktop, the rest of the stack (GUI environments) is made by a bunch of CADT devs who do
608.
▲
by
renox
6y ago
> This is really great, but RISC CPUs can have microcode too Sigh , straight from the article "In fact some RISC processor use Microcode for some of their instructions just like CISC CPUs."
609.
▲
by
renox
6y ago
I think that's a very good way to have a long list of things stashed that you don't remember what they are. Commiting your changes is much better as you can add an explanation for your futur self.
610.
▲
by
renox
6y ago
I'm not so sure that both events are not linked, given that the peasants were 'seceding' they probably prepared themselves against an army which would explain why they were able to fight against the Vikings..
611.
▲
by
renox
6y ago
Which is one of the main cause of the crash.. Is there an alarm now indicating conflicting inputs from pilots on Airbuses?
612.
▲
by
renox
6y ago
Also for non-optimised compilations, Zig devs are working on their own backend which should be much faster. That said, I don't know if I'm interested in Zig: I like comptime but passing around allocators doesn't seem pleasant
613.
▲
by
renox
6y ago
I'm not surprised: one of Wayland's goal is to produce 'perfect frame' at the very least this has a latency cost..
614.
▲
by
renox
6y ago
What is amusing about the VPRI project is that, even though the number of lines is low, nobody managed to replicated what they did.. Or more precisely, nobody was able to build something which work with the pieces of code they left. An impr
615.
▲
by
renox
6y ago
Especially since GCs aren't free in memory usage nor in latency.. But yes, if you don't care too much about these two a GC is a good default.
616.
▲
by
renox
6y ago
In the first diff after the @@ there's a reference to the enclosing class, in the second diff it's a reference to the enclosing method. Which could help perhaps if the methods are moved?
617.
▲
by
renox
6y ago
While I agree that D is a 'treasure' (full of good ideas that should be copied more often by other languages) I don't understand why you think that D's way is better than Zig here.. What exactly do you prefer?
618.
▲
by
renox
6y ago
I don't know: debugging textual macro isn't fun but it isn't that hard either (provided you can convince your stupid build system to add a -E to your compiler flags), debugging AST macro sounds to me like debugging templates:
619.
▲
by
renox
6y ago
There's more to safety in system programming than "use Rust".. What about Ada/Spark ? Fuzzing?
620.
▲
by
renox
6y ago
I work in telecoms and 'template like this' show up from time to time sometimes for reasonable reasons, sometimes for 'optimisations' reasons which are not backed by figures (some programmers like to show off).
621.
▲
by
renox
6y ago
If the usage of more advanced concept helped reduce the number of lines, better maintainability or increased performance, you may have a point but notice that it was two lines replaced by two lines. I've always suspected the sub to inc
622.
▲
by
renox
6y ago
It can sure but I remember having to spend 2hours(with a reference manual open) rewriting two lines of Perl script that a sub wrote (after a colleague told me that he couldn't understand the script) into two lines that a Perl beginne
623.
▲
by
renox
6y ago
> I've never used CLion but I really want to. Well, it has the best indexing of C++ I've seen but it's also the slowest IDE I've used (I've stopped using it when it froze showing a blank page for many minutes whe
624.
▲
by
renox
6y ago
sigh don't forget the /s next time..
625.
▲
by
renox
6y ago
I'm not so sure, I've been thinking about how to implement a fastest 'very small map' (let's say a maximum of 16 key, with the keys being 2 bytes), but for this I need to learn SIMD x86 assembly language :-(
626.
▲
by
renox
6y ago
> hjson (now unmaintained) Which is quite sad, as I thought that it was the best one (if memory serves)..
627.
▲
by
renox
6y ago
Doesn't seem like a design usable for modern GPUs..
628.
▲
by
renox
6y ago
> Eclipse is so slow and terrible I won't even consider it Very funny! On our codebase CLion is very, very, very slow.
629.
▲
by
renox
6y ago
There are several GNAT compiler versions the FSF version has a linking exception, the Adacore pro version requires a commercial license. IMHO they should have renamed the FSF GNAT (1) to clarify the situation.. 1: I suggest FAda :-)
630.
▲
by
renox
6y ago
Ada is older than Unicode..
More ›