Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fooker
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
631.
▲
by
fooker
9mo ago
> The bugs that actually bite you are almost always logical Exactly right! I would bet that the more time you spend fighting the programming language and compiler, the less you are thinking about complex logic.
632.
▲
by
fooker
9mo ago
> My experience has been the exact opposite Okay, can you try and find a relatively modern large open source C++ codebase that actively uses raw threads?
633.
▲
by
fooker
9mo ago
IOS and related codebases at Apple are not using raw threads unless unavoidable.
634.
▲
by
fooker
9mo ago
Yes, walking is perhaps the primary factor here. I have heard of people trying this sort of backpacking in Europe and South America but it seems to have involved a lot more planning than what you can get away with in the Himalayas.
635.
▲
by
fooker
9mo ago
Nepal, Bhutan and most of the Indian states with the Himalayan mountains have a very similar population density.
636.
▲
by
fooker
9mo ago
If I’m a glass enthusiast or glass-filling-liquid enthusiast, sure if the alternative is those things not existing!
637.
▲
by
fooker
9mo ago
American foreign policy has been remarkably consistent over the last several decades. Sometimes it’s the carrot and sometimes it’s the stick but the policies remain the same.
638.
▲
by
fooker
9mo ago
> Some quibbles Two wars.
639.
▲
by
fooker
9mo ago
> And let’s be real, “car enthusiasts” are going to disappear in one or two generations. Not sure if you have realized this, but we have a pretty decent numbers of horse enthusiasts now.
640.
▲
by
fooker
9mo ago
> this seems somewhat unlikely to me. Rust is literally the fast stab at making a memory safe systems language. Do you really think we are never going to be able to design a better one?
641.
▲
by
fooker
9mo ago
Thread safety has not usually been a concern because it’s pretty rare to use raw threads in C++. Rust folks always seem to assume people write C++ like it is 1995. > implied by you questioning whether it bought any meaningful performance
642.
▲
by
fooker
9mo ago
Not just guesthouses though, it’s pretty easy to find a place to sleep in small villages. The word for it is ‘home-stay’, there are a few houses in every village that are set up to accommodate guests for a very reasonable amount of money. A
643.
▲
by
fooker
9mo ago
Yes Of course if you go completely off-trail for days all bets are off.
644.
▲
by
fooker
9mo ago
This is main difference between backpacking in the US vs backpacking in India/Nepal/Bhutan. You just pack clothes, no matter how remote your destination is, there’s going to be food and shelter available every 6-8hours.
645.
▲
by
fooker
9mo ago
> There's no point in hoping that somehow Programming Languages will overturn Mathematics. Maybe you misunderstood my point? Getting rust to a more complete state would be overturning mathematics here, as you note you can’t have bot
646.
▲
by
fooker
9mo ago
You’re right. That’s not what my point was about though.
647.
▲
by
fooker
9mo ago
Great, how much faster was this multithreaded version for a real use case?
648.
▲
by
fooker
9mo ago
> Choosing "All correct programs compile" (the other option was "No incorrect programs compile", you can't have both … This is really the important distinction between C++ and Rust. In my opinion, it seems easier
649.
▲
by
fooker
9mo ago
Safe threading sounds great, as long as the language gets out of my way when I absolutely do not care about safe threading. I write compilers (and have contributed to the Rust compiler!), and there has been approximately zero times in twent
650.
▲
by
fooker
9mo ago
None of these have anything to do to do with memory layout or how data is formatted in the memory. You are arguing a different point than the one being discussed here. These are fundamentally hacks around the compiler’s inability to underst
651.
▲
by
fooker
9mo ago
> But I could easily see a future where C++ is relegated to legacy language status. Yes, agreed. My prediction is that the replacement is a friendly language that makes Rust's ideas ergonomic to use.
652.
▲
by
fooker
9mo ago
Reminds me of “A monad is a monoid in the category of endofunctors, what's the problem?” As you write this, do you not start to see why this would be confusing? Yes, C++ is pretty bad at this too. The fact that these exist and the prog
653.
▲
by
fooker
9mo ago
Great, if you are right everyone is going to be using Rust eventually. I like the concepts proposed by Rust but do not like fighting with the borrow checker or sprinkling code with box, ref, cell, rc, refcell, etc. At some point there’s goi
654.
▲
by
fooker
9mo ago
> the economics never works out if you do the math The economics work out pretty well if you are the only game in town where your employees can purchase what you have marketed to be the next big thing and status symbol that everyone mus
655.
▲
by
fooker
9mo ago
I predict the cloud providers survive.
656.
▲
by
fooker
9mo ago
What has Rome ever done for us?
657.
▲
by
fooker
9mo ago
I am going to find this irony hilarious for eternity. Cars are cheaper and better outside America, the so called car capital of the world. Go to one of these SoCal car conventions, it’s amazing how all the car reviewers go wide eyed at the
658.
▲
by
fooker
9mo ago
Your story makes the point that the nonprofit app only worked under new government regulations and could not survive in the free market? I do think more infrastructure should be non-profit, but if someone makes a for-profit version that bea
659.
▲
by
fooker
10mo ago
I had to implement system calls in xv6. You can look up which top tier schools use it for OS classes.
660.
▲
by
fooker
10mo ago
At some point you run out of other people’s money and have bread lines.
More ›