HNHacker News
TopNewBestAskShowJobs

surajrmal

2,078 karma · joined October 31, 2017

submissionscomments
surajrmal··on Keep Android Open
The problem with this mentality is that you're not proposing a solution that solves the problem Google and Apple are trying to solve (or are at least stating they are). Rather than just vent about ideals, showing up to the table and listening to the requirements of all stakeholders (even if they differ from yours) will lead to a more productive result. I would not listen to your concerns if you didn't listen to mine.
surajrmal··on Understanding Std:Shared_mutex from C++17
If you want the write to be a synchronization point after which all threads will observe only the new value, it's only possible with shared mutex. Of course you can use a barrier to accomplish that instead but using something like hazard pointers or rcu doesn't synchronize by itself.
surajrmal··on Understanding Std:Shared_mutex from C++17
The implementation for the rust std mutex when targeting fuchsia does implement priority inheritance by default, but the zircon kernel scheduler and futex implementation are written with priority inheritance in mind as the default approach rather than something ad hoc tacked on. Unfortunately on Linux it seems like there is a large performance tradeoff which may not be worthwhile for the common case. It does seem like it would be nice to set an env variable to change the behavior through rather than require a recompile of libstd. A lot of programs use alternatives to the std library as well like parking_lot, which is indeed a pain.

Sometimes I feel like trying to use Linux for realtime is an effort in futility. The ecosystem is optimized for throughput over fairness, predictability, and latency.

surajrmal··on Understanding Std:Shared_mutex from C++17
NP means the API is not portable. There are Linux specific extensions for many things but not everything has it. This is also nothing wrong with needing to use an alternative to the standard library if you have more niche requirements.
surajrmal··on Gemini 3.1 Pro
What does that have to do with what I said? Everyone knows that the companies are operating at a loss right now to capture market share in the hope that it's sticky. Google is losing far less money and will not need to get nearly as extreme with how they try to extra money from the product. That honestly makes me feel better about it's long term prospects. And who knows, maybe local llms will prevent it from getting truly bad anyways. Competition tends to keep product quality high.
surajrmal··on Keep Android Open
Under what law is that a legal or ethical thing to do? Why not suggest ios be taken away from Apple as well and windows from Microsoft?
surajrmal··on Defer available in gcc and clang
In many cases that's preferred as you want the ability to cancel the deferred lambda.
surajrmal··on Gemini 3.1 Pro
I think you are underestimating how much cheaper it is for Google to run the workloads compared to competitors. The hardware advantage is real.
surajrmal··on OpenAI should build Slack
The current chat app is decidedly the victor. It's been around since 2021 and there is no sign of a replacement. Google messages remains separate for person chat, but arguably texting and work chats occupy different spaces, just as Whatsapp and Slack do. Folks joke about chat features also making their way into YouTube and Google Photos, but the fact they are not forcing you into the other chat ecosystems is something a lot of users strongly prefer. The 2010s was definitely an awkward period for Google but arguably that was just watching them fumble through social via Google+ and everything else was a reaction to that. 2020s has been a lot more focused with strategy actually focusing on existing products instead of spinning up new ones (outside of AI)
surajrmal··on OpenAI should build Slack
I wouldn't say most. Google is known for constantly iterating on its code internally to the point of not getting anything done other than code churn. While there is use of raw pointers, I'd argue it's idiomatic to still use raw pointers in c++ for non owning references that are well scoped. Using shared pointers everywhere can be overkill. That doesn't mean the codebase is pre c++11 in style.

Rewriting a codebase in another language that has no good interop is rarely a good idea. The need to replicate multiple versions of each internal library can become incredibly taxing. Migrations need to be low risk at Google scale and if you can't do it piecewise it's often not worth attempting either. Also worth noting that java is just as prevelant if not moreso in core products.

