Hacker Newsnew | past | comments | ask | show | jobs | submit | jamienicol's commentslogin

Surely your criteria should be some combination of the two (plus other factors). C may have fewer footguns than C++, but it still has many, whilst also lacking many useful features


> Surely your criteria should be some combination of the two (plus other factors).

Sure, but the weighting would be different for different people.

> C may have fewer footguns than C++, but it still has many, whilst also lacking many useful features

We are not talking "2 fewer footguns", or "5 fewer footguns"; we are talking "dozens fewer footguns".

When I need a language with more features than C, I don't choose C++, because the choice is not "Use C for simplicity, and use C++ to trade simplicity off against features", it's usually "Use C for simplicity, and use Java/C#/Go/Rust for features".


isolatedProcess is being worked on, for what it's worth: https://bugzilla.mozilla.org/show_bug.cgi?id=1565196


I’m a Mozilla employee who works on Firefox, so I’ll try to answer this to the best of my knowledge but as a disclaimer I can’t guarantee I’m 100% correct

Paying for relay will give money to Mozilla Corporation, the same pot the google money goes into, which will predominantly pay for Firefox development but also other products. The corporation’s profits also fund the non-profit Foundation’s activities.

People often raise this argument regarding donating to the Foundation, as that money will be spent by the foundation, therefore not on Firefox. But a dollar raised by the foundation is a dollar less the corporation has to give the foundation, leaving it with more money to spend on Firefox and other things.

You can also donate directly to “MZLA” which makes thunderbird, and that money will be spent on thunderbird.


The problem many people have with donating to the Mozilla Foundation us them squandering enormous amounts of it. Mostly on things nobody asked for and executive pay.

Personally, I don’t feel like firing Firefox devs and starting controversial and expensive diversity campaigns while raising executive pay when Firefox is losing market share every year is being a great steward.


But I don’t know what the formatter of choice is. Nor do I care what it is. I just want to format my code


Did you consider using wgpu instead of writing a new dx11 renderer? It has metal, vulkan and dx12 backends so could have been used for a single renderer for macOS windows and Linux. (And webgpu in the future)


It does include tags


I am a Firefox developer, and you're spot on. Previously there were separate hg repos for central, beta, release. I think ESRs too. And autoland. Now they're all branches in the same repo, and central is renamed main.

Commits land in autoland and get backed out if they cause test failures. That's merged to main ~twice per day when CI is happy


Thanks for the clarification!

I've mostly encountered these branches/repos when checking commits linked to Bugzilla tickets, and I don't recall seeing "autoland" show up too much in those cases.


That problem is solved by preventing forced pushes. Rewriting history locally is encouraged.


Prevent forced pushes on protected branches (develop, main, hotfix etc.). I don't care if somebody force pushes their private feature branch.


Force pushing onto PR branches is the only way to make the commit history in them sane.

But GH's PR process is broken anyways. I miss Gerritt.


You can not use it. I rarely do, but I love zed, it's fast and the LSP (rust and clangd in my case) just work


Because people are interested in how technology is built, and if they’re interested in rust they might be interested in seeing how it’s used in other projects


sure that "being written in C" or in "PHP" would have gathered far less interest


A GameBoy emulator written in PHP would certainly piqued my interest, but more like a morbid curiosity than anything else. :)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: