Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kaba0
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
541.
▲
by
kaba0
3y ago
Leaving the same buffer displayed a million times is cheap. Redoing it always from scratch, even if you arrive at the same result, is expensive. A good example of that would be retained vs immediate mode GUIs.
542.
▲
by
kaba0
3y ago
As much as I love linux, it is very painful to accept the state of “security”, this is beyond criminal. Especially that many people just put their head into the sand. The age-old xkcd about linux being secure only about your video card driv
543.
▲
by
kaba0
3y ago
Lower latency is not the ultimate goal. Energy efficiency, for example, is another important factor DEs have to optimize for, that can be negatively affected by lower latencies. Ultra-low latency on a laptop, that will poweroff in an hour i
544.
▲
by
kaba0
3y ago
It doesn’t bother me, I was just interested in whether the benchmark is fair in this respect (it is xorg only, so the answer is yes). I personally believe that 120+ hz gives barely any benefit, though.
545.
▲
by
kaba0
3y ago
Missed that part, sorry. I thought one of those terminal emulators were Wayland only, hence my question.
546.
▲
by
kaba0
3y ago
Does it take into account Wayland, and its double-buffered nature (unless you specifically opt for disabling v-sync, see the presentation protocol)?
547.
▲
by
kaba0
3y ago
I thought the abstraction I wrote sort of implied an interpreted mode for the runtime, no JIT compilation. Apologies for not being clear.
548.
▲
by
kaba0
3y ago
That’s not quite true. It only depends on what level of abstraction are you willing to do — you can write a runtime with GC entirely in safe rust (or a managed language).
549.
▲
by
kaba0
3y ago
> This sounds intuitively true. So...what if GC languages could introduce an optional annotation for an object to say that only one reference to it can exist, and use that as a hint to the GC Tracing GCs fundamentally look at what is sti
550.
▲
by
kaba0
3y ago
You can trivially convert any such Turing machine to another simply by adding n new states to it, that map a letter of the previous alphabet to the new’s. With all due respect, you are misunderstanding something/bring something up with
551.
▲
by
kaba0
3y ago
In Java, the Epsilon GC is just that.
552.
▲
by
kaba0
3y ago
How is a try-with-resources not guaranteed? At least in Java, it is guaranteed to run - plus, you can get your closing/destructor logic wrong in RAII languages as well.
553.
▲
by
kaba0
3y ago
I disagree with 2 being manual memory management. There is definitely a lack of control in contemporary managed languages (though it’s also far from perfect in low-level languages) for memory layout, but there are definitely ways to affect
554.
▲
by
kaba0
3y ago
Above that you might easily get measuring artifacts, like the OS swapping out your process once, or so.
555.
▲
by
kaba0
3y ago
> and their use is optional It is not, if you have objects with dynamic lifetimes, and allocating them for the whole duration of the program is not an option. Sure, their use can be much less than a managed language that can only do auto
556.
▲
by
kaba0
3y ago
Fair, I do think that languages are tools and we should select the ones that are appropriate for a task. But that doesn’t make every tool useful, especially that languages do depend on network effects quite a lot, unlike a hammer. There was
557.
▲
by
kaba0
3y ago
What does it do right? It has a bad type system, has bad scoping rules (defer does it at the end of the function , really?!), bad conventions (capitalization as visibility, really? Also, unused variable disallows compilation is just absolu
558.
▲
by
kaba0
3y ago
I mean, yeah, if you go deep enough your OS may decide to schedule your browser thread to a different core as well. I don’t think it has any relevance here - semantically, it is executed on a single thread, which is very different from mult
559.
▲
by
kaba0
3y ago
Async-await is about concurrency, not parallelism. It can work in both a single-threaded and multi-threaded context, the latter exposing all the typical failure modes of multi-threaded code. Also, Rust’s ownership model only prevents data r
560.
▲
by
kaba0
3y ago
It has an open-source format, you can create animations yourself as well. Plus this renderer is literally a desktop app, isn’t it? It is as cross platform as it gets, with this project being the most optimized implementation.
561.
▲
by
kaba0
3y ago
User-mode implementations are very easy to get wrong (you might accidentally call a blocking operation where you shouldn’t), and have indecipherable stack traces. How is Loom’s API bad? It literally reuses basically everything you know abou
562.
▲
by
kaba0
3y ago
There are barely any breaking changes, I could still run a graphical application written by a prof in early 2000s, served on his website as a jar. No other language comes remotely as close to this level of stability. As for the changes in 8
563.
▲
by
kaba0
3y ago
Seems like willful incompetence on the company’s part. Just for note, JDK 8 came from the same time as Windows XP . Sure, the attack surface is different, but if they have no plans on moving forward and doesn’t even want to pay for support
564.
▲
by
kaba0
3y ago
I have never seen anyone use manifold. Are you saying that I should use something like that in a serious production environment over Scala, that is a huge language with people that actually know it? Especially that you call it a dying langu
565.
▲
by
kaba0
3y ago
I doubt Oracle would fix it, as this is definitely a kernel bug that breaks userspace. It is part of the POSIX spec what the JVM relies on, and MacOS is supposedly POSIX-compliant. So it should be Apple that fixed their bug.
566.
▲
by
kaba0
3y ago
One design iteration already has a working, implemented branch available, it’s just one of the hardest designs to get right, to remain backwards compatible, to have it work nice with generics and all the other features, etc. So once they ac
567.
▲
by
kaba0
3y ago
> LLMs can write the code the solve a sudoku It’s literally part of its training data. The same way it knows how to solve leetcode, etc.
568.
▲
by
kaba0
3y ago
Meanwhile I’m paid for editing a single line of code in 2 weeks, and nothing less than singularity will replace me. But sure, call me back when AI will actually reason about possible race conditions, instead of spewing out the definition of
569.
▲
by
kaba0
3y ago
The time my job as a software engineer will be obsoleted by AI is the day singularity happens, and then we will have much much bigger problems. Anything less is just so far from it, that it is a laughable excuse of a code generator.
570.
▲
by
kaba0
3y ago
> The endpoint is that being a programmer becomes as obsolete as being a human "calculator" for a career. Yeah, the same time the singularity happens, and then your smallest problem will be eons bigger than your job. But LLMs c
More ›