surajrmal··on IBM tripling entry-level jobs after finding the limits of AI adoption
Technologies entire job is to make it less work to accomplish something and therefore easier and cheaper. In some cases that will make it possible to do things you couldn't do before but in many cases it'll just end up causing the value of said labor to fall. The problem isn't change, but the rate of change and the fact it's affecting our own field rather than someone else's.
surajrmal··on Beginning fully autonomous operations with the 6th-generation Waymo driver
You are either intentionally lying or very confident about facts you don't know. Could you please source your numbers?
surajrmal··on Gemini 3 Deep Think
Anti Google comments do pretty well on average. It's a popular sentiment. However, low effort comments don't.
surajrmal··on Fluorite – A console-grade game engine fully integrated with Flutter
Google is still investing heavily in flutter. Not sure why folks would move to Toyota.
surajrmal··on Fluorite – A console-grade game engine fully integrated with Flutter
Who said flutter is dying? It's more popular than ever.
surajrmal··on Fluorite – A console-grade game engine fully integrated with Flutter
Tech is becoming front and center to car sales. Adopting newer technologies is probably seen as a necessary risk to stay competitive.
surajrmal··on Oxide raises $200M Series C
It's best to avoid idolizing folks. It can give you a skewed set of expectations and lead you to resent them when inevitably they cannot live up those those expectations (which is unfair to them), and possibly lower your own self esteem if you cannot meet those same standards yourself.
surajrmal··on Why E cores make Apple silicon fast
Being explicit is a good thing. Especially for async threads they may handle work for many different clients with different priorities and may delegate work to other processes.
surajrmal··on Why E cores make Apple silicon fast
This is also how binder works in android.
surajrmal··on AI makes the easy part easier and the hard part harder
I find that I vastly prefer Gemini CLI to antigravity, despite the latter being an ide. Others feel the opposite. I believe it comes down to how you are using AI. It's great they both options exist for both types of people.
surajrmal··on LLMs as the new high level language
Note that a lot of people also still work in C.
surajrmal··on DoNotNotify is now Open Source
I wish app review checked for this. It's hostile anti user behavior.
surajrmal··on Google staff call for firm to cut ties with ICE
They only did that to employees who performed an occupation of some cloud exec offices. That's not quite the same as signing a petition and equating them is silly. I'm not trying to justify what happened, but I can at least appreciate why that might cross a line too far.
surajrmal··on Why I Joined OpenAI
Humans are complex and have multiple sources of motivation. You don't know whether he took the offer with the highest pay. He's likely wealthy enough that he can pay less attention to his income and focus on his other sources of motivation if he wants to. That's not to say pay is not a factor in his choice, but it need not be the only or primary one. This is a luxury of the privileged for sure, which can make it difficult to relate to.
surajrmal··on Why I Joined OpenAI
No single person other than Sam Altman can stop them from using anonymized interactions for training and metrics. At least in the consumer tiers.
surajrmal··on Todd C. Miller – Sudo maintainer for over 30 years
I really prefer the design of run0.
surajrmal··on VisualJJ – Jujutsu in Visual Studio Code
Git makes certain workflows more difficult than they could be. Using a different tool that makes you feel more productive is generally nice.
surajrmal··on Apple Platform Security (Jan 2026) [pdf]
I know this argument is used a lot, but it it really doesn't make sense to me. A government is expected to give you reasonable accommodation, but it's not their duty to let you run their software via a means they don't trust. It's convenient to use their app, but again not required.

Having controls is part of participating in society. I don't believe you should be able to make large transactions in total anonymity either. It's robbing you of a freedom, but society has deemed it a worthwhile tradeoff for preventing crime via money laundering and what not.

surajrmal··on VisualJJ – Jujutsu in Visual Studio Code
Fair point, I thought it had been eliminated, but apparently that is pending the adoption of the project by a foundation such as Apache or the Linux foundation.
surajrmal··on Notepad++ hijacked by state-sponsored actors
This is a very head in the sand approach to life that only those who are entitled may partake in. Reality is that most cannot live in ignorance of what is happening around them because it is also happening to them. Obviously not everything needs to remind you of stressful reality, but we also shouldn't avoid reality just because we are privileged enough to do so.
← PreviousPage 9 of 34Next →