Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gcp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
391.
▲
by
gcp
10y ago
WebCL is dead AFAIK. None of the browser vendors is interested in it. They'd rather have compute shaders from OpenGL 3.2 in WebGL. Note that on desktop, OpenCL is dead for NVIDIA too (they've been stuck on 1.2 for ages, they remov
392.
▲
by
gcp
10y ago
GTK is a painfull to install. Also pretty bad on Windows AFAIK? My personal wish would be for an easy way to use Servo to render the UI.
393.
▲
by
gcp
10y ago
In MSVC6 days yes. But in 2015 or later? The built in stuff has gotten really good.
394.
▲
by
gcp
10y ago
The cost of bounds checking is very manageable with modern CPUs and compilers. (I guess the bounds checks execute in parallel with the cache lookup into the array). Firefox now uses it in release builds (for vector-like objects) for securit
395.
▲
by
gcp
10y ago
This doesn't even address the problem at all: you still have to deal with the non-C++11 code to write the facade (and fix bugs in the underlying code).
396.
▲
by
gcp
10y ago
You want std::vector::emplace_back. I think technically you could use unique_ptr and transfer ownership (move) when pushing into the vector, but the underlying "bad pattern" here is that you almost never want to have a vector of (
397.
▲
by
gcp
10y ago
Which one? C++98? C++11? C++14? C++17? Or (hahahah!) Symbian C++? Ah, I see, you meant C++11-without-thread_local-because-CUDA-requires-an-older-XCode. Got it!
398.
▲
by
gcp
10y ago
We tended to use libraries or external dependencies, too. (And when that was out of the question, C++11 and later usually were as well)
399.
▲
by
gcp
10y ago
I put the distinction at "more than 1" because that's the point where you need to deal with code that isn't your own. (In theory of course your buddy could use a style and feature-set really close to your own and make it
400.
▲
by
gcp
10y ago
I'd rather debug some 90's C++ than someones' template meta-programming gone wrong, though.
401.
▲
by
gcp
10y ago
Most projects with any user base provide ready binaries which able to get going pretty fast. But what about the dependencies of those binaries/libraries? Manually playing that cat and mouse game just sucks.
402.
▲
by
gcp
10y ago
I think if you took modern C++ (no raw pointer manipulation) and combined it with a good package manager, I think you would pretty much erase any advantages Rust offers. I've seen this opinion now twice in short succession on HN. Iss
403.
▲
by
gcp
10y ago
Any sufficiently large project that pulls in dependencies will likely involve you dealing with all 4 of them. This is one reason why I doubt adding more features to C++ (making it 5) is going to make the language any more pleasant to use
404.
▲
by
gcp
10y ago
I fear Rust may be going down the C++/Boost template metaprogramming rathole. From that C++ thread on HN right now: https://news.ycombinator.com/item?id=13584167 https://news.ycombinator.com/item?id=1
405.
▲
by
gcp
10y ago
There's a Rust plugin for it. I don't use it though, I use Visual Studio Code as regular Visual Studio won't work on Mac or Linux. It also depends a bit on why you like Visual Studio. Because it has one of the best Intellisen
406.
▲
by
gcp
10y ago
Given the number of Rust developers reading this, it's probably going to be very helpful for them if you can describe what you actually got hung up on.
407.
▲
by
gcp
10y ago
I'm not sure. I'm tempted to say I'm about as productive (in orders of magnitude) in any language that I'm very familiar with and has a large enough "batteries included" component (yes, crates would count, as d
408.
▲
by
gcp
10y ago
You can get early access to it via various places, e.g. http://shop.oreilly.com/product/0636920040385.do
409.
▲
by
gcp
10y ago
RUSTYCODE IS DEAD. I wish more people knew this, because it's probably the thing most people try to install as it has the most downloads. It's no longer maintained and doesn't work correctly with current stable. There's
410.
▲
by
gcp
10y ago
There's several external books. I started from this one (via Safari): https://www.amazon.com/Programming-Rust-Fast-Systems-Develop...
411.
▲
by
gcp
10y ago
Gah, another one of those promotional posts about Rust. More seriously, the large enough Noto Sans font with a hint of extra weight renders so gorgeous in Firefox (it's even bearable in Chrome!). I wish all webpages were as readable. A
412.
▲
by
gcp
10y ago
VLA allows for run-time size determination, not compile time
413.
▲
by
gcp
10y ago
Look in about:crashes, you can click the links and see if there is already a bug filed for it. Given that you're on release and this is a Google blog rather than an obscure site, it's unlikely to be a problem in Firefox itself. Ch
414.
▲
by
gcp
10y ago
Quite a few of the companies on the list are among the highest payers in the USA.
415.
▲
by
gcp
10y ago
It isn't so hot with mp4 tags though. What do you mean exactly? mp4 tags in all variations, including various iTunes oddities, are fully supported.
416.
▲
by
gcp
10y ago
I killed the foobar2000 task after waiting for several minutes. You should've gotten a progress dialog, very briefly, because the process is quite fast. Did that step just take a while due to a slow disk, or did it hang? foobar2000
417.
▲
by
gcp
10y ago
As the other poster said, any NVIDIA GPU would do. You probably want the latest architecture (Pascal), and check what PSU you have and what PCIe power options it has. Depending on that (no PCIe power, single 6 pin, dual 8 pin, ...) you can
418.
▲
by
gcp
10y ago
Vulkan leverages the compiler in the graphics drivers, like OpenCL. CUDA comes with a separate compiler that plugs into the system C/C++ compiler (this is often a pain). CUDA also ships with dozens of premade libraries for common compu
419.
▲
by
gcp
10y ago
I've had audio problems with OSS and ALSA too, in the past. Mostly with ALSA. Overall, PA is an improvement over those, but of course every change can bring new breakage, which was the original point.
420.
▲
by
gcp
10y ago
http://www.spiegel.de/international/europe/brother-of-belgia... The news articles I'm reading now have corrected their origin from Iranian to Moroccan, it seems.
More ›