Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
destructionator
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
destructionator
4y ago
That approach is a dead end, incapable of doing anything beyond the basics (notably it doesn't compose into structs) and is likely to be abandoned.
62.
▲
by
destructionator
4y ago
Why C / C++? Why not D?
63.
▲
by
destructionator
4y ago
Is this one of the dub hello worlds? Looks like it.... but it also says line 8 and the built in thing doesn't have a line 8. So what is the code there? If it is `assert(0)`, you're seeing the result of the test. The info is a bit
64.
▲
by
destructionator
4y ago
> the community forum is toxic frequently what exactly does this mean?
65.
▲
by
destructionator
4y ago
You know xcb and xlib are just different client libraries for accessing the exact same wire protocol, right? Moreover, notice the example they gave there is atom interning, which is a roundtrip on the wire (though you can batch them even in
66.
▲
by
destructionator
4y ago
> The X11 protocol is very chatty so even very simple things will cause several roundtrips which makes X over the network so painful. This simply isn't true. Some operations require roundtrips, drag and drop comes to mind, but very
67.
▲
by
destructionator
4y ago
> since those protocols do damage detection, only sending updates of what's changed So does X. > and (lossy) compression. This is legitimate though, the X protocol has no support for any kind of bitmap compression and it can some
68.
▲
by
destructionator
4y ago
> After enough time some best practices do solidify into standards, but it wasn’t overnight in X either, and first and foremost it wasn’t made with that in mind. Part of what drives me nuts about Wayland is they could have learned these
69.
▲
by
destructionator
4y ago
Actually a pity it doesn't work on the non-mobile; many of my computers have webcams now and it is kinda convenient to have this (and of course, you ought to always be able to bypass the camera as a user. really perhaps it should be pa
70.
▲
by
destructionator
4y ago
Fully operational. On arm/linux it is trivially easy to use, tends to just work out of the box (ldc offers packaged downloads on their website, gdc is in the Raspbian repository, etc). If you are doing bare metal and/or strictly l
71.
▲
by
destructionator
4y ago
The compile time execution itself is just one piece of the puzzle, the other two being compile time reflection (which I think is actually the key piece) and the built in code generation. Running functions alone is not that interesting, an
72.
▲
by
destructionator
4y ago
The official forums don't actually use vibe.d. vibe has the most marketing out of the D web frameworks, followed by hunt, but there's actually a few more too that just don't get as much attention, despite being older and poss
73.
▲
by
destructionator
5y ago
Compiling firefox is not exactly a trivial process, especially if you want to keep up with updates. And besides, they break something else every other week. I was getting sick of constantly having to fix the userChrome.css too.
74.
▲
by
destructionator
5y ago
> How is that so different from "the best ever" is beyond me. "the best ever" implies it is the best.... ever. Inclusive of all competition. "the best firefox has ever had" limits the comparison to just fire
75.
▲
by
destructionator
5y ago
> Are you using "refresh" very often? Ummm yes? Funny, I just wrote another comment complaining how hitting refresh on a major airline's flight status page is liable to give one of those terrible "something went wrong
76.
▲
by
destructionator
5y ago
Kinda astounding how the firefox v1 was not great but ok, and it got overall worse in literally every redesign since then. v1 remains the best UI firefox has ever had to this day. No wonder they peaked user share early on and have rapidly h
77.
▲
by
destructionator
5y ago
Yeah, I like FF7 a lot, but my view in the 90's was that 3d was ugly and the older games had better graphics. The ff7 backgrounds look a lot better than the characters, and even the FMV sequences still pretty meh if you ask me. I'
78.
▲
by
destructionator
5y ago
> Compiling faster was just a side effect. The location of an import has nothing to do with compilation speed. The only time it would ever make a thing compile faster is if 1) it is local inside a template function, 2) that template is n
79.
▲
by
destructionator
5y ago
It is quite easy to do that with X as well. It doesn't transfer data at all until the clipboard data is requested, and at that point, the clipboard owner knows which window is requesting it and is free to ask the user or deny the reque
80.
▲
by
destructionator
5y ago
Actually, the truth is that Walter is a pretty poor D programmer who isn't that familiar with the language and knows next to nothing about the ecosystem outside dmd. It wouldn't surprise me if he genuinely didn't know about
81.
▲
by
destructionator
5y ago
That's never been a "vs", both work very well.
82.
▲
by
destructionator
5y ago
> Whether items are imported from a module should be left up to the developer and not done on their behalf. Well, the developer wrote `import thing;` instead of either `static import thing;` or `import thing : specific, list;` so it was
83.
▲
by
destructionator
5y ago
Well you can also just call .map if you want. The nice thing about the [] operation is the compiler can optimize it more heavily since it is restricted to simpler instructions.
84.
▲
by
destructionator
5y ago
> Changes too rapidly for libraries to take root. I have code that has worked unmodified for many years. The language doesn't change that often.
85.
▲
by
destructionator
5y ago
They're wrong: the D parts of the compiler were released under the GPL in 2002. What is now called gdc got started shortly thereafter, bolting it on to the gcc backend, creating a fully-GPL D compiler. This is easy to verify by looking
86.
▲
by
destructionator
5y ago
No. betterC is terrible and limits you with no real benefit outside the first few minutes of playing with it. I wish they'd stop advertising it; real D is better in every way. (you can use regular classes with real D with minimal runti
87.
▲
by
destructionator
5y ago
X has had its OpenGL extension available since 1992. Your argument is like saying "Windows 1.0 came out before Direct X even existed, so of course you can't play modern games on Windows 10". As new things came out, they added
88.
▲
by
destructionator
5y ago
> X is still fundamentally an unsychronized protocol Again, factually false. X has various synchronization options from the older double buffer protocol to the XSync extension to the GLX/DRI vsync commands. I've also never see
89.
▲
by
destructionator
5y ago
> Funny thing about that: if you want them to be scaled correctly based on different factors for each monitor, then you need a compositor... No, you don't. And using a naive compositor is liable to make things blurry compared to the
90.
▲
by
destructionator
5y ago
This post is completely false. Literally every word of it is false.
More ›